View Source Credo.Check.Warning.WrongTestFileExtension (Credo v1.7.0)

This check has a base priority of high and works with any version of Elixir.

explanation

Explanation

Invoking mix test from the command line will run the tests in each file matching the pattern *_test.exs found in the test directory of your project.

(from the ex_unit docs)

This check ensures that test files are not ending with .ex (which would cause them to be skipped).

check-specific-parameters

Check-Specific Parameters

There are no specific parameters for this check.

general-parameters

General Parameters

Like with all checks, general params can be applied.

Parameters can be configured via the .credo.exs config file.