ksandom / handWavey

A more intuitive/usable desktop control using leapmotion/ultraleap.
https://www.randomksandom.com/handWavey/
GNU General Public License v3.0
20 stars 1 forks source link

Clean up configuration created by unit tests #13

Open ksandom opened 2 years ago

ksandom commented 2 years ago

Success

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.