Repository navigation
v0.3.0
·
104 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
- A VS Code extension: sundgren: pluck this test above each Rust and pytest test skips it in a temporary patch and shows what that does to coverage. It checks everything before running, refuses with a reason instead of guessing, and its Cancel stops the run at once. Each release has a
.vsixper platform with sundgren inside; the docs site has a page on it. (#17) sundgren run --checkchecks that a run can start without running any tests: the repository and base, uncommitted changes, whether the patch applies, the preset, the selected tests and the preset's tool checks. With pytest it also catches tests that would import the project from your checkout instead of the temporary one (an editable install with asrc/layout), which made both runs measure the same code. It printssundgren.check/1JSON, or a summary with--format text, with a one-sentence message per problem, and leaves nothing behind. (#17)- Presets can have
checks: commands that must succeed for--checkto pass. The built-in presets check that coverage.py and pytest import, or that cargo-llvm-cov or cargo-tarpaulin is installed. (#17) --all-testsruns every test, ignoring the preset's selection. (#17)sundgren runprints its progress to stderr: the base, patch and preset, which tests run, and each test run's start and duration.--silentturns this off. (#17)sundgren runwithout--patchruns the whole test suite on two checkouts of the base and compares them, to check that the tests run and give the same coverage twice. (#18)
Changed
- Ctrl-C or SIGTERM now stops a run cleanly at any point: sundgren stops the test commands, removes its worktrees and exits with 130 or 143. Before, worktrees and test processes could be left behind. (#17)
- Rust function names in reports are demangled (
mycrate::divideinstead of_RNv…6divide), and the instances of a generic function are reported once. (#17)