From ae3bd7d564d7b85130987df36219a41abb3ccdaf Mon Sep 17 00:00:00 2001 From: Abolfazlrwm <206173650+Abolfazlrwm@users.noreply.github.com> Date: Thu, 26 Nov 2026 23:25:38 +0000 Subject: [PATCH] Add pytest book, mock, and Hypothesis resources to the Testing section - Adds the pytest fixtures how-to guide and the widely-reviewed 'Python Testing with pytest' book by Brian Okken to the PyTest entry - Adds a Python mock package subsection with the official unittest.mock documentation - Adds a Hypothesis subsection covering property-based testing --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index f2b7395..8556a7d 100644 --- a/README.md +++ b/README.md @@ -704,6 +704,20 @@ Before you head over, read the [Contribution Guide](CONTRIBUTING.md) first. You - **Documentation** - [Official PyTest Documentation](https://docs.pytest.org/en/stable/index.html) + - [How to Use PyTest Fixtures](https://docs.pytest.org/en/stable/how-to/fixtures.html) + + - **Book** + - ✅ [Python Testing with pytest, Second Edition by Brian Okken](https://pragprog.com/titles/bopytest2/python-testing-with-pytest-second-edition/) + + - #### Python `mock` Package + + - **Documentation** + - [unittest.mock — Mock Object Library](https://docs.python.org/3/library/unittest.mock.html) + + - #### `Hypothesis` Property-Based Testing Package + + - **Documentation** + - [Official Hypothesis Documentation](https://hypothesis.readthedocs.io/en/latest/) - #### DRF Test Framework