Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up configuration created by unit tests #13

Open
2 tasks
ksandom opened this issue Mar 17, 2022 · 0 comments
Open
2 tasks

Clean up configuration created by unit tests #13

ksandom opened this issue Mar 17, 2022 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@ksandom
Copy link
Owner

ksandom commented Mar 17, 2022

Success

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

@ksandom ksandom added bug Something isn't working enhancement New feature or request labels Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant