8000 test: add cargo-mutants minimal task for the graph wire decoder by bryan-minimal · Pull Request #654 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .minimal/minimal.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,19 @@ inherit_cwd = true
exec = "cargo clippy --all-targets -- -D warnings"
inherit_cwd = true

# Mutation-test the graph wire decoder. Runs in the Linux sandbox, where the
# graph baseline test suite is green (the spec_hasher hash assertions that fail
# on macOS pass here), which cargo-mutants requires. Scoped to wire.rs to keep
# the run bounded; widen -f / drop it to cover more.
[tasks.mutants]
description = "Mutation-test the graph wire decoder with cargo-mutants"
inherit_cwd = true
bash = """
set -e
command -v cargo-mutants >/dev/null 2>&1 || cargo install cargo-mutants --locked
cargo mutants -p graph -f wire.rs --timeout 120
"""

[tasks.arg-smoketest]
args = {
input_str = "string"
Expand Down
0