-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-4080: unittest durations #12271
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
Merged
Merged
bpo-4080: unittest durations #12271
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
6f0b1fe
print durations
giampaolo 2b16e57
don't print duration if not verbose
giampaolo 49aa791
add cmdline arg (bool) to toggle durations
giampaolo 4830509
make --durations arg accept a mandatory int value
giampaolo f8a49d3
print durations
giampaolo 875e93d
hide durations < 0.000
giampaolo 59dfc67
minor cosmetic changes
giampaolo c92bc24
don't use bare except clause
giampaolo d88087e
add a public addDuration method to TestResult
giampaolo 1952ffa
fix TypeError occurring on skip
giampaolo 9f308dc
Merge branch 'master' into unittest-durations
giampaolo 226288a
fix unit tests
giampaolo 89e915f
add a couple of tests for runner
giampaolo 968c3af
don't add durations multiple times + write durations test
giampaolo a8b38e9
don't print header if there are no durations
giampaolo f95edc7
small refactoring
giampaolo 9beb931
add doc
giampaolo 86fc3f8
update doc
giampaolo a1f5e49
improve test
giampaolo 9d98536
use example from stdlib
giampaolo 7223bc9
ignore me
giampaolo 3c4af91
merge from master
giampaolo 3f4d638
address PR review (amongst which, show slowest tests firsts)
giampaolo b3bb3e0
update doc samples
giampaolo a93b460
fix doc syntax
giampaolo 0a6bcbb
Merge branch 'master' into unittest-durations
giampaolo 961ba55
merge from master
giampaolo d0330f6
update doc
giampaolo 9935349
update doc
giampaolo f4cd001
rephrasing
giampaolo 4471928
forgot pdb line
giampaolo 6412439
update whatsnew
giampaolo 1a9c098
update code to latest main branch
giampaolo c917206
updated Misc/NEWS entry
giampaolo 5a4e21b
merge from main
giampaolo 2ffe250
address review comments
giampaolo 2fdfe1d
add test
giampaolo c0e137e
no longer print individual test durations
giampaolo 86a094c
remove duplicated test
giampaolo 3649013
calculate duration time after cleanup methods
giampaolo 3217b89
reword doc / cmdline help
giampaolo b2b37ad
move TextRunner test in test_runner.py
giampaolo 2b7f3dc
improve unit test
giampaolo cfd65b0
remove code which is no longer used
giampaolo 4772f96
Merge branch 'main' into unittest-durations
giampaolo 3ea0be8
Merge branch 'main' into unittest-durations
giampaolo 19f9c4b
address @ezio-melotti code review comments
giampaolo ed5f317
Merge branch 'main' into unittest-durations
giampaolo e6d3b58
Update 3.12.rst
giampaolo 90a3d70
Update 3.12.rst
giampaolo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.