-
Notifications
You must be signed in to change notification settings - Fork 116
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
Dots format outputs only on one line #41
Comments
I was hoping to be able to do one package per line as well. When I went to implement the format I noticed that the output from Because of the ordering you'd end up with the dots on each line not matching the tests in the package, which I found to be misleading. The problem still exists with the single line format, but at least that way it doesn't look as much like the dots necessarily match the proceeding package. I'm not sure if that behaviour has changed in a more recent version of Go. I believe it has to do with |
If I understand that correctly, it means that a test dot can be printed to another package? And so if we have a failing test, it can be printed to a wrong package, then misleading if you try to find the failing test in the wrong package? |
Ya, it probably isn't. I kept it around hoping there would be some way to fix it. I think one package per line would be possible by keeping track of which package is on which line and moving the cursor to print on that line, like how download progress clis work, but I expect that would be some work. |
Yep I thought about that too
Sure it would 😄 |
Should I close this issue? |
I think we should keep it open. It is a good idea, and maybe one day it will get implemented. |
I put up #79 which implements this format |
While trying the
dots
format on thedocker/cli
unit tests, it printed everything on one lineI would have expected a line per package, but maybe I'm missing something with the
dots
format usage:The text was updated successfully, but these errors were encountered: