-
-
Notifications
You must be signed in to change notification settings - Fork 99
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 PASS
tests/Show only FAIL
tests
#1317
Comments
Hi there — this is possible with the --status-level option. I'd recommend setting it to --status-level slow. See https://nexte.st/book/other-options.html#--status-level-and---final-status-level. |
Amazing, that's indeed what I was looking for. This way you could tell nextest to only display failing tests and skipped tests. Failing because these matter the most, and skipped so you don't forget your ignored tests. Displaying skipped is more useful than displaying passed, but skipped implies passed currently. |
Interesting, hadn't thought of it that way! Will think through the implications of that. I think that passed is generally more important than skipped, but skipped + failed makes a ton of sense. |
Interesting. My reasoning was the following:
Hence why I thought that maybe skipped could have higher priority than failed. |
If you run just one test on the CLI, though, you don't want to see the entire list of other tests as skipped. But I definitely see the argument for failed + skipped, and I think I have a design in mind to support both cases. |
For me, the output of
cargo nextest
is sometimes a bit too verbose. Sometimes I would prefer not to see all the "PASS" messages, but only the FAILED ones. This would be handy especially in a project with many tests, as it would make for a lot more concise output. There's not as much need to know which tests are passing, compared to which ones are failing. Is this possible?The text was updated successfully, but these errors were encountered: