tryouts 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION.yml +1 -1
- data/lib/tryouts/testbatch.rb +3 -0
- data/lib/tryouts/testcase.rb +4 -3
- data/lib/tryouts.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb6e297c2fe5c80dfc2f056d0df5e2742c72ee14e26566283746410d8d3eed5b
|
4
|
+
data.tar.gz: de4ff46738db509b6a511e57a8cd4713510c9a38bec5d4fa7f61383585f0e554
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd90be3bd46856d40055cf36e7cf41820b2692c06f117645daf1614ce8910dc4e7f28ada9731e1cf00674208f1c99f6fccd1f03b4b304ea03f29628fe51700ea
|
7
|
+
data.tar.gz: d8214885cbc47e502c65f4a46383774ee881869aa88164ac475f559914110a2905448db7b8a4afb461d491e70d3f57be56be09924083619a4127dccc504ae63d
|
data/VERSION.yml
CHANGED
data/lib/tryouts/testbatch.rb
CHANGED
data/lib/tryouts/testcase.rb
CHANGED
@@ -33,7 +33,6 @@ class Tryouts
|
|
33
33
|
end
|
34
34
|
$stdout = STDOUT # restore stdout
|
35
35
|
|
36
|
-
|
37
36
|
expectations.each_with_index do |exp, idx|
|
38
37
|
if exp.nil?
|
39
38
|
@outlines << ' [skipped]'
|
@@ -51,9 +50,11 @@ class Tryouts
|
|
51
50
|
Tryouts.debug # extra newline
|
52
51
|
failed?
|
53
52
|
|
54
|
-
rescue
|
55
|
-
Tryouts.debug e.message, e.backtrace.join($/), $/
|
53
|
+
rescue StandardException => e
|
54
|
+
Tryouts.debug "[testcaste.run] #{e.message}", e.backtrace.join($/), $/
|
56
55
|
$stdout = STDOUT # restore stdout
|
56
|
+
# Continue raising the exception
|
57
|
+
raise e
|
57
58
|
end
|
58
59
|
|
59
60
|
def run?
|
data/lib/tryouts.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tryouts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Delano Mandelbaum
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
12
|
-
dependencies:
|
11
|
+
date: 2024-06-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: sysinfo
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.10'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.10'
|
13
27
|
description: A simple test framework for Ruby code that uses introspection to allow
|
14
28
|
defining checks in comments.
|
15
29
|
email: gems@solutious.com
|