minitap 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.ruby +3 -2
- data/HISTORY.rdoc +10 -0
- data/README.rdoc +4 -4
- data/lib/minitap.rb +2 -2
- metadata +9 -9
data/.ruby
CHANGED
@@ -10,6 +10,7 @@ replacements: []
|
|
10
10
|
conflicts: []
|
11
11
|
requirements:
|
12
12
|
- name: tapout
|
13
|
+
version: ! '>= 0.3.0'
|
13
14
|
- name: detroit
|
14
15
|
groups:
|
15
16
|
- build
|
@@ -28,9 +29,9 @@ load_path:
|
|
28
29
|
extra: {}
|
29
30
|
name: minitap
|
30
31
|
title: MiniTap
|
31
|
-
date: '2011-10-
|
32
|
+
date: '2011-10-09'
|
32
33
|
alternatives: []
|
33
|
-
version: 0.
|
34
|
+
version: 0.3.0
|
34
35
|
revision: 0
|
35
36
|
source:
|
36
37
|
- ruby.yml
|
data/HISTORY.rdoc
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
= RELEASE HISTORY
|
2
2
|
|
3
3
|
|
4
|
+
== 0.3.0 / 2011-10-09
|
5
|
+
|
6
|
+
Support version 3 of TAP-Y/H spec. This simply entailed renaming
|
7
|
+
the `tally` document to `final`.
|
8
|
+
|
9
|
+
Changes:
|
10
|
+
|
11
|
+
* Support revision 3 of TAP-Y/J.
|
12
|
+
|
13
|
+
|
4
14
|
== 0.2.0 / 2011-10-07
|
5
15
|
|
6
16
|
This release adjusts how the customer reporter classes
|
data/README.rdoc
CHANGED
@@ -17,10 +17,10 @@ TAP-Y/J formats.
|
|
17
17
|
|
18
18
|
== Usage
|
19
19
|
|
20
|
-
MiniTest supports custom
|
21
|
-
an instance of a
|
22
|
-
of `MiniTest::TapY` or `MiniTest::TapJ`. So in your project's test
|
23
|
-
add, e.g.
|
20
|
+
MiniTest supports custom report format by setting `MiniTest::Unit.runner` to
|
21
|
+
an instance of a custom runner class. In this case we want to set it to an
|
22
|
+
instance of `MiniTest::TapY` or `MiniTest::TapJ`. So in your project's test
|
23
|
+
helper script add, e.g.
|
24
24
|
|
25
25
|
require 'minitap'
|
26
26
|
MiniTest::Unit.runner = MiniTest::TapY.new
|
data/lib/minitap.rb
CHANGED
@@ -23,7 +23,7 @@ module MiniTest
|
|
23
23
|
class MiniTap < ::MiniTest::Unit
|
24
24
|
|
25
25
|
# TAP-Y/J Revision
|
26
|
-
REVISION =
|
26
|
+
REVISION = 3
|
27
27
|
|
28
28
|
attr_accessor :suite_start_time, :test_start_time, :reporters
|
29
29
|
|
@@ -162,7 +162,7 @@ module MiniTest
|
|
162
162
|
#
|
163
163
|
def tapout_after_suites(suites, type)
|
164
164
|
doc = {
|
165
|
-
'type' => '
|
165
|
+
'type' => 'final',
|
166
166
|
'time' => Time.now - self.test_start_time,
|
167
167
|
'counts' => {
|
168
168
|
'total' => self.test_count,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-10-
|
12
|
+
date: 2011-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: tapout
|
16
|
-
requirement: &
|
16
|
+
requirement: &18982920 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 0.3.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *18982920
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: detroit
|
27
|
-
requirement: &
|
27
|
+
requirement: &18982400 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *18982400
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: reap
|
38
|
-
requirement: &
|
38
|
+
requirement: &18981680 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *18981680
|
47
47
|
description: MiniTap provides a custom MiniTest reporter that outs TAP-Y or TAP-J
|
48
48
|
formatted output.
|
49
49
|
email:
|