Runs mix test.
Options
:scope—:all,:stale, or:related. Default:all.
Defaults
stage_fixed: falsefiles: ~w(**/*.ex **/*.exs)scope: :all
:related with no resolvable tests
When scope: :related is selected and related_test_files/1 produces
an empty list (no lib/foo.ex → test/foo_test.exs mappings exist on
disk), the hook returns :ok without invoking mix test. Falling
through to a bare mix test would silently run the entire suite,
which is the opposite of what the caller asked for.