Closed aronrichter closed 2 years ago
Thanks, @aronrichter! gotestdox
isn't really intended to be a test runner, in the same sense as gotestsum, for example. Its job is essentially to explain your own tests to you as sentences.
If some of those tests are failing, then yes, something is very wrong, but that's not gotestdox
's problem. It exits with a failure exit status if any tests fail, so that a CI step running gotestdox
will terminate, but that's the extent of its concern with failing tests.
When I started using this lib on some projects with many tests, it became hard to see which tests go wrong. Because of that, this PR is a suggestion to print those errors, by using
split-errors
flag, at the end of the list as the print below.