以下代码存在于test/unit/this_stupid_test.rb
require 'test/unit'
class ThisStupidTest < Test::Unit::TestCase
def better_be_true
assert true
end
end
当我运行rake test:units
它说finished with 0 tests and 0 assertions
。
当我跑步时它说同样的话ruby test/unit/this_stupid_test.rb
有任何想法吗?