Mutation testing credited by the share of product code its targets cover

Open
#620 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
testing

Research direction

Start by reading the reach model in issue #458 and the related mutation testing work in #556; this issue names no repository files or tests. Determine how to measure the share of product lines covered by each tool’s mutation targets and how those fractions fit into policy TOML. Done means coverage credit is defined for mutmut, Stryker, PIT, and cargo-mutants, with tests confirming the fractions.

Written by the indexing model from the issue text.

Description

The reach half of #556, split off because it depends on a reach model like #458's.

What

Credit mutation testing by the share of product lines its targets cover. Read mutmut's source_paths / paths_to_mutate, Stryker's mutate, PIT's targetClasses, and cargo-mutants' --file / examine_globs. The fractions go in a policy TOML.

Not planned for the release unless decided otherwise.

Split from #556.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Dominant language
Python
Stars
4
Forks
1
Avg merge
6h 31m
Merged PRs (30d)
238

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cpp-best-practices/project_validator

All issues in cpp-best-practices/project_validator

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.