-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create 2024-07-22-monkeypatch在功能测试中的应用.md
- Loading branch information
1 parent
e8e3cc8
commit 297f948
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
|
||
# 参考文档 | ||
- [Martin Fowler: Mocks Aren't Stubs](https://martinfowler.com/articles/mocksArentStubs.html) | ||
- [Python Docs: unittest.mock.patch](https://docs.python.org/3/library/unittest.mock.html#unittest.mock.patch) | ||
- [Pytest Mock](https://github.com/pytest-dev/pytest-mock) | ||
- [TestContainer](https://testcontainers.com/guides/introducing-testcontainers/) | ||
- [TestContainer python](https://testcontainers-python.readthedocs.io/en/latest/) | ||
- [Testing Like a Pro: A Step-by-Step Guide to Python’s Mock Library](https://www.kdnuggets.com/testing-like-a-pro-a-step-by-step-guide-to-pythons-mock-library) | ||
- [Using Mocks to Test External Dependencies or Reduce Duplication](https://www.obeythetestinggoat.com/book/chapter_mocking.html) |