[Ironruby-core] No tests were specified

Mohammad Azam lists at ruby-forum.com
Mon Jul 6 12:47:14 EDT 2009


not sure why I am getting the following error when running the tests:


C:\Projects\FirstLookAtIronRuby\FirstLookAtIronRuby\TestSuite>ir
test_customer.r
b
Loaded suite test_customer
Started
F
Finished in 0.3125 seconds.

  1) Failure:
default_test(Test_Customer)
    [c:/ironruby/ironruby/Merlin/Main/Languages/Ruby/libs/test/unit/testcase.rb:
110:in `default_test'
     c:/ironruby/ironruby/Merlin/Main/Languages/Ruby/libs/test/unit/testcase.rb:
79:in `run'
     C:\ironruby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Bu
iltins\KernelOps.cs:1313:in `send'
     C:\ironruby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Ex
tensions\IListOps.cs:757:in `each'
     C:\ironruby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Ex
tensions\IListOps.cs:757:in `each'
     testrunner.rb:66:in `start_mediator']:
No tests were specified.

1 tests, 1 assertions, 1 failures, 0 errors


Here is my test file:

require 'test/unit'

class Test_Customer < Test::Unit::TestCase

def foo

assert_equal(1,1)

end

end
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list