Skip to content
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

Store durations with option keeps the timing of already run testcases #80

Open
haicheviet opened this issue Sep 12, 2023 · 0 comments
Open

Comments

@haicheviet
Copy link

haicheviet commented Sep 12, 2023

Description

Thanks for the great lib, but I would like to have the option to keep the timing of the tests that have already been run. This would allow me to avoid re-update tests that I know will not change much, and it would also make it easier to track the performance of my test suite over time in git.

Solution Proposed

I think this could be implemented by update option store_durations into category: [keep, replace], and it would be default to replace.

I believe this would be a useful feature for many users of pytest-split and if you think the proposed solution is good to go. I happy to contribute and create a PR for this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant