test_bench-session 2.1.1.0 → 2.1.1.2
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58db61f200852895acae59fe5b5495f46557178b5b66ba34968dc67a4782e9db
|
4
|
+
data.tar.gz: ed7ae368ef67b40b00b0c1ceb9d2c48f21768b8a71636b02f2911fd433220d08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe361d0c1a12a20f120c575aed1ebe8d0c7c2c3fabd1a1590d89d7706b532407f8cdaf83c3427bd156498211b87d9db1fdaac27eb18696b7ec66c480645be96a
|
7
|
+
data.tar.gz: bebf161bc24d255e4b4f2d382fdd919cf64db92c4a3a7957e37075eeb261da6c306deb688fb214028cc0f3c4285560a399654839b0b76fef8acc8c495296cf64
|
@@ -21,10 +21,15 @@ module TestBench
|
|
21
21
|
case event_data.type
|
22
22
|
when :TestStarted, :ContextStarted
|
23
23
|
title, * = event_data.data
|
24
|
-
|
24
|
+
if not title.nil?
|
25
|
+
path.push(title)
|
26
|
+
end
|
27
|
+
|
25
28
|
when :TestFinished, :ContextFinished
|
26
29
|
title, * = event_data.data
|
27
|
-
|
30
|
+
if not title.nil?
|
31
|
+
path.pop(title)
|
32
|
+
end
|
28
33
|
end
|
29
34
|
|
30
35
|
record = Record.new(event_data)
|
@@ -33,7 +38,10 @@ module TestBench
|
|
33
38
|
case event_data.type
|
34
39
|
when :TestFinished, :ContextFinished
|
35
40
|
title, * = event_data.data
|
36
|
-
|
41
|
+
if not title.nil?
|
42
|
+
record.path.push(title)
|
43
|
+
end
|
44
|
+
|
37
45
|
when :Commented, :Detailed
|
38
46
|
comment_text, * = event_data.data
|
39
47
|
record.path.push(comment_text)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_bench-session
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.1.
|
4
|
+
version: 2.1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Ladd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test_bench-output
|