[Rspec-devel] Runners and compatibility
aslak hellesoy
aslak.hellesoy at gmail.com
Thu Jun 8 10:14:04 EDT 2006
On 6/8/06, Evgeny <evgeny.zislis at gmail.com> wrote:
> Greetings All,
>
>
>
> Is there some way to use the Test::Unit runner that exists for eclipse
> (or for any other platform for that matter, like Gtk/Qt/etc..) and
> magick rspec to run with that?
>
Unfortunately not at the moment.
RSpec's spec commandline interface is different from Test::Unit's, and
so is the output format. (RSpec tweaks backtraces to make them more
human-readable, and this might confuse a program parsing it - such as
the eclipse runner). I'm not familiar with the eclipse runner's
internals though.
If someone wants to develop a Test::Unit wrapper it would be great.
This would consist of:
1) A secondary commandline with an interface similar to Test::Unit's
2) Any tweaks necessary to provide output similar to Test::Unit's
Point 2 *might* require us to develop a plugin interface similar to
Test::Unit's plugin interface. Something that allows RSpec to use
drop-in implementations of Test::Unit::UI::Console::TestRunner =>
http://www.ruby-doc.org/stdlib/libdoc/test/unit/rdoc/classes/Test/Unit/UI/Console/TestRunner.html
Aslak
> and if not - is there a plan to do an eclipse runner, any is there
> someone working on it somewhere?
>
We don't really make a lot of plans - we develop new features as we
need them (we meaning the RSpec team). We'd be happy to accept patches
though.
Aslak
>
>
> Regards,
>
> Evgeny.
> _______________________________________________
> Rspec-devel mailing list
> Rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
More information about the Rspec-devel
mailing list