add pytest-profiling to the pytest plugins, to allow for easy profiling
Add “durations=10” to pytest options, to show the 10 slowest tests in every run
Now its possible to run:
pytest —cov
generates a coverage report in build/html
pytest —profile
generates prof files in prof. These can be handled by pstats
add pytest-profiling to the pytest plugins, to allow for easy profiling
Add “durations=10” to pytest options, to show the 10 slowest tests in every run
Now its possible to run: pytest —cov generates a coverage report in build/html pytest —profile generates prof files in prof. These can be handled by pstats