franela / goblin

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

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

Open Dan6erbond opened 1 year ago

Dan6erbond commented 1 year 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 1 year ago

are you running go test -v?

marcosnils commented 1 year 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 ./...