mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-08-02 18:29:45 -05:00
Add test for failing test output
Cleanup parser tests. Move test output to separate files.
This commit is contained in:
6
tests/01-pass.txt
Normal file
6
tests/01-pass.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
=== RUN TestOne
|
||||
--- PASS: TestOne (0.06 seconds)
|
||||
=== RUN TestTwo
|
||||
--- PASS: TestTwo (0.10 seconds)
|
||||
PASS
|
||||
ok package/name 0.160s
|
11
tests/02-fail.txt
Normal file
11
tests/02-fail.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
=== RUN TestOne
|
||||
--- FAIL: TestOne (0.02 seconds)
|
||||
file_test.go:11: Error message
|
||||
file_test.go:11: Longer
|
||||
error
|
||||
message.
|
||||
=== RUN TestTwo
|
||||
--- PASS: TestTwo (0.13 seconds)
|
||||
FAIL
|
||||
exit status 1
|
||||
FAIL package/name 0.151s
|
Reference in New Issue
Block a user