Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change order in the 'epilogue' #978

Closed
TheLudd opened this issue Sep 19, 2013 · 1 comment
Closed

Change order in the 'epilogue' #978

TheLudd opened this issue Sep 19, 2013 · 1 comment

Comments

@TheLudd
Copy link

TheLudd commented Sep 19, 2013

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:

  1. Progress
  2. Summary
  3. 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:

  1. Progress
  2. Stack traces
  3. 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.

@hallas
Copy link

hallas commented Oct 6, 2013

Thanks for your input. We're gonna keep this in mind. Perhaps you could write your own reporter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants