Timeline for Clean up directories and files when a unit test fails
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2023 at 15:21 | vote | accept | buhtz | ||
Oct 18, 2022 at 12:40 | comment | added | buhtz | Yes to your first question and now to your second. ;) | |
Oct 18, 2022 at 11:32 | comment | added | Toby Speight | Do you actually need to name the temporary directory, or could you create a tempdir, and then have your named directory inside that? | |
Oct 18, 2022 at 8:43 | vote | accept | buhtz | ||
Oct 18, 2022 at 8:43 | |||||
Oct 18, 2022 at 8:43 | comment | added | buhtz |
Thanks for the thought. I forgot that point. What I need is tempfile.NamedTemporaryDirectory() which does not exist. I need to name that directory.
|
|
Oct 18, 2022 at 8:32 | history | answered | Toby Speight | CC BY-SA 4.0 |