Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Running Ruby Test::Unit scripts(Failing to run a Test::Unit script with Run as .. Ruby test)
Running Ruby Test::Unit scripts [message #543261] Mon, 28 June 2010 20:39 Go to next message
Ian Dickinson is currently offline Ian DickinsonFriend
Messages: 7
Registered: July 2009
Junior Member
I'm trying to run a simple Ruby Test::Unit script under DLTK. When I run the script using 'Run as ...' > 'Ruby test' I get:

Quote:
/home/ian/dev/java/eclipse-galileo-64-sr-1/configuration/org .eclipse.osgi/bundles/1079/1/.cp/testing/dltk-testunit-runne r.rb:252:in `block in <top (required)>': uninitialized constant Test::Unit::UI::SILENT (NameError)


I'm running on Ubuntu 10.04 64 bit, with Eclipse Build id: 20100218-1602, DLTK 2.0 and ruby 1.9.1. I just did the upgrade to DLTK 2.0, running tests wasn't working before the upgrade either so it's not an issue with the 2.0 update. Any suggestions?

Thanks,
Ian
Re: Running Ruby Test::Unit scripts [message #543296 is a reply to message #543261] Tue, 29 June 2010 01:11 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex PanchenkoFriend
Messages: 342
Registered: July 2009
Senior Member
Hi Ian,

Could you please check the version of Test::Unit gem? Probably something was changed in it recently and DLTK scripts were not updated accordingly as nobody reported it.

I'll fix the issue if I can reproduce it.

Thank you,
Alex
Re: Running Ruby Test::Unit scripts [message #543333 is a reply to message #543296] Tue, 29 June 2010 07:34 Go to previous message
Ian Dickinson is currently offline Ian DickinsonFriend
Messages: 7
Registered: July 2009
Junior Member
Hi Alex,
This is what I have:

Quote:
ian@rowan-15 $ gem list --local | grep test
test-unit (2.0.9)
test-unit-full (0.0.1)
test-unit-runner-fox (0.0.1)
test-unit-runner-gtk2 (0.0.1)
test-unit-runner-tk (0.0.1)
ian@rowan-15 $



Thanks,
Ian
Previous Topic:Final Version
Next Topic:Eclipse 3.6
Goto Forum:
  


Current Time: Thu Apr 18 02:39:53 GMT 2024

Powered by FUDForum. Page generated in 0.02810 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top