Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hypothesis for property based testing #467

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/pages/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ layout: default
| [pytest-cov](https://pytest-cov.readthedocs.io/en/latest/index.html) | A framework to generate coverage reports that plays nicely with `pytest`. | 🟢 |
| [pytest-mock](https://pytest-mock.readthedocs.io/en/latest/index.html) | A framework to mock/patch objects that plays nicely with `pytest`. | 🟢 |
| [pyfakefs](https://pytest-pyfakefs.readthedocs.io/en/latest/) | A plugin to create a full fake file system, for situations where you need something more complicated than the built in [`tmp_path` fixture](https://docs.pytest.org/en/stable/how-to/tmp_path.html#how-to-use-temporary-directories-and-files-in-tests). | 🟢 |

## Property Based Testing
paddyroddy marked this conversation as resolved.
Show resolved Hide resolved

| Name | Short description | 🚦 |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------ | :-: |
| [Hypothesis](https://hypothesis.readthedocs.io/en/latest/quickstart.html) | Allows one to easily test multiple inputs for a given function with ease | 🟢 |