Pablo Cantero
2011-Apr-28 18:33 UTC
[rspec-users] How can I execute rspec directly from ruby code?
Hi Can I execute rspec directly from ruby code? I would like to do it similar I can do using Test::Unit Test::Unit::UI::Console::TestRunner.run(MySuite.new(MyTestCase)) I was looking on internet how to execute it, but I wasn''t found it Is it possible? Best, Pablo Cantero -- Posted via http://www.ruby-forum.com/.
Pablo Cantero
2011-Apr-29 13:39 UTC
[rspec-users] How can I execute rspec directly from ruby code?
Hi Can I execute rspec directly from ruby code? I would like to do it similar I can do using Test::Unit Test::Unit::UI::Console::TestRunner.run(MySuite.new(MyTestCase)) I was looking on internet how to execute it, but I wasn''t found it Is it possible? Best, Pablo Cantero
David Chelimsky
2011-May-03 03:45 UTC
[rspec-users] How can I execute rspec directly from ruby code?
On Apr 28, 2011, at 1:33 PM, Pablo Cantero wrote:> Hi > > Can I execute rspec directly from ruby code? I would like to do it > similar I can do using Test::Unit > > Test::Unit::UI::Console::TestRunner.run(MySuite.new(MyTestCase)) > > I was looking on internet how to execute it, but I wasn''t found it > > Is it possible?Not today. There are some hax you can do, but there is nothing supported. Please file a feature request at http://github.com/rspec/rspec-core/issues if you''d like to see it considered for a future release. Cheers, David
Pablo Cantero
2011-May-03 19:05 UTC
[rspec-users] How can I execute rspec directly from ruby code?
Hi Thanks for the reply! I created the feature request ;) https://github.com/rspec/rspec-core/issues/359>> There are some hax you can doThere are way to execute? How can I do it? Best, Pablo Cantero -- Posted via http://www.ruby-forum.com/.