https://github.com/devonestes/muzak
Mutation testing for Elixir
https://github.com/devonestes/muzak
Last synced: 7 months ago
JSON representation
Mutation testing for Elixir
- Host: GitHub
- URL: https://github.com/devonestes/muzak
- Owner: devonestes
- License: other
- Created: 2020-10-09T20:24:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T07:33:51.000Z (about 3 years ago)
- Last Synced: 2025-06-20T12:16:34.260Z (8 months ago)
- Language: Elixir
- Size: 63.5 KB
- Stars: 68
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`:
```elixir
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!
```bash
$ 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.