[ ] Each unit test should destroy any files that it creates.
[ ] None of the directories listed under "Background" below should exist after the unit tests have run.
Background
The problem
Some unit tests create namespaced config files
ksandom@delli:~/.config$ ls -1d handWavey?*
handWaveyConfigTest
handWaveyConfigTest2.yml
handWaveyConfigTest4
handWaveyConfigTest.yml
handWaveyUnitTest
Solution
The Config package is going to become its own library soon. It has complete knowledge of all files that it creates. So it would be nice for it to include a destroy() function that goes and destroys all of the files and the folder that it creates.
Success
Background
The problem
Some unit tests create namespaced config files
Solution
The Config package is going to become its own library soon. It has complete knowledge of all files that it creates. So it would be nice for it to include a
destroy()
function that goes and destroys all of the files and the folder that it creates.