test-unit 2.5.1 → 2.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +7 -2
- data/Rakefile +1 -1
- data/lib/test-unit.rb +19 -0
- data/lib/test/unit.rb +183 -12
- data/lib/test/unit/assertions.rb +9 -6
- data/lib/test/unit/autorunner.rb +17 -0
- data/lib/test/unit/collector.rb +33 -1
- data/lib/test/unit/collector/descendant.rb +1 -5
- data/lib/test/unit/collector/load.rb +1 -3
- data/lib/test/unit/color-scheme.rb +36 -30
- data/lib/test/unit/color.rb +19 -8
- data/lib/test/unit/error.rb +6 -3
- data/lib/test/unit/exceptionhandler.rb +48 -5
- data/lib/test/unit/failure.rb +39 -6
- data/lib/test/unit/fault-location-detector.rb +95 -0
- data/lib/test/unit/notification.rb +5 -2
- data/lib/test/unit/omission.rb +7 -3
- data/lib/test/unit/pending.rb +7 -3
- data/lib/test/unit/testcase.rb +132 -9
- data/lib/test/unit/testsuite.rb +1 -1
- data/lib/test/unit/ui/console/testrunner.rb +14 -6
- data/lib/test/unit/ui/testrunnermediator.rb +18 -6
- data/lib/test/unit/util/backtracefilter.rb +1 -1
- data/lib/test/unit/version.rb +1 -1
- data/test/test-color-scheme.rb +29 -22
- data/test/test-color.rb +1 -1
- data/test/test-fault-location-detector.rb +125 -0
- data/test/test-testcase.rb +156 -2
- data/test/testunit-test-util.rb +2 -2
- metadata +5 -2
data/test/testunit-test-util.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-unit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-08-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -99,6 +99,7 @@ files:
|
|
99
99
|
- lib/test/unit/assertionfailederror.rb
|
100
100
|
- lib/test/unit/failure.rb
|
101
101
|
- lib/test/unit/autorunner.rb
|
102
|
+
- lib/test/unit/fault-location-detector.rb
|
102
103
|
- lib/test/unit/exceptionhandler.rb
|
103
104
|
- lib/test/unit/assertions.rb
|
104
105
|
- lib/test/unit/error.rb
|
@@ -154,6 +155,7 @@ files:
|
|
154
155
|
- test/util/test-method-owner-finder.rb
|
155
156
|
- test/util/test-output.rb
|
156
157
|
- test/fixtures/plus.csv
|
158
|
+
- test/test-fault-location-detector.rb
|
157
159
|
- test/test-code-snippet.rb
|
158
160
|
- test/test_error.rb
|
159
161
|
- test/test-diff.rb
|
@@ -211,6 +213,7 @@ test_files:
|
|
211
213
|
- test/util/test-method-owner-finder.rb
|
212
214
|
- test/util/test-output.rb
|
213
215
|
- test/fixtures/plus.csv
|
216
|
+
- test/test-fault-location-detector.rb
|
214
217
|
- test/test-code-snippet.rb
|
215
218
|
- test/test_error.rb
|
216
219
|
- test/test-diff.rb
|