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

Clear subtree folder when re-running a test #13

Open
thomasjm opened this issue Feb 26, 2021 · 1 comment
Open

Clear subtree folder when re-running a test #13

thomasjm opened this issue Feb 26, 2021 · 1 comment

Comments

@thomasjm
Copy link
Collaborator

Otherwise the run might be affected by the non-empty contents.

(Or, make a new numbered folder for each new run?)

@thomasjm
Copy link
Collaborator Author

Really the problem also applies not just to the "it" node, but to any ancestor node that puts things in its folder. It seems a little surprising to clear ancestor folders, since that could blow away results pertaining to other tests.

So, make a new numbered folder for every ancestor node? Or, just forget about this and count on tests to do idempotent things? The former would be most "correct".

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