approvals / approvals/ApprovalTests.Python

Unable to use approvaltest with mutation testing [mutmut]

Open
#195 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
212
Forks
56
Avg merge
1m
Merged PRs (30d)
1

Description

I configured in my project ApprovalTest for unit testing, and mutmut for mutation testing.

Unfortunately they don't seem to work well together.

I originally reported the issue in the mutmut repo but was mentioned that there might be a too simplified check in the assertion of multiple verify execution.

Is there any available workaround that would let me still use the two libraries together?

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the interaction between ApprovalTests for Python and mutmut using the configuration described in the issue. Inspect the assertion handling for multiple verify executions, as the linked mutmut discussion suggests it may be too simplified. Done means identifying a compatible workaround or a confirmed change needed for the two tools to work together.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.