dohtest 0.1.44 → 0.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/dohtest +1 -1
- data/lib/dohtest/group_runner.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7fd0ab462d199e0cd642b1cb5621c1ce6e89edb1
|
|
4
|
+
data.tar.gz: 075f9617c485e320a9cb865f11202cc928447913
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8be126721d4a413352443ed8a895d9d85f6fdecf26ed6ff947d507c3ac1bf2745dbfaa634e7c1ac7417f14730281d87b971e04d9161578fd3b390b7eb38a0a64
|
|
7
|
+
data.tar.gz: b83fd9fb36400ca1e8b9252b0135a8a4044f96b53b97480630e5cbc310c2bce59bc202a7a5348de793e573df7dea696f8c4e8455a989da905808ad0506f4250f
|
data/bin/dohtest
CHANGED
|
@@ -12,7 +12,7 @@ opts = Doh::Options.new({
|
|
|
12
12
|
'quiet' => [nil, '-q', '--quiet', "use this to generate less output, disables ruby -v mode (which is default) "],
|
|
13
13
|
'max_errors' => [0, '-e', '--max_errors <number>', "stop tests after this many unexpected errors have happened; disabled by default"],
|
|
14
14
|
'max_failures' => [0, '-f', '--max_failures <number>', "stop tests after this many assertion failures have happened; disabled by default"],
|
|
15
|
-
'config_options' => [
|
|
15
|
+
'config_options' => ['', '-o', '--options <string>', "options to set in DohTest.config[:config_options]"],
|
|
16
16
|
}, true, 'Files or directories may be specified to run tests on. Directories will be treated recursively. Defaults to the current directory.')
|
|
17
17
|
|
|
18
18
|
#generates ruby warnings -- equivalent to ruby -v
|
data/lib/dohtest/group_runner.rb
CHANGED
|
@@ -97,7 +97,7 @@ class GroupRunner
|
|
|
97
97
|
@output.callback_failed(callback.inspect)
|
|
98
98
|
end
|
|
99
99
|
end
|
|
100
|
-
@group.send(@before_each_method)
|
|
100
|
+
@group.send(@before_each_method) if @before_each_method
|
|
101
101
|
rescue => error
|
|
102
102
|
@before_each_failed = true
|
|
103
103
|
caught_error(error)
|
|
@@ -151,7 +151,7 @@ class GroupRunner
|
|
|
151
151
|
@test_name = method_name
|
|
152
152
|
@before_each_failed = false
|
|
153
153
|
@output.test_begin(@group_name, @test_name)
|
|
154
|
-
run_before_each
|
|
154
|
+
run_before_each
|
|
155
155
|
run_test_method unless @before_each_failed
|
|
156
156
|
run_after_each if @after_each_method
|
|
157
157
|
@tests_ran += 1
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dohtest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.45
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Makani Mason
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-02-
|
|
12
|
+
date: 2016-02-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: dohroot
|