Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience real numbers from our own analytics — open to see them
–Visitors
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · counted by iTechGuides's own first-party analytics, bots removed, every figure rounded down · how we count

pytest-gremlins

Free#9 of 25 in Mutation Testing Tools

pytest-gremlins: A focused, open-source mutation testing plugin for Python teams using pytest. Ranked #9 of 25 in Mutation Testing Tools by our editors (6.6/10); pricing: Open source; best for pytest teams prioritizing fast CI feedback.

6.6/10Editor score
pytest-gremlins6.6 Try pytest-gremlins

At a glance

  • Editor score
    6.6 / 10
  • Pricing
    Open source
  • Best for
    pytest teams prioritizing fast CI feedback
  • Paid from
    None
  • Mutation quality gate
    Yes
  • Facts checked
    20 Sep 2026
pytest-gremlins screenshot
  • Where it wins

    • Native pytest integration with coverage-guided test selection
    • Incremental caching and parallel execution support faster feedback
    • HTML, JSON, and survivor reports support CI quality gates
  • Where it doesn't

    • Requires Python 3.11 or newer
    • Supports Python and pytest rather than multiple language ecosystems
    • Mutation results depend on the configured operator set and test suite

Our verdict on pytest-gremlins

pytest-gremlins is an open-source pytest plugin for mutation testing in Python projects. It injects configurable mutations into code, runs relevant tests, and reports which changes tests detect or miss. Developers and teams seeking test-quality feedback beyond conventional code coverage can run it locally or in continuous integration workflows. Its native --gremlins command keeps the workflow close to pytest, while the project requires Python 3.11 or newer.

The plugin’s strongest fit is a pytest-centered ecosystem. Coverage-guided selection focuses execution on relevant tests, and incremental caching uses source, test, and mutation hashes to avoid repeating unchanged work. Parallel mutation execution supports configurable workers and can work with pytest-xdist. CI workflows can use the pytest-gremlins GitHub Action for score thresholds, with GitHub Actions, GitLab CI, and pre-commit integrations covering common development and automation paths. These capabilities make it suited to teams that want mutation feedback without moving away from their existing pytest process.

Reporting and mutation control give pytest-gremlins useful depth for diagnosing test gaps. Comparison, boundary, boolean, arithmetic, and return operators can be configured, while console, HTML, and JSON reports present results in different formats. Surviving mutant reports include file locations and mutation details, helping teams investigate missed behavior rather than relying on a single score. The MIT-licensed, open-source model suits teams that prefer a Python package they can incorporate into local and CI workflows. Teams using pytest and Python 3.11 or newer should consider it; organizations needing broad language or test-framework coverage should choose a tool designed for a wider ecosystem.

pytest-gremlins pricing

Plans Open sourceFree Free to use — no paid tier required for the core job.
See plans on github.com

pytest-gremlins fact sheet

Free planNot verified
Paid fromNone
Supported languagesPython
Test frameworkspytest
Incremental analysisYes
Parallel executionYes
Surviving mutant reportsYes
Mutation quality gateYes
Mutation operatorscomparison, boundary, boolean, arithmetic, return
SupportDocs, Community
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations4 integrations: GitHub Actions, GitLab CI, pytest-xdist, pre-commit
PricingOpen source
Websitegithub.com
Facts checked20 Sep 2026

pytest-gremlins integrations

pytest-gremlins lists 4 integrations on its own site.

  • GitHub Actions
  • GitLab CI
  • pytest-xdist
  • pre-commit

Alternatives to pytest-gremlins

See all pytest-gremlins alternatives →

Used pytest-gremlins? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used pytest-gremlins for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — pytest-gremlins 6.6/10

pytest-gremlins is listed in our Mutation Testing Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/pytest-gremlins/"><img src="https://www.itechguides.com/best/badge/pytest-gremlins.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Sep 2026

Advertiser disclosure: iTechGuides is reader-supported. We may earn a commission when you click some links. How we rank.

Last updated · How we research and update