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

Caching coverage output for use between tests. #22

Open
leonardoz15 opened this issue Apr 29, 2019 · 0 comments
Open

Caching coverage output for use between tests. #22

leonardoz15 opened this issue Apr 29, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@leonardoz15
Copy link
Collaborator

leonardoz15 commented Apr 29, 2019

I think it would be beneficial to save our captured coverage report form the previous test into to the provided pytest cache. With this information in the cache, we can use pytest's provided cache class to set and retrieve this information between test executions.

Our previous option was to save this information into a text file, but since it would need to be accessed on every test suite execution, this file wouldn't be able to be temporary. The advantage of using the pytest cache is that it saves information between test suite executions, and is already hidden as a convention of pytest, which our users would be using regardless.

@leonardoz15 leonardoz15 added the enhancement New feature or request label Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant