reportTestUnit 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README +19 -23
  2. metadata +6 -7
  3. data/test/report/testunit/ui/tc_test.rb +0 -31
data/README CHANGED
@@ -3,7 +3,7 @@
3
3
  Version 1.0.0 - 2007-09-14
4
4
 
5
5
 
6
- ReportTestUnit is an add on to the Test::Unit package. It leverage's the full support
6
+ ReportTestUnit is an add on to the Test::Unit package. It leverages the full support
7
7
  of Test:Unit to write out html based reports of each test case. ReportTestUnit is
8
8
  designed to work with cruisecontrol.rb - but not limited to it.
9
9
 
@@ -72,39 +72,35 @@ ENV['UNIT_TEST_REPORT_DIR']="#{ENV['CC_BUILD_ARTIFACTS']}/unitTestReport"
72
72
  === Acknowledgements
73
73
 
74
74
  As this package is built on Test::Unit all the credit must go to those guys for
75
- providing excellent opertunities to plug in extra functionality.
75
+ providing excellent opportunities to plug in extra functionality.
76
76
 
77
77
  === License
78
78
 
79
79
 
80
+ Copyright (c) 2007, TSSG
80
81
 
81
- This program is free software; you can redistribute it and/or
82
+ All rights reserved.
82
83
 
83
- modify it under the terms of the GNU General Public License
84
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
84
85
 
85
- as published by the Free Software Foundation; either version 2
86
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
87
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
88
+ * Neither the name of the "Waterford Institute of Technology" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
86
89
 
87
- of the License, or (at your option) any later version.
90
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
91
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
92
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
93
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
94
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
95
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
96
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
97
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
98
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
99
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
100
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
88
101
 
89
102
 
90
103
 
91
- This program is distributed in the hope that it will be useful,
92
-
93
- but WITHOUT ANY WARRANTY; without even the implied warranty of
94
-
95
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
96
-
97
- GNU General Public License for more details.
98
-
99
-
100
-
101
- You should have received a copy of the GNU General Public License
102
-
103
- along with this program; if not, write to the Free Software
104
-
105
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
106
-
107
-
108
104
 
109
105
 
110
106
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: reportTestUnit
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.0
6
+ version: 1.0.1
7
7
  date: 2007-09-19 00:00:00 +01:00
8
8
  summary: An Extension to the Test::Unit platform to produce html reports
9
9
  require_paths:
@@ -32,26 +32,25 @@ files:
32
32
  - lib/report
33
33
  - lib/reportTestUnit.rb
34
34
  - lib/report/testunit
35
- - lib/report/testunit/error.rb
35
+ - lib/report/testunit/ui
36
+ - lib/report/testunit/testresult.rb
36
37
  - lib/report/testunit/failure.rb
37
38
  - lib/report/testunit/success.rb
39
+ - lib/report/testunit/error.rb
38
40
  - lib/report/testunit/testcase.rb
39
- - lib/report/testunit/testresult.rb
40
- - lib/report/testunit/ui
41
41
  - lib/report/testunit/ui/report
42
42
  - lib/report/testunit/ui/testrunnermediator.rb
43
43
  - lib/report/testunit/ui/report/testrunner.rb
44
44
  - test/report
45
45
  - test/report/testunit
46
46
  - test/report/ts_reportTestUnit.rb
47
- - test/report/testunit/tc_error.rb
47
+ - test/report/testunit/ui
48
48
  - test/report/testunit/tc_failure.rb
49
49
  - test/report/testunit/tc_success.rb
50
+ - test/report/testunit/tc_error.rb
50
51
  - test/report/testunit/tc_testcase.rb
51
52
  - test/report/testunit/tc_testresult.rb
52
- - test/report/testunit/ui
53
53
  - test/report/testunit/ui/report
54
- - test/report/testunit/ui/tc_test.rb
55
54
  - test/report/testunit/ui/report/tc_testrunner.rb
56
55
  - README
57
56
  test_files:
@@ -1,31 +0,0 @@
1
- # tc_test.rb
2
- # September 19, 2007
3
- #
4
-
5
- $:.unshift File.join(File.dirname(__FILE__),'..','lib')
6
-
7
- require 'test/unit'
8
-
9
- class TestTc_test < Test::Unit::TestCase
10
- # def setup
11
- # end
12
- #
13
- # def teardown
14
- # end
15
-
16
- def test_fail
17
- assert(false, 'Assertion was false.')
18
- end
19
-
20
- def test_foo
21
- # assert_equal("foo", bar)
22
-
23
- # assert, assert_block, assert_equal, assert_in_delta, assert_instance_of,
24
- # assert_kind_of, assert_match, assert_nil, assert_no_match, assert_not_equal,
25
- # assert_not_nil, assert_not_same, assert_nothing_raised, assert_nothing_thrown,
26
- # assert_operator, assert_raise, assert_raises, assert_respond_to, assert_same,
27
- # assert_send, assert_throws
28
-
29
- flunk "TODO: Write test"
30
- end
31
- end