Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mam-dev/pytest-litter

Pytest plugin which verifies that tests do not modify file trees.
https://github.com/mam-dev/pytest-litter

pytest-plugin robustness test-automation testing

Last synced: about 1 month ago
JSON representation

Pytest plugin which verifies that tests do not modify file trees.

Awesome Lists containing this project

README

        

# pytest-litter

Pytest plugin that, when installed, will fail test cases which
create or delete files. Tests should not modify the file tree,
because it can be a cause of test pollution as well as accidental
committing of files to the repo.

To use it, simply run
```
pip install pytest-litter
```
The only dependency is `pytest` itself.