Elektrine lite

← Feed

@NicolasRinaudo@functional.cafe

2026-09-14 15:17 UTC

I think I'll be venting about bad testing practices for the next few days. Latest find: if you're testing a system that needs to write things to the file system, you should use a temporary folder for that. You certainly *should not use your project's resource directory for that*.

Replies (1)

  • If you have multiple tests that need to write to a folder, look at the output, then clean it, please consider that sometimes tests are executed in parallel and *use different output directories for each*.

    Open ##4710500