-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This format shows test names as full sentences, which is useful both for autogenerating documentation ("dox"), and for encouraging programmers to write their test names as sentences describing the behaviour of the unit under test. The specific method of formatting test names as sentences is that used by https://github.com/bitfield/gotestdox.
- Loading branch information
Showing
9 changed files
with
292 additions
and
36 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
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,46 @@ | ||
gotest.tools/gotestsum/testjson/internal/good: | ||
✔ Nested success (0.00s) | ||
✔ Nested success a (0.00s) | ||
✔ Nested success a sub (0.00s) | ||
✔ Nested success b (0.00s) | ||
✔ Nested success b sub (0.00s) | ||
✔ Nested success c (0.00s) | ||
✔ Nested success c sub (0.00s) | ||
✔ Nested success d (0.00s) | ||
✔ Nested success d sub (0.00s) | ||
✔ Parallel the first (0.01s) | ||
✔ Parallel the second (0.01s) | ||
✔ Parallel the third (0.00s) | ||
✔ Passed (0.00s) | ||
✔ Passed with log (0.00s) | ||
✔ Passed with stdout (0.00s) | ||
✔ With stderr (0.00s) | ||
|
||
gotest.tools/gotestsum/testjson/internal/stub: | ||
x Failed (0.00s) | ||
x Failed with stderr (0.00s) | ||
✔ Nested success (0.00s) | ||
✔ Nested success a (0.00s) | ||
✔ Nested success a sub (0.00s) | ||
✔ Nested success b (0.00s) | ||
✔ Nested success b sub (0.00s) | ||
✔ Nested success c (0.00s) | ||
✔ Nested success c sub (0.00s) | ||
✔ Nested success d (0.00s) | ||
✔ Nested success d sub (0.00s) | ||
x Nested with failure (0.00s) | ||
✔ Nested with failure a (0.00s) | ||
✔ Nested with failure a sub (0.00s) | ||
✔ Nested with failure b (0.00s) | ||
✔ Nested with failure b sub (0.00s) | ||
x Nested with failure c (0.00s) | ||
✔ Nested with failure d (0.00s) | ||
✔ Nested with failure d sub (0.00s) | ||
✔ Parallel the first (0.01s) | ||
✔ Parallel the second (0.01s) | ||
✔ Parallel the third (0.00s) | ||
✔ Passed (0.00s) | ||
✔ Passed with log (0.00s) | ||
✔ Passed with stdout (0.00s) | ||
✔ With stderr (0.00s) | ||
|
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,60 @@ | ||
gotest.tools/gotestsum/testjson/internal/good: | ||
✔ Nested success (0.00s) | ||
✔ Nested success a (0.00s) | ||
✔ Nested success a sub (0.00s) | ||
✔ Nested success b (0.00s) | ||
✔ Nested success b sub (0.00s) | ||
✔ Nested success c (0.00s) | ||
✔ Nested success c sub (0.00s) | ||
✔ Nested success d (0.00s) | ||
✔ Nested success d sub (0.00s) | ||
✔ Parallel the first (0.01s) | ||
✔ Parallel the second (0.01s) | ||
✔ Parallel the third (0.00s) | ||
✔ Passed (0.00s) | ||
✔ Passed with log (0.00s) | ||
✔ Passed with stdout (0.00s) | ||
✔ With stderr (0.00s) | ||
|
||
gotest.tools/gotestsum/testjson/internal/parallelfails: | ||
x Nested parallel failures (0.00s) | ||
x Nested parallel failures a (0.00s) | ||
x Nested parallel failures b (0.00s) | ||
x Nested parallel failures c (0.00s) | ||
x Nested parallel failures d (0.00s) | ||
x Parallel the first (0.01s) | ||
x Parallel the second (0.01s) | ||
x Parallel the third (0.00s) | ||
✔ Passed (0.00s) | ||
✔ Passed with log (0.00s) | ||
✔ Passed with stdout (0.00s) | ||
✔ With stderr (0.00s) | ||
|
||
gotest.tools/gotestsum/testjson/internal/withfails: | ||
x Failed (0.00s) | ||
x Failed with stderr (0.00s) | ||
✔ Nested success (0.00s) | ||
✔ Nested success a (0.00s) | ||
✔ Nested success a sub (0.00s) | ||
✔ Nested success b (0.00s) | ||
✔ Nested success b sub (0.00s) | ||
✔ Nested success c (0.00s) | ||
✔ Nested success c sub (0.00s) | ||
✔ Nested success d (0.00s) | ||
✔ Nested success d sub (0.00s) | ||
x Nested with failure (0.00s) | ||
✔ Nested with failure a (0.00s) | ||
✔ Nested with failure a sub (0.00s) | ||
✔ Nested with failure b (0.00s) | ||
✔ Nested with failure b sub (0.00s) | ||
x Nested with failure c (0.00s) | ||
✔ Nested with failure d (0.00s) | ||
✔ Nested with failure d sub (0.00s) | ||
✔ Parallel the first (0.01s) | ||
✔ Parallel the second (0.01s) | ||
✔ Parallel the third (0.00s) | ||
✔ Passed (0.00s) | ||
✔ Passed with log (0.00s) | ||
✔ Passed with stdout (0.00s) | ||
✔ With stderr (0.00s) | ||
|
Oops, something went wrong.