Muter
github.com
- Free plan
- macOS
- Self-hosted
What Muter is
Muter is a free, open-source mutation testing utility for Swift test suites that runs on macOS 10.15 or higher. It introduces code changes, or mutants, then reports a score based on how many were detected by tests compared with the total introduced. Scores are available for the whole suite and individual files, and reports can identify surviving mutants. Muter works within Xcode, from the command line, or incrementally in CI. It supports Xcode projects and workspaces as well as Swift Package Manager, and can output plain text, JSON, HTML or Xcode issue navigator results. Its documented operators replace relational operators, remove side effects, change logical connectors and swap ternary expressions. Muter makes changes to a complete copy of the codebase rather than the original. It supports Swift projects tested with xcodebuild, including iOS, macOS, tvOS and watchOS apps, but the tool itself runs only on macOS. Objective-C is not supported. Mutation runs can take a long time, particularly UI tests.
Who it suits
Muter suits Swift teams using Xcode test targets or Swift Package Manager tests who want to assess whether their tests catch specific code changes. It is not a fit for Objective-C code or teams without macOS.
Good to know, and what to watch
- Reports mutation scores for suites and individual files.
- Supports incremental analysis in CI.
- Offers text, JSON, HTML and Xcode reports.
- Works on a copy, leaving original code unchanged.
- Runs only on macOS 10.15 or higher.
- Does not support Objective-C.
- Mutation testing can take a long time.
- Some @resultBuilder mutations may fail to compile.
Plans
Every plan and priceOpen-source Muter
Open source
The verdict
Muter provides several run modes and report formats for Swift mutation testing, with clear constraints around language and host platform. Allow for potentially long test runs and review its documented compatibility caveats.
What the maker publishes
- Compatibility caveat
- Muter documents that mutations in @resultBuilder methods may fail to compile, with the limitation noted as potentially absent when using Swift 5.9 or later. source
- Integrations
- The README documents Xcode integration, Homebrew installation, and configuration support for Xcode projects and workspaces and Swift Package Manager. source
- Language limit
- Muter supports Swift code but does not currently support Objective-C. source
- Mutation operators
- The documented operators are RelationalOperatorReplacement, RemoveSideEffects, ChangeLogicalConnector, and SwapTernary. source
- Mutation score
- Each run reports a mutation score based on the mutants killed versus the total mutants introduced, with scores for the whole suite and individual files. source
- Privacy
- The README says Muter has no network access, collects no analytics, and never phones home. source
- Purpose
- Muter is a mutation testing utility for assessing the quality of Swift test suites. source
- Reports
- Muter can output reports as plain text, JSON, HTML, or Xcode issue navigator results. source
- Run modes
- Muter can run within Xcode, from the command line, and incrementally in CI. source
- Runtime caveat
- The README notes mutation testing can take a long time and recommends allocating enough time and considering separate schemes or targets for longer-running tests. source
- Source handling
- Muter performs its work on a complete copy of the codebase so it does not leave mutations in the original code. source
- Supported app platforms
- Muter says it supports projects tested with xcodebuild, including iOS, macOS, tvOS, and watchOS, and runs only on macOS 10.15 or higher. source
- Test suites
- It supports any kind of test target or suite when the application code is Swift, though the README recommends starting with unit tests because UI tests can take a long time. source
Checked against the maker's pages on 8 Oct 2026.