Skip to content
SPECIFICTION
Get listed

MuJava vs Muter

MuJava

albany.edu

Muter

github.com

Side by side

FigureMuJavaMuter
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYes—
macOSYesYes
LinuxYes—
Self-hosted—Yes
Plans published11
Spec score · Mutation Testing Tools8.4 (#3)7.5 (#14)
Mutation operatorsIt creates object-oriented mutants using 24 class-level operators and also supports method-level operators.The documented operators are RelationalOperatorReplacement, RemoveSideEffects, ChangeLogicalConnector, and SwapTernary.
PurposeMuJava automatically generates mutants for Java programs for traditional method-level and class-level mutation testing.Muter is a mutation testing utility for assessing the quality of Swift test suites.

Plans

MuJava

  • µJavaFree

MuJava pricing →

Muter

  • Open-source MuterFree

Muter pricing →

In their own words

MuJava

MuJava is a free, open-source tool for mutation testing of Java programs. It generates mutants for individual classes and packages, using 24 class-level operators as well as method-level operators, then runs tests against those mutants and evaluates mutation coverage. Tests must be JUnit test cases with public test classes and methods that call the classes under test; JUnit test suites are not supported. Equivalent mutants require manual identification, and the documentation says they typically make up 5% to 20% of mutants. Version 4 supports Java 1.6 language features, including generics, annotations, enumerations, varargs, enhanced for-each loops and static imports. Setup uses two JAR files and a configuration file, with Java CLASSPATH and PATH configuration. The documented workflow uses Java GUI applications; a command-line interface called muScript was released in March 2014, and an Eclipse plugin was created in 2007. The project is provided as-is, without guarantees of answers, repairs or improvements. It is available for Linux, macOS and Windows.

Visit albany.edu

Muter

Muter is a free, open-source mutation testing utility for Swift test suites on macOS. It changes code in a complete copy of the codebase, leaving the original untouched, then reports mutation scores for the full suite and individual files. Runs can happen in Xcode, from the command line or incrementally in continuous integration. Configuration covers Xcode projects, workspaces and Swift Package Manager. Reports can be plain text, JSON, HTML or Xcode issue navigator results, including surviving mutants. Documented operators replace relational operators, remove side effects, change logical connectors and swap ternary expressions. Muter supports projects tested with xcodebuild, including iOS, macOS, tvOS and watchOS applications, but the utility runs only on macOS 10.15 or newer. It supports Swift, not Objective-C. Any test target or suite can be used with Swift application code, although UI tests may take a long time. The project states that it has no network access and collects no analytics.

Visit github.com