Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mam-dev/pytest-litter
- Owner: mam-dev
- License: apache-2.0
- Created: 2023-08-04T15:36:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-11T14:05:13.000Z (9 months ago)
- Last Synced: 2024-11-22T04:08:56.002Z (about 1 month ago)
- Topics: pytest-plugin, robustness, test-automation, testing
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.