View Source TestIex (maxo_test_iex v0.1.6)

Allows running test files by substring of their names

Link to this section Summary

Functions

Run all matching test files

Run the first matching test file with a line selector

Stop watching changes on files

Set which test files / lines should run on each file change TestIex.Config.test_file_globs() defines which files would trigger a re-run

Link to this section Functions

Run all matching test files

Examples:

iex> TestIex.run("user") iex> TestIex.run("user_test.exs") iex> TestIex.run("some_file:12")

Run the first matching test file with a line selector

Examples: # run first matching file for "user" on line 40 iex> TestIex.run("user", 40)

# same as iex> TestIex.run("user:40")

Stop watching changes on files

Set which test files / lines should run on each file change TestIex.Config.test_file_globs() defines which files would trigger a re-run