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 _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users