I refactored how the paths for the different files and directories are obtained, so that it's possible to specify the root from an environment variable. This made it simple to write to integration tests on the CLI that snapshots the content of file generated by foreman.
I don't want to go too deep in the test cases for this PR, but this sets up the pattern.
I refactored how the paths for the different files and directories are obtained, so that it's possible to specify the root from an environment variable. This made it simple to write to integration tests on the CLI that snapshots the content of file generated by foreman.
I don't want to go too deep in the test cases for this PR, but this sets up the pattern.
Closes #17