public
Description: CI::Reporter is an add-on to Test::Unit and RSpec that allows you to generate XML reports of your test and/or spec runs.
Homepage: http://caldersphere.rubyforge.org/ci_reporter
Clone URL: git://github.com/nicksieger/ci_reporter.git
Move stub.rake to top directory, and update release notes and 
documentation


git-svn-id: 
http://svn.caldersphere.net/svn/main/rubyforge/ci_reporter/trunk@122 
b03c2d0b-2f10-0410-a2f9-fc8001506dfa
nicksieger (author)
Wed Aug 29 12:21:58 -0700 2007
commit  35308f17db99140aef2a6a9aa5786dce353bdf12
tree    783285649eefca76f2b133c4196e4a6d666bd611
parent  ddc4c09f7fd9d0cc7c76ce874274e7724cf74fb2
...
4
5
6
7
 
8
9
10
...
4
5
6
 
7
8
9
10
0
@@ -4,7 +4,7 @@
0
   trunk which passes a Spec::DSL::Description instead of a string
0
 - Fix broken spec due to pending feature introduced in recent RSpec
0
 - Fix compatibility for JRuby
0
-- Add stub.rake file as another way to wrap existing Rakefile
0
+- Add stub.rake file as another way to wrap existing Rakefile, with note in README
0
 
0
 == 1.3.3
0
 
...
33
34
35
 
 
 
 
 
36
37
38
...
33
34
35
36
37
38
39
40
41
42
43
0
@@ -33,6 +33,11 @@ Report files are written, by default, to the <code>test/reports</code> or <code>
0
 
0
 == Advanced Usage
0
 
0
+If you don't have control over the Rakefile or don't want to modify it, CI::Reporter has a substitute rake file that you can specify on the command-line. It assumes that the main project rake file is called +Rakefile+ and lives in the current directory. Run like so:
0
+
0
+ rake -f GEM_PATH/stub.rake ci:setup:testunit test
0
+ rake -f GEM_PATH/stub.rake ci:setup:rspec spec
0
+
0
 If for some reason you can't use the above technique to inject CI::Reporter (e.g., you're not using Rake), you'll have to do one of these:
0
 
0
 1. If you're using <code>Test::Unit</code>, ensure the <code>ci/reporter/rake/test_unit_loader.rb</code> file is loaded or required at some point before the tests are run.
...
1
2
3
4
 
5
6
7
...
1
2
3
 
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 require 'spec/rake/spectask'
0
 
0
 MANIFEST = FileList["History.txt", "Manifest.txt", "README.txt", "LICENSE.txt", "Rakefile",
0
- "lib/**/*.rb", "spec/**/*.rb", "tasks/**/*.rake"]
0
+ "*.rake", "lib/**/*.rb", "spec/**/*.rb", "tasks/**/*.rake"]
0
 
0
 begin
0
   require 'hoe'

Comments

    No one has commented yet.