API Reference Muex v#0.8.1
View SourceModules
Muex - Mutation testing library for Elixir, Erlang, and other languages.
Command-line interface for Muex mutation testing.
Compiles mutated ASTs and manages module hot-swapping.
Central configuration for Muex mutation testing runs.
A line-level coverage index: which test files execute which source lines.
Analyzes test files to determine which tests depend on which modules.
Sound detection of equivalent mutants.
Analyzes source files to determine which ones should be included in mutation testing.
Maps a git diff to the set of source lines a change touched, so mutation testing can be scoped to exactly what a branch/PR modified.
Behaviour for language adapters that provide AST parsing, unparsing, and compilation.
Language adapter for Elixir source code.
Language adapter for Erlang source code.
Loads and parses source files using a language adapter.
Sophisticated heuristics to minimize the number of mutants while maintaining mutation testing effectiveness.
Behaviour for mutation operators that transform AST nodes.
Mutator for arithmetic operators.
Mutator for boolean operators and literals.
Shared construction helpers for mutators.
Elixir-specific mutator that deletes a clause from a case expression.
Mutator for comparison operators.
Elixir-specific mutator that deletes a clause from a cond expression.
Mutator for conditional expressions.
Elixir-specific mutator that swaps Enum functions for their semantic
opposite.
Mutator for integer division/remainder and bitwise operators that the
Arithmetic mutator (+, -, *, /) does not cover.
Mutator for function calls.
Elixir-specific mutator that removes a when guard constraint.
Mutator that inverts unary negation.
Mutator for literal values.
Mutator that replaces a relational operator with its logical complement.
Elixir-specific mutator that drops a stage from a pipe chain.
Mutator that replaces function return values with type-appropriate zero values.
Mutator that removes individual statements from blocks.
Elixir-specific mutator that deletes a <- clause from a with expression.
Reports mutation testing results to the terminal.
HTML reporter for mutation testing results.
JSON reporter for mutation testing results.
Builds a compact before/after snippet for a mutation.
Runs tests against mutated code.
Creates isolated working directories for parallel mutation testing.
Trivial Compiler Equivalence (TCE) for mutants.
Runs tests in isolated Erlang port processes.
Manages a pool of workers for parallel mutation testing across all files.
Mix Tasks
Run mutation testing on your project.
Installs muex into a project. Requires igniter.