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

add global @testset #440

Closed
gpucce opened this issue Nov 4, 2021 · 4 comments · Fixed by #441
Closed

add global @testset #440

gpucce opened this issue Nov 4, 2021 · 4 comments · Fixed by #441
Labels
enhancement New feature or request

Comments

@gpucce
Copy link
Member

gpucce commented Nov 4, 2021

Could we add global @testset wrapping all @testset so that if some tests don't pass one gets to see how the others went anyway?

I ask because for example I work woth WSL and the liveview test can't work here so I have to add the global @testset locally

@gpucce gpucce added the enhancement New feature or request label Nov 4, 2021
@Wikunia
Copy link
Member

Wikunia commented Nov 5, 2021

Will we still get detailed information about which tests didn't pass then? Sounds like you double checked that this solution works for you, right?

@gpucce
Copy link
Member Author

gpucce commented Nov 5, 2021

Yes, it throws error even if just one fails and you still get the stack trace for each. The only difference is that it throws the error at the end and you get a report even for those tests that are after a failing one

@Wikunia
Copy link
Member

Wikunia commented Nov 5, 2021

Sounds reasonable to me thanks for clarification

@gpucce
Copy link
Member Author

gpucce commented Nov 5, 2021

Ok nice, I will make a PR soon!

@gpucce gpucce mentioned this issue Nov 5, 2021
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants