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

Hide skipped tests #1208

Closed
justinbmeyer opened this issue Jul 5, 2017 · 6 comments · Fixed by #1459
Closed

Hide skipped tests #1208

justinbmeyer opened this issue Jul 5, 2017 · 6 comments · Fixed by #1459

Comments

@justinbmeyer
Copy link

I'd like to propose a hideskipped tests url parameter that QUnit understands. We run our tests with saucelabs which has videos of the tests running. Without being able to hide skipped tests, we are unable to see which test failed.

cursor_and_sauce_labs___test_details

This would work just like hidepassed. Both should be able to be active at the same time.

Let me know if this sounds reasonable and I can probably submit a pull request. Thanks!

@rwjblue
Copy link
Contributor

rwjblue commented Jul 5, 2017

👍 - This would be very helpful for the various refactoring efforts that we have had in glimmer-vm.

@rwjblue
Copy link
Contributor

rwjblue commented Jul 5, 2017

An alternative here would be to always show failed tests above the rest (not sure if that breaks other constraints though).

@trentmwillis
Copy link
Member

Sounds reasonable to me. However, if we want to add this option to the UI (as we do with hidepassed), then we'll need to do some refactoring as I want to avoid cluttering the UI too much. We'd likely want a multi-select dropdown type feature.

@Krinkle
Copy link
Member

Krinkle commented Jun 19, 2020

Per #1315, I think hiding skipped tests and doing so by default in QUnit has potential to hide problems or make it more difficult to investigate what's going on as they would be missing by default, and thus not be there for new contributors to a code base. I can see that adding friction without much gained value.

The list of tests that have been run or considered to run is imho expected to be complete.

I do note that currently when selecting "Hide passed tests", we leave skipped tests behind and still visible. I'd be open to changing that to consider skipped ones as passing for the purpose of that option. Would that help?

@Krinkle Krinkle self-assigned this Jun 19, 2020
@rwjblue
Copy link
Contributor

rwjblue commented Jun 22, 2020

I do note that currently when selecting "Hide passed tests", we leave skipped tests behind and still visible. I'd be open to changing that to consider skipped ones as passing for the purpose of that option. Would that help?

Seems like a nice improvement to me...

@Krinkle Krinkle removed their assignment Jun 22, 2020
@Krinkle
Copy link
Member

Krinkle commented Jun 22, 2020

Thanks! I'll circle back to this over the coming weeks. Got a few other issues and PRs to handle first but patch welcome in the meanwhile :)

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

Successfully merging a pull request may close this issue.

4 participants