ExGuard
NOTE: This module is experimental!
Installation
Add ex_guard to your list of dependencies in
mix.exs:def deps do [{:ex_guard, git: "https://github.com/slashmili/ex_guard.git", only: :dev}] end
Create a file named
ExGuardfilein your root directory: ```elixir use ExGuard.Configguard("unit-test") |> command("mix test --color") |> watch(~r{.(erl|ex|exs|eex|xrl|yrl)\z}i) ```
run
mix guardas soon as you change any file with above pattern, the test gets executed