I have a command line application and approx. 50 test cases in tests/integration.rs
For one particular test case I need to change the directory and after having run that test I switch back to the directory above tests/.
The problem is that other tests are affected by the
env::set_current_dir as the tests run in many threads.
How could I organize my tests so that
env::set_current_dir does not affect the other test cases?