Currently, when we run tests locally, it creates few temporary folders. We are manually creating them and deleting them. It would be cleaner if we can make use of pytest's fixtures to create temporary files/directories and clean them up after completion of tests. Will be easier and set a standard for all the future temporary data lifecycle
Currently, when we run tests locally, it creates few temporary folders. We are manually creating them and deleting them. It would be cleaner if we can make use of pytest's fixtures to create temporary files/directories and clean them up after completion of tests. Will be easier and set a standard for all the future temporary data lifecycle
Reference documentation : https://docs.pytest.org/en/6.2.x/tmpdir.html