File tree 2 files changed +3
-4
lines changed
lib/buildkite_test_collector
test/buildkite_test_collector
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ defmodule BuildkiteTestCollector.TestResult do
18
18
:id ,
19
19
:scope ,
20
20
:name ,
21
- :identifier ,
22
21
:location ,
23
22
:file_name ,
24
23
:result ,
@@ -32,7 +31,6 @@ defmodule BuildkiteTestCollector.TestResult do
32
31
id: UUID . t ( ) ,
33
32
scope: String . t ( ) ,
34
33
name: String . t ( ) ,
35
- identifier: String . t ( ) ,
36
34
file_name: String . t ( ) ,
37
35
result: String . t ( ) ,
38
36
failure_reason: nil | String . t ( ) ,
@@ -77,7 +75,6 @@ defmodule BuildkiteTestCollector.TestResult do
77
75
id: UUID . generate ( ) ,
78
76
scope: extract_test_scope ( test ) ,
79
77
name: extract_test_name ( test ) ,
80
- identifier: location ,
81
78
location: location ,
82
79
file_name: test . tags . file ,
83
80
result: extract_test_result ( test . state ) ,
@@ -112,7 +109,6 @@ defmodule BuildkiteTestCollector.TestResult do
112
109
id: test_result . id ,
113
110
scope: test_result . scope ,
114
111
name: test_result . name ,
115
- identifier: test_result . identifier ,
116
112
location: test_result . location ,
117
113
file_name: test_result . file_name ,
118
114
result: test_result . result ,
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ defmodule BuildkiteTestCollector.TestResultTest do
13
13
14
14
assert result . result == "passed"
15
15
assert result . scope == "PassingTest"
16
+ assert result . location == "test/support/fixture_tests/passing_test.exs:5"
17
+ assert result . file_name == "test/support/fixture_tests/passing_test.exs"
18
+ assert result . name == "PassingTest test passing"
16
19
refute result . failure_reason
17
20
refute result . failure_expanded
18
21
end
You can’t perform that action at this time.
0 commit comments