franela / goblin

Minimal and Beautiful Go testing framework
MIT License
887 stars 79 forks source link

Is it expected, that Goblin doesn't output anything if all tests pass? #110

Open Dan6erbond opened 2 years ago

Dan6erbond commented 2 years ago

I couldn't find anything about this in the README.md, but whenever I run my tests which all pass, Goblin actually won't output anything and I only see the standard go test output. Is this expected?

marcosnils commented 2 years ago

are you running go test -v?

marcosnils commented 2 years ago

if you run go test multiple times, take into account that go caches the tests if they haven't changed and does not re-executes them. So it's very likely that you're hitting this; try go clean -testcache && go test -v ./...