-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflawd.toml
More file actions
50 lines (44 loc) · 1.47 KB
/
Copy pathflawd.toml
File metadata and controls
50 lines (44 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[languages]
enabled = ["rs"]
[coverage]
inputs = [
{ format = "lcov", path = "coverage/lcov.info" }
]
command = "mkdir -p coverage && cargo llvm-cov --workspace --lcov --output-path coverage/lcov.info"
timeout_seconds = 300
[coverage.per_test]
# auto mode: flawd collects per-test coverage on first run
mode = "auto"
granularity = "test_function"
# coverage.command above is a compound shell command; declare how to COLLECT
# per-test coverage directly (execution still uses [test] command).
collect_language = "rust"
collect_command = "cargo test --workspace"
[test]
command = "cargo test"
# Compile-once step for schemata batches (gets a 3x timeout allowance);
# without it the first run of each batch pays the rebuild inside its own
# timeout — and historically, batch compile failures scored as fake kills.
build_command = "cargo test --no-run"
timeout_seconds = 600
baseline_required = true
[mutations]
budget = 400
per_file_budget = 80
operators = ["core", "comparisons", "boolean", "returns"]
risky_operators = false
[pare]
dedupe = true
sampling = "weighted"
cache = true
max_batch_seconds = 300
max_batch_mutants = 25
[docker]
dockerfile = "Dockerfile"
workdir = "/app"
network = "bridge"
# The Dockerfile embeds the source tree (and warm cargo caches) at /app.
# Bind-mount coverage would deliver the host target/ into the container —
# wrong-architecture binaries on PATH for subprocess tests, and container
# builds writing into the host cargo cache.
coverage_source = "image"