Test::Unit problem (via Rubicon, 1.7.3, Win98)

Nathaniel, Dave, whoever cares:

Tried running Rubicon on Win98 with Ruby 1.7.3
and Test::Unit 0.1.6 – it crashes (see below).

Cheers,
Hal

TestTime: C:/RUBY173/lib/ruby/site_ruby/1.7/test/unit/testsuite.rb:46:in
size': undefined methodeach’ for nil (NoMethodError)
from C:/RUBY173/lib/ruby/site_ruby/1.7/test/unit/testsuite.rb:46:in size' from C:/RUBY173/lib/ruby/site_ruby/1.7/test/unit/testsuite.rb:46:ineach’
from C:/RUBY173/lib/ruby/site_ruby/1.7/test/unit/testsuite.rb:46:in size' from C:/RUBY173/lib/ruby/site_ruby/1.7/test/unit/ui/testrunnermediator.rb:43:inrun_suite’
from
C:/RUBY173/lib/ruby/site_ruby/1.7/test/unit/ui/console/testrunner.rb:66:in
start_mediator' from C:/RUBY173/lib/ruby/site_ruby/1.7/test/unit/ui/console/testrunner.rb:45:instart’
from C:/RUBY173/lib/ruby/site_ruby/1.7/runit/cui/testrunner.rb:24:in run' from ./rubicon_tests.rb:379:inrun’
from ./rubicon_tests.rb:370:in each' from ./rubicon_tests.rb:370:inrun’
from alltests.rb:28

Nathaniel, Dave, whoever cares:

Actually, I’ve been messing with Rubicon under Test::Unit lately, too,
using it to drive some features that need doing, and to figure out what
needs to happen to convert Rubicon over to native Test::Unit.

Tried running Rubicon on Win98 with Ruby 1.7.3
and Test::Unit 0.1.6 – it crashes (see below).

Are you running under ruby.exe or rubyw.exe? I’m seeing the same problem
(but for TestFileTest) when running it under rubyw, and I can’t for the
life of me figure out what is going on. It appears that the #size method
of TestSuite is getting called within the context of one of the
TestCase’s in the suite, but I can’t figure out for the life of me how
or why that’s happening. If anybody has any other ideas about what might
be going on, I’m all ears.

It only appears to happen on 1.7.3, BTW… not 1.6.7.

Nathaniel

<:((><

···

Hal E. Fulton [mailto:hal9000@hypermetrics.com] wrote:

RoleModel Software, Inc.
EQUIP VI