`--duration` More precise terminal message when tests with small duration are hidden
See original GitHub issueCurrently when tests are skipped because of the --duration
flag, a generic message is printed to terminal:
(0.00 durations hidden. Use -vv to show these durations.)
I suggest to improve it slightly with the number of hidden tests, as well as precise threshold:
(7 items with duration < 0.005s hidden. Use -vv to show these durations.)
What do you think ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Gradle: How to Display Test Results in the Console in Real ...
It'll show you the result of each test while they are running. Downside is that you will get far more output for other...
Read more >Basic patterns and examples — pytest documentation
Pass different values to a test function, depending on command line options¶. Suppose we want to write a test that depends on a...
Read more >doctest — Test interactive Python examples
The doctest module searches for pieces of text that look like interactive Python sessions, and then executes those sessions to verify that they...
Read more >Command Line for Beginners – How to Use the Terminal ...
Hi everyone! In this article we'll take a good look at the command line (also known as the CLI, console, terminal or shell)....
Read more >Network features reference - Chrome Developers
This more accurately emulates a first-time user's experience, ... If you can't see the text box, the Filters pane is probably hidden.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I did already in the commit. https://github.com/pytest-dev/pytest/pull/6939/commits/8c041d3e0adaef892af84a09a6f3171a46336f8d
Thanks @laurentbristiel and @Zac-HD for the prompt feedback!
I like it a lot! Maybe tag that PR as
closes #6940
so that happens automatically?