You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing test first programming I obviously start out a working session with a lot of failing tests. It seems to me that the output from mocha (any terminal reporter) was not designed with this in mind since the output is in this order:
Progress
Summary
Stack traces
The stack traces obviously requires a lot of space so when working on my code to make a test pass I always have to scroll up to see if I make any progress since all the stack traces fill up the terminal. I think a better order would be:
Progress
Stack traces
Summary
This way the summary would always be shown when the test run is complete. If I need to read a stack trace and/or the the description from the failing test I would have to scroll up, but that's no different from how it is today.
Possibly, the summary could contain the descriptions of the failing tests.
I think this would be an improvement of how the tests results are presented.
The text was updated successfully, but these errors were encountered:
When doing test first programming I obviously start out a working session with a lot of failing tests. It seems to me that the output from mocha (any terminal reporter) was not designed with this in mind since the output is in this order:
The stack traces obviously requires a lot of space so when working on my code to make a test pass I always have to scroll up to see if I make any progress since all the stack traces fill up the terminal. I think a better order would be:
This way the summary would always be shown when the test run is complete. If I need to read a stack trace and/or the the description from the failing test I would have to scroll up, but that's no different from how it is today.
Possibly, the summary could contain the descriptions of the failing tests.
I think this would be an improvement of how the tests results are presented.
The text was updated successfully, but these errors were encountered: