sandwich icon indicating copy to clipboard operation
sandwich copied to clipboard

Clear subtree folder when re-running a test

Open thomasjm opened this issue 5 years ago • 1 comments

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

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

thomasjm avatar Feb 26 '21 06:02 thomasjm

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".

thomasjm avatar Mar 19 '21 21:03 thomasjm