Land CLI messrust::run tests for #68 (split from #40) - #67
Merged
Conversation
Add integration tests through messrust::run for option validation, usage text, exit-code paths, and list splitting. Include a memory-gated function-scoped mutarust batch helper for 16 GB hosts. Not done: full 75/80 acceptance gate on src/lib.rs and src/main.rs.
Add messrust::run seam tests for priority 1/5 bounds and value-option index skip mutants. Adapt mutarust-fn-batch.sh free_mb and script(1) invocation for Linux 16 GB hosts. Co-authored-by: Jonathan Baldie <jonbaldie@users.noreply.github.com>
Raise free-RAM abort and watchdog thresholds, shorten exec timeout, and scope batches to src/lib.rs so 16 GB hosts stay stable. Co-authored-by: Jonathan Baldie <jonbaldie@users.noreply.github.com>
Contributor
Split from #40Parent #40 is split into:
Native GitHub |
Keep mutarust.yml 75/80 gates in the batch helper; pass overrides only as extra args for iterative work. Arm the RAM watchdog after mutarust starts. Assert both codesize and naming fire for comma-separated rulesets. Co-authored-by: Jonathan Baldie <jonbaldie@users.noreply.github.com>
The helper hardcodes CLI test flags and src/lib.rs, so it is not shared tooling. Keep mutation batch commands on the follow-up tickets instead. Co-authored-by: Jonathan Baldie <jonbaldie@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #68 (child of #40). Does not close #40.
Land strengthened command-entry tests through
messrust::run. This PR is ticket A only: no full-file--coverageacceptance gate, and no task-local mutarust helper scripts.Changes
tests/cli.rs: option edge cases, priority bounds, value-option index skip, exit-code paths named in Mutation score 75/80 for the command entry and exit codes #40.Out of scope (follow-up tickets)
lib.rs+main.rs— blocked by Covered-MSI probe per CLI function (coverage, narrow tests) #70Put mutarust batch commands on those tickets (or run them locally). Do not commit one-off batch scripts that hardcode this ticket’s test flags and file path.
Test plan
cargo test --test cli(63 tests)cargo test(full suite, including pack smoke)cargo clippy --all-targets— no new warnings in changed files--coveragerun in this PRscripts/mutarust-fn-batch.sh