Skip to content

pasila/muzak

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.1", only: :test}
    ]
  end
end

You're now ready to get started!

$ mix deps.get
$ mix muzak

Muzak will then randomly generate up to 1000 mutations in your application and run your test suite against each of them. If your application contains more than 1000 possible mutations, then you may see different results for subsequent runs.

About

Mutation testing for Elixir

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%