Debian Codegraph @

context/writing-tests.md

raw
1 # Writing tests
2
3 ## Test expectations for pull requests
4
5 - Appropriate tests are required and should cover the changed code.
6 - Unit tests should be pytest style, and functional rather than tightly coupled to mocking.
7 - Integration tests are required for almost all plugin changes (tests the public API).
8 - Tests should exercise the actual changed code, not just add random coverage.