Python DeltaTest — Intelligent Test Selection for VS CodeRun only the tests affected by your code changes — with inline coverage glow and auto-refresh.
Delta is an intelligent test runner that maps every line of your source code to the exact tests that cover it. When you change code, Delta instantly knows which tests to run — and which ones to skip. This VS Code extension brings Delta directly into your editor with inline coverage visualization, live test highlighting, and a built-in control panel. Getting Started1. Install the Delta CLIInstall the command-line utility inside your active virtual environment:
2. Build Your Mapping DatabaseRun your tests once to build the initial coverage mapping database:
This creates 3. Open VS Code & Enjoy Smart CoverageOpen your project in VS Code. The extension will automatically find your mapping database and display soft, color-coded highlights directly behind the covered lines. Hover over any covered line to see exactly which tests execute it. 4. Run Affected TestsWhenever you make changes, click the Run Affected Tests button in the Delta panel (or run FeaturesInline Coverage GlowEvery line covered by at least one test gets a soft, color-coded glow directly in your editor. Hover over any line to see a list of the exact tests covering it. Interactive Control PanelDirectly inside VS Code's sidebar settings view, you can:
Auto-RefreshThe extension watches your mapping database and updates the editor highlights automatically after every test run. Configuration
Links
|
