| View previous topic :: View next topic |
| Author |
Message |
fluke030
Joined: 19 Dec 2008 Posts: 3
|
Posted: Fri Dec 19, 2008 5:28 pm Post subject: NB 6.5 test runner not detecting specs |
|
|
Hello,
I just installed 6.5 today. Yesterday the specs ran under autotest in 6.1. This morning, when I start autotest, I get the message that no tests executed in the results window. I get this message in the pane.
| Code: | C:\Program Files\NetBeans 6.5\ruby2\nb_autotest_loader.rb:61: warning: discarding old old_rspec_mtc
C:\Program Files\NetBeans 6.5\ruby2\nb_autotest_loader.rb:68: warning: method redefined; discarding old hook
C:\Program Files\NetBeans 6.5\ruby2\nb_autotest_loader.rb:65:in `make_test_cmd': undefined local variable or method `spec_command' for #<Autotest::RailsRspec:0x4031958> (NameError)
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:246:in `run_tests'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:231:in `get_to_green'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:211:in `run'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:209:in `loop'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:209:in `run'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:139:in `run'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/bin/autotest:55
from C:/ruby/bin/autotest:20:in `load'
from C:/ruby/bin/autotest:20
Finished in 0.0 seconds.
0 tests, 0 failures, 0 errors
|
What do I need to do to get autotest back? |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Fri Dec 19, 2008 5:45 pm Post subject: NB 6.5 test runner not detecting specs |
|
|
Hi,
Seems like you're running into
http://www.netbeans.org/issues/show_bug.cgi?id=154313. There is a patch
in the issue that you might try, although it fixes it only partially. An
older version of RSpec should work, in case downgrading is an option for
you. I'll try to come up with a fix for this after the Christmas holidays.
Erno
fluke030 wrote:
| Quote: | Hello,
I just installed 6.5 today. Yesterday the specs ran under autotest in 6.1. This morning, when I start autotest, I get the message that no tests executed in the results window. I get this message in the pane.
Code:
C:\Program Files\NetBeans 6.5\ruby2\nb_autotest_loader.rb:61: warning: discarding old old_rspec_mtc
C:\Program Files\NetBeans 6.5\ruby2\nb_autotest_loader.rb:68: warning: method redefined; discarding old hook
C:\Program Files\NetBeans 6.5\ruby2\nb_autotest_loader.rb:65:in `make_test_cmd': undefined local variable or method `spec_command' for #<Autotest::RailsRspec:0x4031958> (NameError)
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:246:in `run_tests'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:231:in `get_to_green'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:211:in `run'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:209:in `loop'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:209:in `run'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/lib/autotest.rb:139:in `run'
from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.11.0/bin/autotest:55
from C:/ruby/bin/autotest:20:in `load'
from C:/ruby/bin/autotest:20
Finished in 0.0 seconds.
0 tests, 0 failures, 0 errors
What do I need to do to get autotest back?
|
|
|
| Back to top |
|
 |
fluke030
Joined: 19 Dec 2008 Posts: 3
|
Posted: Fri Dec 19, 2008 6:37 pm Post subject: |
|
|
| I got autotest to start but it doesn't seem to pick up the changes afterwards. Thanks, but I'm going back to 6.1 until this issue is fixed. |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Fri Dec 19, 2008 7:10 pm Post subject: NB 6.5 test runner not detecting specs |
|
|
fluke030 wrote:
| Quote: | I got autotest to start but it doesn't seem to pick up the changes afterwards. Thanks, but I'm going back to 6.1 until this issue is fixed.
|
OK, you might want to add yourself to CC in the issue to get notified
when it gets fixed. FWIW, we are discussing with the RSpec guys how to
make the integration more robust across different versions of RSpec, so
hopefully we'll get rid of these kind of problems.
Erno |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|