我有以下 Rakefile:
require 'rake'
gem 'ci_reporter'
require 'ci/reporter/rake/test_unit'
task :test do
ruby 'signup.rb'
end
以及以下文件:
require 'rubygems'
require 'test/unit'
class SignupTest < Test::Unit::TestCase
def test_signup
assert true
end
end
当我运行“rake ci:setup:testunit test”时,我得到:
rm -rf test/reports
/Users/fernando/.rvm/rubies/ruby-1.9.3-p0/bin/ruby signup.rb
Run options:
# Running tests:
.
Finished tests in 0.000820s, 1219.5122 tests/s, 1219.5122 assertions/s.
1 tests, 1 assertions, 0 failures, 0 errors, 0 skips
似乎它应该在 test/reports 中生成了某种内容,但这个目录不存在。
关于我应该做什么的任何想法?