bitfield / gotestdox

A tool for formatting Go test results as readable documentation
https://bitfieldconsulting.com/golang/test-names
MIT License
114 stars 4 forks source link

Report failing fuzz tests #15

Closed bitfield closed 1 year ago

bitfield commented 1 year ago

Previously fuzz test results were just completely ignored, which makes sense if you think of gotestdox as a documentation-generating tool. Fuzz cases are autogenerated and don't tend to have names that would be interesting as sentences.

But if you use gotestdox as a test runner, then we have to take into account that fuzz cases can fail. In that case, it's helpful to see what's failing and why.

So, the compromise solution that everyone will hate is that gotestdox now reports fuzz test names, but only if they're failing.