Muzak Pro
Muzak Pro is a full-featured mutation testing tool for Elixir.
Getting started
Getting started is easy! First add Muzak to your project as a dependency in mix.exs
and set
muzak
to run in the test
Mix environment:
defmodule MyApp.Mixfile do
def project do
[
# ...
preferred_cli_env: [
muzak: :test,
"muzak.gen.config": :test
]
]
end
# ...
defp deps do
[
# ...
{:muzak, "~> 0.1", git: "https://username:password@git.devonestes.com/muzak/muzak.git", tag: "1.0.0", only: :test}
]
end
end
Then you'll be able to run the following commands to get your first mutation test running!
$ mix deps.get
$ mix muzak.gen.config
$ mix muzak --mutations 1
Now that you're set up, you'll want to take some time to read about what mutation testing can help with, what some of the common issues are, some solutions to those issues, and all of the ways in which Muzak can be configured to help you get the most out of your mutation testing experience.