matplotlib / matplotlib/pytest-mpl

Parametrized test tolerances

Open
#124 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
272
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Sometimes only one or two images need an increased tolerance, but we can only increase tolerance on the entire test set.

I'm not sure how best to indicate it. Maybe by using a marker on one of the parameters.

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 tracing how parametrized tests currently apply tolerance across an entire test set. Review the existing tolerance configuration and image-comparison entry points, then determine how a parameter marker could identify selected images. Done means individual parameters can request increased tolerance without changing the tolerance for the rest of the set.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.