test-unit 3.2.0 → 3.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/COPYING +4 -1
- data/README.md +11 -11
- data/Rakefile +10 -1
- data/doc/text/getting-started.md +246 -0
- data/doc/text/news.md +372 -1
- data/lib/test/unit.rb +171 -157
- data/lib/test/unit/assertions.rb +187 -149
- data/lib/test/unit/attribute.rb +71 -2
- data/lib/test/unit/autorunner.rb +65 -32
- data/lib/test/unit/code-snippet-fetcher.rb +7 -7
- data/lib/test/unit/collector/load.rb +8 -13
- data/lib/test/unit/data-sets.rb +116 -0
- data/lib/test/unit/data.rb +121 -12
- data/lib/test/unit/diff.rb +11 -11
- data/lib/test/unit/fixture.rb +3 -0
- data/lib/test/unit/notification.rb +9 -7
- data/lib/test/unit/omission.rb +34 -31
- data/lib/test/unit/pending.rb +12 -11
- data/lib/test/unit/priority.rb +7 -3
- data/lib/test/unit/runner/console.rb +25 -0
- data/lib/test/unit/test-suite-creator.rb +22 -8
- data/lib/test/unit/testcase.rb +270 -182
- data/lib/test/unit/ui/console/testrunner.rb +90 -35
- data/lib/test/unit/ui/emacs/testrunner.rb +5 -5
- data/lib/test/unit/util/observable.rb +2 -2
- data/lib/test/unit/util/output.rb +5 -4
- data/lib/test/unit/util/procwrapper.rb +4 -4
- data/lib/test/unit/version.rb +1 -1
- data/test/collector/test-descendant.rb +4 -0
- data/test/collector/test-load.rb +35 -2
- data/test/collector/test_dir.rb +5 -4
- data/test/collector/test_objectspace.rb +7 -5
- data/test/test-assertions.rb +128 -101
- data/test/test-code-snippet.rb +42 -0
- data/test/test-data.rb +195 -79
- data/test/test-priority.rb +19 -8
- data/test/test-test-case.rb +111 -3
- data/test/test-test-suite.rb +1 -0
- data/test/testunit-test-util.rb +2 -0
- metadata +38 -37
data/test/test-test-suite.rb
CHANGED
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: 3.
|
4
|
+
version: 3.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-06-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: power_assert
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
description: |
|
99
|
-
Test::Unit
|
99
|
+
test-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit
|
100
100
|
principles. These were originally designed by Kent Beck, creator of extreme
|
101
101
|
programming software development methodology, for Smalltalk's SUnit. It allows
|
102
102
|
writing tests, checking results and automated testing in Ruby.
|
@@ -113,6 +113,7 @@ files:
|
|
113
113
|
- PSFL
|
114
114
|
- README.md
|
115
115
|
- Rakefile
|
116
|
+
- doc/text/getting-started.md
|
116
117
|
- doc/text/how-to.md
|
117
118
|
- doc/text/news.md
|
118
119
|
- lib/test-unit.rb
|
@@ -132,6 +133,7 @@ files:
|
|
132
133
|
- lib/test/unit/collector/xml.rb
|
133
134
|
- lib/test/unit/color-scheme.rb
|
134
135
|
- lib/test/unit/color.rb
|
136
|
+
- lib/test/unit/data-sets.rb
|
135
137
|
- lib/test/unit/data.rb
|
136
138
|
- lib/test/unit/diff.rb
|
137
139
|
- lib/test/unit/error.rb
|
@@ -212,7 +214,8 @@ homepage: http://test-unit.github.io/
|
|
212
214
|
licenses:
|
213
215
|
- Ruby
|
214
216
|
- PSFL
|
215
|
-
metadata:
|
217
|
+
metadata:
|
218
|
+
source_code_uri: https://github.com/test-unit/test-unit
|
216
219
|
post_install_message:
|
217
220
|
rdoc_options: []
|
218
221
|
require_paths:
|
@@ -228,50 +231,48 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
231
|
- !ruby/object:Gem::Version
|
229
232
|
version: '0'
|
230
233
|
requirements: []
|
231
|
-
|
232
|
-
rubygems_version: 2.5.1
|
234
|
+
rubygems_version: 3.2.0.pre1
|
233
235
|
signing_key:
|
234
236
|
specification_version: 4
|
235
237
|
summary: An xUnit family unit testing framework for Ruby.
|
236
238
|
test_files:
|
237
|
-
- test/test-
|
238
|
-
- test/test-
|
239
|
-
- test/
|
240
|
-
- test/
|
241
|
-
- test/
|
242
|
-
- test/
|
243
|
-
- test/test-color.rb
|
244
|
-
- test/ui/test_testrunmediator.rb
|
245
|
-
- test/test-attribute-matcher.rb
|
246
|
-
- test/test-test-suite.rb
|
247
|
-
- test/test-test-suite-creator.rb
|
248
|
-
- test/test-diff.rb
|
249
|
-
- test/test-emacs-runner.rb
|
250
|
-
- test/test-data.rb
|
239
|
+
- test/collector/test-descendant.rb
|
240
|
+
- test/collector/test-load.rb
|
241
|
+
- test/collector/test_dir.rb
|
242
|
+
- test/collector/test_objectspace.rb
|
243
|
+
- test/fixtures/header-label.csv
|
244
|
+
- test/fixtures/header-label.tsv
|
251
245
|
- test/fixtures/header.csv
|
252
246
|
- test/fixtures/header.tsv
|
247
|
+
- test/fixtures/no-header.csv
|
253
248
|
- test/fixtures/no-header.tsv
|
254
249
|
- test/fixtures/plus.csv
|
255
|
-
- test/
|
256
|
-
- test/fixtures/header-label.tsv
|
257
|
-
- test/fixtures/header-label.csv
|
250
|
+
- test/run-test.rb
|
258
251
|
- test/test-assertions.rb
|
259
|
-
- test/test-
|
260
|
-
- test/
|
261
|
-
- test/
|
262
|
-
- test/
|
263
|
-
- test/
|
264
|
-
- test/
|
252
|
+
- test/test-attribute-matcher.rb
|
253
|
+
- test/test-attribute.rb
|
254
|
+
- test/test-code-snippet.rb
|
255
|
+
- test/test-color-scheme.rb
|
256
|
+
- test/test-color.rb
|
257
|
+
- test/test-data.rb
|
258
|
+
- test/test-diff.rb
|
259
|
+
- test/test-emacs-runner.rb
|
265
260
|
- test/test-error.rb
|
266
|
-
- test/
|
267
|
-
- test/test-
|
261
|
+
- test/test-failure.rb
|
262
|
+
- test/test-fault-location-detector.rb
|
268
263
|
- test/test-fixture.rb
|
269
|
-
- test/util/test-output.rb
|
270
|
-
- test/util/test-method-owner-finder.rb
|
271
|
-
- test/util/test_observable.rb
|
272
|
-
- test/util/test_procwrapper.rb
|
273
|
-
- test/util/test_backtracefilter.rb
|
274
264
|
- test/test-notification.rb
|
275
265
|
- test/test-omission.rb
|
266
|
+
- test/test-pending.rb
|
267
|
+
- test/test-priority.rb
|
276
268
|
- test/test-test-case.rb
|
277
|
-
|
269
|
+
- test/test-test-result.rb
|
270
|
+
- test/test-test-suite-creator.rb
|
271
|
+
- test/test-test-suite.rb
|
272
|
+
- test/testunit-test-util.rb
|
273
|
+
- test/ui/test_testrunmediator.rb
|
274
|
+
- test/util/test-method-owner-finder.rb
|
275
|
+
- test/util/test-output.rb
|
276
|
+
- test/util/test_backtracefilter.rb
|
277
|
+
- test/util/test_observable.rb
|
278
|
+
- test/util/test_procwrapper.rb
|