pub fn main() -> Nil
Find and run all test functions for the current project using Erlang’s EUnit test framework.
Any Erlang or Gleam function in the
test directory with a name editing in
_test is considered a test function and will be run.
pub fn run(test_module_files: List(String), halts_on_error halts_on_error: Bool) -> Nil
main() but meant to be called as a function not from cli:
- Allows to specificy a list of test modules
- Allows customization of the halt behavior