Skip to content

Commit 473576f

Browse files
authored
Always display the 10 slowest test when running pytest. (#564)
This is useful when inspecting CI builds to have an idea of what takes the longest time – especially since CI may have some slow resources (disk, network). And may help to speedup test suite, which is always good for fast development.
1 parent c18537d commit 473576f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[pytest]
22
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS IGNORE_EXCEPTION_DETAIL
3+
addopts = --durations=10
34

0 commit comments

Comments
 (0)