I have the following Rakefile:
task :test do
And the following file:
class SignupTest < Test::Unit::TestCase
When i run rake ci:setup:testunit test i get:
rm -rf test/reports
# 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
Seems like it should have generated some kind of content in test/reports but this directory does not exist.
Any ideas of what i should do?
I am experiencing the same issue: no output in the mentioned directories.
Which version of ci_reporter and test-unit are you guys using?
I'm using the following:
I'm having the same problem, with test-unit 2.5.2 and ci_reporter 1.7.3 in ruby 1.9.2-head.
Same issue, same version of test-unit(2.5.2) and ci_reporter(1.7.3) with ruby 1.9.3.
I was also reading the History.txt and README and there was no indication of test-unit compatible versions.
I would appreciate any help or workaround if there is any.
Also having this issue: Ruby 1.9.3, TestUnit 2.5.4, and CI Reporter 1.8.4.
Got it working on my local machine, though there's still no output on my Jenkins server. Here's what I did:
In Rakefile, I first include minitest:
Then, just after I specify :test as my default and before my tests are loaded up from the test folder:
task :test => 'ci:setup:minitest'
Hope this helps everyone, and I'll update if I can get Jenkins to play nice.
We are in the process of cleaning out old issues. Specifically, the
next version of CI::Reporter is only going to support Test::Unit
bundled with the latest version of Ruby 1.9.3, 2.0, and 2.1. If this
issue still applies to these versions, please let us know, otherwise
we're going to close this issue to focus on current problems. Thanks
for your report!
Closing due to inactivity.