From 70b19367269b48888bb1ae98f2935504d2230594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Br=C3=B8ms=C3=B8?= Date: Sat, 24 Apr 2021 06:01:48 +0200 Subject: [PATCH] Better dummy for test and better demo example for demonstration and documentation (#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 * Changed URL to point to the tag instead of the commit as suggested Co-authored-by: Connor --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc7634c..ac4c08f 100644 --- a/README.md +++ b/README.md @@ -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: