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

Add option to clear all old plots #18

Open
tbekolay opened this issue Aug 29, 2019 · 0 comments
Open

Add option to clear all old plots #18

tbekolay opened this issue Aug 29, 2019 · 0 comments

Comments

@tbekolay
Copy link
Member

It's pretty a pretty common annoyance to generate plots and then not know which ones are new and which ones you generated some other time. Also, it's common when iterating on a test you're writing to change the parametrizations and therefore leave a bunch of stale plots behind that are no longer valid. All to say that it would be nice to have a command line option that would remove all of the existing plots in the plot directory before generating the plots for the current run. Something like

pytest --plots-clear --plots

would clear all the plots first, then generate new ones.

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

No branches or pull requests

1 participant