Write or adjust the smallest relevant unit or integration tests for the affected area in this repository. Use when a change needs minimal coverage added without broad refactors.
Use this skill when the task is to add or adjust tests for a concrete change.
Add the minimum relevant coverage for the affected behavior and nothing broader. For algorithm examples in this repository, read the example source first and create the corresponding test file in the same directory as the code under test.
When the user does not specify a narrower target, prioritize changes under these repository areas:
book-examples/inverviews/ (interviews/ in user wording; keep the repository's actual folder name)others-examples/python-challenges-book/Prefer writing or adjusting tests for code in those directories before considering scripts/ or other repo areas.
For files under the preferred scope, place tests next to the implementation file instead of requiring a central tests/ directory.
test_<module_name>.py when the filename is a valid Python module stem.<module_stem>_test.py.pytest, unittest, Makefile, pyproject.toml, package.json, or existing test files.unittest.Report: