Skip to content

Commit

Permalink
Better dummy for test and better demo example for demonstration and d…
Browse files Browse the repository at this point in the history
…ocumentation (#24)

* Added better example based on a new dummy demonstrating pass, fail and skip - instead of a real module, which currenly passes all tests, hence making it useless as a demo and a testing dummy

* Updated README.md

Updated with explicit link to commit

Co-authored-by: Connor <subtlepseudonym@gmail.com>

* Changed URL to point to the tag instead of the commit as suggested

Co-authored-by: Connor <subtlepseudonym@gmail.com>
  • Loading branch information
jonasbn and subtlepseudonym authored Apr 24, 2021
1 parent e54f276 commit 70b1936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ Accepts all the arguments and flags `go test` works with.
Example:

```
$ gotest -v github.com/rakyll/hey
$ gotest -v github.com/jonasbn/go-test-demo
```
![go test output](https://i.imgur.com/udjWuZx.gif)
![gotest output example screenshot](https://raw.githubusercontent.com/jonasbn/go-test-demo/1.0.0/gotest-go-test-demo.png)

gotest comes with many colors! Configure the color of the output by setting the following env variable:

Expand Down

0 comments on commit 70b1936

Please sign in to comment.