Repository navigation
Releases
Releases · DaniloFG/CoverageTools
v0.1.1
Run Coverage...lists the test projects of the workspace and runs the
ones you tick, so a workspace with many projects no longer has to run all
of them. Nothing is ticked the first time; afterwards the projects run last
time come ticked. It is now the button in the Testing view title.Run All Coverageis kept: Command Palette, the...menu of the Testing
view, and a button in theRun Coverage...list.- Sequential or parallel runs, chosen with
coverageTools.run.modeor the
switch button of theRun Coverage...list. Sequential stays the default,
so that coverage runs do not take over the machine's processor and memory. - Parallel runs adapt to the machine: at most half the processor cores (4 at
most, orcoverageTools.run.maxParallel), never more runs than the free
memory holds, and no further run while memory is short. A machine with few
cores or little memory runs in sequence in either mode. .NET projects always
run one after another.
v0.1.0
Added
- Accumulated coverage for every project in the workspace, shown through VS
Code's native Test Coverage UI: per-file and per-folder percentages,
coverage bars and line-by-line highlighting. Running one project updates
only that project's numbers. Run All Coverageruns every test project in the workspace, one at a time,
with progress and cancellation (Command Palette and Testing view title).Run Coverage Herein the Explorer right-click menu runs a test project,
solution, folder or test file; it appears only where there are tests to run,
and partial runs add to the project's coverage.- Automatic detection of coverage reports written by runs made outside the
extension (terminal, tasks, scripts): Cobertura, Istanbul JSON and LCOV,
whatever tool wrote them, and coverage.py.coveragedata files. - .NET (C#) support for VSTest test projects, using the coverage collector
the project already has, and for Microsoft.Testing.Platform test projects
(MSTest, NUnit, xUnit v3, TUnit) through the platform's code coverage
extension. - Node support for Jest and Vitest, with or without a
testscript, and for
any other tool (Mocha, AVA,node --test, …) through a bundled c8. - Python support for pytest and
unittest, through pytest-cov or
coverage.py. - Single projects and monorepos handled without configuration
(coverageTools.nestedProjectsfor nested projects), and a custom coverage
command per project (coverageTools.commands). - A status bar item with the accumulated total, showing the same percentage
as the root of the Test Coverage view, with a per-project tooltip; a click
brings the accumulated coverage back after another extension's run. Show CoverageandClear Coveragecommands.- Read-only behaviour in untrusted workspaces: no command runs, reports are
still read. - Lightweight operation: no work at startup or at rest, one file watcher per
workspace folder, and report parsing off the main extension thread. - Usage screenshots in the README, captured from the sample workspace.
- Automatic releases: every new version is published to the VS Code
Marketplace (and Open VSX) and attached as a .vsix to its GitHub release.