dsh-test-impact: Explainable Test Impact Analysis for Python/pytest
dsh-test-impact is a DeepSeek Harness (DSH) workflow plugin maintained by DengyiGu, providing static test-impact analysis for Python/pytest repositories. It traces reverse import chains from changed files to locate associated tests, then outputs dependency paths, unresolved references, and suggestions for expanded verification—without executing the code under test. It integrates with the DSH tools `test_impact` and `dep_graph`, and also ships as a standalone CLI. Requirements: Node.js 24.9+, Python 3.11+, and optionally Git for change diffing. To install, either enter the GitHub URL via DSH Plugins or run `dsh plugin add` specifying tag v0.1.0. Result objects include fields such as `recommended` and `widening`; when the analysis is incomplete or dynamic imports are present, adopt a conservative approach and add tests accordingly. Licensed under MIT. The plugin runs with the same permissions as the DSH process—review the source code before use.
Read More