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

print out the failed tests after the summary #554

Merged
merged 6 commits into from
Aug 22, 2019
Merged

Conversation

oygen87
Copy link
Contributor

@oygen87 oygen87 commented Aug 8, 2019

We have 575 tests and it is a problem to scroll up the terminal to see which tests failed.
So I added a summary of all the failed tests down under with a red label next to them.

These changes will only affect cases when we have failed tests (If all tests pass, it will look like before.)

Also some refactoring to use existing TestResult model and populate it with the test results. We only initialized it before when going Serial testing and could not extract the details from each test afterwards.

proposed look :
deno-test-runner2

@oygen87 oygen87 changed the title print out the failed tests after the summary [WIP] print out the failed tests after the summary Aug 9, 2019
use existing model that didnt get populated with test results. only initialized to default values. 
Show error message underneith aswell, but added option so we can turn it off. 
but usually we want to know what the error is and not only the name(just like when we run the tests and print out the error, now we see them at the bottom summary too)
@oygen87 oygen87 changed the title [WIP] print out the failed tests after the summary print out the failed tests after the summary Aug 9, 2019
testing/mod.ts Outdated Show resolved Hide resolved
testing/mod.ts Outdated Show resolved Hide resolved
@ry
Copy link
Member

ry commented Aug 12, 2019

Cool - looks good. I will wait for #556 before landing this one.

@ry
Copy link
Member

ry commented Aug 22, 2019

@bartlomieju PTAL

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too

@ry ry merged commit ed1b9e0 into denoland:master Aug 22, 2019
ry pushed a commit to ry/deno that referenced this pull request Oct 9, 2019
inverted-capital pushed a commit to dreamcatcher-tech/napps that referenced this pull request Oct 24, 2024
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

Successfully merging this pull request may close these issues.

4 participants