bun icon indicating copy to clipboard operation
bun copied to clipboard

Failed test error messages should be printed at the end of the output

Open Nick-Mazuk opened this issue 2 years ago • 0 comments

What is the problem this feature would solve?

When a test fails, I want to be able to identify the failure as quickly as possible to fix it. Currently when a test errors, the error message is printed inline with the output whenever the test runner decides to run the test.

As a result, in a codebase with hundreds of tests (and growing), I can quickly see when a test fails but not which test fails. To find which test that fails, I must scroll upwards.

I've worked in codebases with tens of thousands of tests, which makes this workflow unpracticle.

What is the feature you are proposing to solve the problem?

By printing all test errors at the bottom of the output, I can quickly view which tests are failing and why they're failing regardless of the number of tests in the repository.

What alternatives have you considered?

No response

Nick-Mazuk avatar Feb 20 '23 01:02 Nick-Mazuk