test-unit-launchable 0.1.2 → 0.1.4
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/lib/test/unit/launchable/version.rb +1 -1
- data/lib/test/unit/ui/launchable/json/testrunner.rb +15 -13
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 182a3c21b7fd7183096054730b4c68b251288dfa32c4ea75ecd75520ecb67d69
|
4
|
+
data.tar.gz: 38438e811ada37e137f7ca248e32c258567257794e3c2ecd3b539f6b7822cccc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d841dc47dd3a4fb0c4a856bfe48d5be6120cc591ca799c0bfc03b2b0c958c7b867fc414171da30ac59476fee64b9230a3bc4552c4190d140cca51811b08218d
|
7
|
+
data.tar.gz: 5fb0562a71f5b67755eb4397be72b792e70cb74488440092cccbead82b9a224bfd6c74517f949dfd0177008f30be1671d4fb3db58fba30f548e0c0c55d9251eb
|
@@ -31,7 +31,7 @@ module Test
|
|
31
31
|
@json_stream_writer.write_test_case do |writer|
|
32
32
|
# The test path is a URL-encoded representation.
|
33
33
|
# https://github.com/launchableinc/cli/blob/v1.81.0/launchable/testpath.py#L18
|
34
|
-
writer.write_test_path_components(
|
34
|
+
writer.write_test_path_components(@curt_test_case.test_path)
|
35
35
|
writer.write_duration(@curt_test_case.elapsed_time)
|
36
36
|
writer.write_status(@curt_test_case.status)
|
37
37
|
writer.write_stdout(nil)
|
@@ -76,18 +76,20 @@ module Test
|
|
76
76
|
end
|
77
77
|
|
78
78
|
def test_path
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
79
|
+
[
|
80
|
+
{
|
81
|
+
"type": "file",
|
82
|
+
"name": @source_location
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"type": "class",
|
86
|
+
"name": @class_name
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"type": "testcase",
|
90
|
+
"name": @method_name
|
91
|
+
}
|
92
|
+
]
|
91
93
|
end
|
92
94
|
end
|
93
95
|
|