Run tests automatically on save
Running your tests automatically every time you save helps a lot with languages like Elixir.
Install the dependency
# mix.exs (v1.13)
def deps do
[
{:mix_test_watch, "~> 1.0", only: :dev}
]
endConfigure it in your project
# config/config.exs
import Config
if config_env() == :dev do
config :mix_test_watch,
clear: true
endStart watching for changes
Example
