-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: show test results with timed out tests (#15)
Test results that fail due to a test timing out are now displayed similarly to passing/failing test results. This allows users to identify the failing test and fix it without breaking the workflow. Closes #14
- Loading branch information
1 parent
ed17813
commit 7403d72
Showing
7 changed files
with
128 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{"Time":"2023-05-18T14:31:35.776974Z","Action":"start","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers"} | ||
{"Time":"2023-05-18T14:31:35.865669Z","Action":"run","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterIncrement"} | ||
{"Time":"2023-05-18T14:31:35.865739Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterIncrement","Output":"=== RUN TestCounterIncrement\n"} | ||
{"Time":"2023-05-18T14:31:35.865765Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterIncrement","Output":"--- PASS: TestCounterIncrement (0.00s)\n"} | ||
{"Time":"2023-05-18T14:31:35.865776Z","Action":"pass","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterIncrement","Elapsed":0} | ||
{"Time":"2023-05-18T14:31:35.865785Z","Action":"run","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut"} | ||
{"Time":"2023-05-18T14:31:35.865787Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"=== RUN TestCounterTimesOut\n"} | ||
{"Time":"2023-01-01T13:37:00.369815Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"panic: test timed out after 500ms\n"} | ||
{"Time":"2023-01-01T13:37:00.369855Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"running tests:\n"} | ||
{"Time":"2023-01-01T13:37:00.369889Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\tTestCounterTimesOut (1s)\n"} | ||
{"Time":"2023-01-01T13:37:00.369898Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\n"} | ||
{"Time":"2023-01-01T13:37:00.369903Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"goroutine 19 [running]:\n"} | ||
{"Time":"2023-01-01T13:37:00.369909Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"testing.(*M).startAlarm.func1()\n"} | ||
{"Time":"2023-01-01T13:37:00.369914Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/usr/local/go/src/testing/testing.go:2241 +0x328\n"} | ||
{"Time":"2023-01-01T13:37:00.369946Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"created by time.goFunc\n"} | ||
{"Time":"2023-01-01T13:37:00.369963Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/usr/local/go/src/time/sleep.go:176 +0x38\n"} | ||
{"Time":"2023-01-01T13:37:00.369968Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\n"} | ||
{"Time":"2023-01-01T13:37:00.369973Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"goroutine 1 [chan receive]:\n"} | ||
{"Time":"2023-01-01T13:37:00.369978Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"testing.(*T).Run(0x1400011c680, {0x102ad9273?, 0x1f0b3ea1d12ae?}, 0x102b341c8)\n"} | ||
{"Time":"2023-01-01T13:37:00.370098Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/usr/local/go/src/testing/testing.go:1630 +0x37c\n"} | ||
{"Time":"2023-01-01T13:37:00.37011Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"testing.runTests.func1(0x1400010e480?)\n"} | ||
{"Time":"2023-01-01T13:37:00.370114Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/usr/local/go/src/testing/testing.go:2036 +0x48\n"} | ||
{"Time":"2023-01-01T13:37:00.370199Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"testing.tRunner(0x1400011c680, 0x14000106c68)\n"} | ||
{"Time":"2023-01-01T13:37:00.370211Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10c\n"} | ||
{"Time":"2023-01-01T13:37:00.370217Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"testing.runTests(0x140001300a0?, {0x102bea300, 0x4, 0x4}, {0x1400011e800?, 0x40?, 0x102bee780?})\n"} | ||
{"Time":"2023-01-01T13:37:00.370221Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/usr/local/go/src/testing/testing.go:2034 +0x40c\n"} | ||
{"Time":"2023-01-01T13:37:00.370225Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"testing.(*M).Run(0x140001300a0)\n"} | ||
{"Time":"2023-01-01T13:37:00.370232Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/usr/local/go/src/testing/testing.go:1906 +0x58c\n"} | ||
{"Time":"2023-01-01T13:37:00.370236Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"main.main()\n"} | ||
{"Time":"2023-01-01T13:37:00.37024Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t_testmain.go:53 +0x1d0\n"} | ||
{"Time":"2023-01-01T13:37:00.370243Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\n"} | ||
{"Time":"2023-01-01T13:37:00.370247Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"goroutine 135 [sleep]:\n"} | ||
{"Time":"2023-01-01T13:37:00.370251Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"time.Sleep(0x3b9aca00)\n"} | ||
{"Time":"2023-01-01T13:37:00.370255Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/usr/local/go/src/runtime/time.go:195 +0x118\n"} | ||
{"Time":"2023-01-01T13:37:00.370259Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers.TestCounterTimesOut(0x1400017d380)\n"} | ||
{"Time":"2023-01-01T13:37:00.370263Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/Users/michael/src/github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers/counter_test.go:29 +0x28\n"} | ||
{"Time":"2023-01-01T13:37:00.370271Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"testing.tRunner(0x1400017d380, 0x102b341c8)\n"} | ||
{"Time":"2023-01-01T13:37:00.370275Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10c\n"} | ||
{"Time":"2023-01-01T13:37:00.370279Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"created by testing.(*T).Run\n"} | ||
{"Time":"2023-01-01T13:37:00.370283Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Test":"TestCounterTimesOut","Output":"\t/usr/local/go/src/testing/testing.go:1629 +0x368\n"} | ||
{"Time":"2023-01-01T13:37:00.37106Z","Action":"output","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Output":"FAIL\tgithub.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers\t0.594s\n"} | ||
{"Time":"2023-01-01T13:37:00.371136Z","Action":"fail","Package":"github.com/michenriksen/gokiburi/internal/pkg/runner/testdata/numbers","Elapsed":0.594} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters