NetBeans 6.7.1 and rake test:units

View: New views
3 Messages — Rating Filter:   Alert me  

NetBeans 6.7.1 and rake test:units

by Kylo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,



I have Ruby 1.9.1 (2009-07-16 patchlevel 243)[i686-linux] installed with rake 0.8.7 and I'm using this platform for developivng some project.



When I run Rake task test:units using menu 'Run/Debug Rake Task' i get message:


Code:
Finished in 0.0 seconds.

0 tests, 0 failures, 0 errors

/home/krzysztof/netbeans-6.7.1/ruby2/nb_test_runner.rb:41:in `require': no such file to load -- test/unit/testsuite (LoadError)

        from /home/krzysztof/netbeans-6.7.1/ruby2/nb_test_runner.rb:41:in `<top (required)>'

        from /usr/local/bin/ruby:0:in `require'





It seems that NetBeans is using rake from netbeans-6.7.1/ruby2.

How can I fix this behavior?






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: NetBeans 6.7.1 and rake test:units

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

I think you need to install the classic test-unit gem on 1.9.1 to make
this work -- I'm not sure about the correct version right now, the
latest version might not work. I'll give this a try, I just need to sort
out some conf issues I'm having with my 1.9 installation first.

Erno

Kylo wrote:

> Hi,
>
>
>
> I have Ruby 1.9.1 (2009-07-16 patchlevel 243)[i686-linux] installed with rake 0.8.7 and I'm using this platform for developivng some project.
>
>
>
> When I run Rake task test:units using menu 'Run/Debug Rake Task' i get message:
>
>
> Code:
> Finished in 0.0 seconds.
>
> 0 tests, 0 failures, 0 errors
>
> /home/krzysztof/netbeans-6.7.1/ruby2/nb_test_runner.rb:41:in `require': no such file to load -- test/unit/testsuite (LoadError)
>
>         from /home/krzysztof/netbeans-6.7.1/ruby2/nb_test_runner.rb:41:in `<top (required)>'
>
>         from /usr/local/bin/ruby:0:in `require'
>
>
>
>
>
> It seems that NetBeans is using rake from netbeans-6.7.1/ruby2.
>
> How can I fix this behavior?
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


NetBeans 6.7.1 and rake test:units

by Kylo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


It works perfectly :)



Thank you.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...