Feature or enhancement
Proposal:
I propose adding a new option --duration to our test suite. This would print the duration of each test that has run during the test suite, to the file that the user provides.
So actual use case looks like that:
./python.exe -m test --duration tmp/stats -R 3:3
It's can be useful as the --slowest option, which already exists.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
Feature or enhancement
Proposal:
I propose adding a new option
--durationto our test suite. This would print the duration of each test that has run during the test suite, to the file that the user provides.So actual use case looks like that:
./python.exe -m test --duration tmp/stats -R 3:3It's can be useful as the
--slowestoption, which already exists.Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
--durationoption for the test suite CLI #119051