Replies: 2 comments
-
See https://docs.pytest.org/en/8.0.x/example/simple.html#profiling-test-duration |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks a lot for the response!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a project that plans to move from unittest to pytest. Since pytest supports unittest style tests out of the box, our first aim is to switch to pytest for CI jobs. But there are few tests that take really long time, it might be because how pytest is handeling those tests and we expect better test time once we have completely migrated to pytest. For the time being it would be really beneficial to have a ranking of tests that take highest amount of time so that we can start working on them beforehand.
Is there a way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions