-
Notifications
You must be signed in to change notification settings - Fork 16
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
Remove the two trailing line breaks from the console output #18
Comments
I noticed to other formatting issues. This is an example of a failed test:
Notice that there are two empty lines after the line starting with "AssertionError". Also, notice that the next terminal prompt does not start on a new line, but right after the last character of the stack trace. How about removing the one empty line after the error message and introducing a line break after a failed test? The output would look like this:
|
Real-world examples with #17 and #19 merged: A failure:
A success:
And how ugly was the test suite to get rid of the two empty lines and introduce a line break after a failure:
And how better it looks with the changes referred to above:
Or even shortened to this:
Not mentioning the need to repeat the workaround in each test fixture, which can be executed alone:
With the mentioned changes merged the fixtures include only two lines:
|
Why did you add the two trailing line breaks? They add an unnecessary white space to the log from a complete build & test phases. For example:
If you have multiple test suites, it gets worse:
How about removing the two line breaks to achieve the following output?
The text was updated successfully, but these errors were encountered: