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
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
Issues · rspec/rspec-core · GitHub if you’d like to see it
considered for a future release.
Cheers,
David
Hi
Thanks for the reply!
I created the feature request
opened 07:01PM - 03 May 11 UTC
closed 12:25AM - 08 May 11 UTC
This Feature Request is related to this post http://www.ruby-forum.com/topic/159… 7560
I would like to execute rspec directly from ruby code.
Maybe something similar to `Test::Unit`:
``` ruby
Test::Unit::UI::Console::TestRunner.run(MySuite.new(MyTestCase))
```
There are some hax you can do
There are way to execute? How can I do it?
Best,
Pablo Cantero