tverlaan / muzak

Mutation testing for Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Muzak

Mutation testing for Elixir!

Getting Started

To get started with mutation testing, first add muzak as a dependency in your mix.exs file and set the preferred_cli_env for muzak to test:

defmodule MyApp.Mixfile do
  def project do
    [
      # ...
      preferred_cli_env: [muzak: :test]
    ]
  end

  # ...

  defp deps do
    [
      # ...
      {:muzak, "~> 1.0", only: :test}
    ]
  end
end

You're now ready to get started!

$ mix deps.get
$ mix muzak

Muzak will then randomly generate 25 mutations in your application and run your test suite against each of them. Each time you run mix muzak you will see different results.

About

Mutation testing for Elixir

License:Other


Languages

Language:Elixir 100.0%