[rspec-devel] rspec runner for eclipse
dan at tastapod.com
Mon Jun 4 10:54:50 EDT 2007
I think that would be really sweet.
I currently run my "daddy" behaviour file - usually called examples.rb -
as a ruby program. Eclipse makes the path names in the stack trace
clickable so I can navigate to the source, but a test::unit style plugin
would be great.
Raymond Barlow wrote:
> Hi guys,
> I'm looking at writing an rspec runner for eclipse like the jUnit and
> ruby's TestUnit plugins. I think this would get rspec used a lot more.
> To do this, I'm going to use jRuby to start a ruby script that kicks off
> the rspec tests. I've written a custom BehaviourRunner that basically
> substitutes the @options.report for my own version. This way I can see
> when the tests are starting, stopping, passing, not passing etc. The
> ruby code will call back to the Java runner and communicate with an
> But, my current problem is this: How do you start an rspec test in Ruby?
> i.e. not from the command line? I've been using this command line to
> workout where in the ruby code to do the Java callbacks:
> spec --require j_behaviour_runner.rb --runner JBehaviourRunner
> and now I need to do this in a ruby script so that I can start it from
> Oh, and one last (stupid!) question--is there already an eclipse runner
> out there?
> Raymond Barlow
> rspec-devel mailing list
> rspec-devel at rubyforge.org
More information about the rspec-devel