« Return to Thread: Tests all error after upgrading to 6.5 beta

Re: Tests all error after upgrading to 6.5 beta

by Chris Nelson-5 :: Rate this Message:

Reply to Author | View in Thread

The same tests run fine under command line and from emacs, so it
something specific to the way NetBeans is running them it appears.
I'll let you know if the new build helps.

On Fri, Oct 10, 2008 at 11:44 AM, Erno Mononen <Erno.Mononen@...> wrote:

> OK, let us know whether that helped. If the problem persists, could you try
> running 'rake test' both from the IDE and command line (with the same ruby
> platform of course) and see whether the problem exists only in the IDE?
>
> I googled a bit and found the following posts on the same problem, might be
> of help to you:
>
> http://1000fires.com/wordpress/?p=21
> http://www.ruby-forum.com/topic/148651
>
> Erno
>
> Chris Nelson wrote:
>>
>> I tried running them using Test File and Run Focused Test (not from
>> rake).  I'll try with the latest build as well.
>>
>> --Chris
>>
>> On Fri, Oct 10, 2008 at 3:36 AM, Erno Mononen <Erno.Mononen@...>
>> wrote:
>>
>>>
>>> Hi Chris,
>>>
>>> Chris Nelson wrote:
>>>
>>>>
>>>> I have an existing Rails project where tests pass fine on the command
>>>> line, but from inside NetBeans they all fail with an error in
>>>> create_fixtures, even though this test doesn't use any fixtures at
>>>> all.  I was developing this project and running test cases just find
>>>> in NB 6.1.  Here is a sample stack trace:
>>>>
>>>>
>>>
>>> How do you run the test from the IDE, i.e. by using the Test action or by
>>> running a rake task? If the latter, which rake task? Also, could you
>>> please
>>> try the latest dev build and see if the issue exists there too
>>>
>>> (http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-HowDoIGetTheContinuousBuilds).
>>>
>>> Thanks,
>>> Erno
>>>
>>>
>>>>
>>>> 4) Error:
>>>>
>>>>
>>>> test_select_date_with_invalid_date(RecordForeignReprescribeControllerTest):
>>>> ArgumentError: interning empty string
>>>>
>>>>
>>>> /Users/superchris/dev/medwiz/medwiz/delanor/development/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:251:in
>>>> `to_sym'
>>>>
>>>>
>>>> /Users/superchris/dev/medwiz/medwiz/delanor/development/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:251:in
>>>> `create_fixtures'
>>>>
>>>>
>>>> /Users/superchris/dev/medwiz/medwiz/delanor/development/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:250:in
>>>> `map'
>>>>
>>>>
>>>> /Users/superchris/dev/medwiz/medwiz/delanor/development/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:250:in
>>>> `create_fixtures'
>>>>
>>>>
>>>> /Users/superchris/dev/medwiz/medwiz/delanor/development/config/../vendor/rails/activerecord/lib/active_record/base.rb:867:in
>>>> `silence'
>>>>
>>>>
>>>> /Users/superchris/dev/medwiz/medwiz/delanor/development/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:248:in
>>>> `create_fixtures'
>>>>
>>>>
>>>> /Users/superchris/dev/medwiz/medwiz/delanor/development/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:593:in
>>>> `load_fixtures'
>>>>
>>>>
>>>> /Users/superchris/dev/medwiz/medwiz/delanor/development/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:547:in
>>>> `setup_with_fixtures'
>>>>
>>>>
>>>> /Users/superchris/dev/medwiz/medwiz/delanor/development/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:575:in
>>>> `setup'
>>>>
>>>>
>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testcase.rb:77:in
>>>> `unlogged_run'
>>>>
>>>>
>>>> /Users/superchris/dev/medwiz/medwiz/delanor/development/test/functional/../test_helper.rb:72:in
>>>> `run'
>>>>
>>>>
>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in
>>>> `run'
>>>>
>>>>
>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in
>>>> `each'
>>>>
>>>>
>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in
>>>> `run'
>>>>
>>>>
>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in
>>>> `run_suite'
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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@...
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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@...
>
>

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

 « Return to Thread: Tests all error after upgrading to 6.5 beta