ltest-runner
Provide the legacy test-runner API and dispatch EUnit test groups.
--loaded-ltest-records--/0function
--loaded-ltest-records--/0Return ok. This dummy function marks the end of the include so the REPL prints its name as the last function loaded.
all/0function
all/0Run unit, integration, system, then the optional legacy Selenium path; return the first non-ok result after running each path.
first-non-ok/1function
first-non-ok/1Return the first non-ok legacy group result, or ok on full success.
get-listener/0function
get-listener/0Read the listener init argument, default to ltest-listener, and convert its first value to an atom.
get-options/1function
get-options/1Return no_tty and report options for LISTENER with the legacy colored option; the listener defaults color to true when omitted.
get-options/2function
get-options/2Return no_tty plus a report option containing LISTENER and OPTIONS; this helper does not validate either value.
get-report-options/2function
get-report-options/2Return EUnit's report tuple for LISTENER and OPTIONS.
integration/0function
integration/0Run integration tests with the legacy runner and preserve EUnit's result. This zero-argument form adds the outer suite headings around the group heading.
integration/1function
integration/1Run integration tests with the legacy runner and preserve EUnit's result. The ignored compatibility argument leaves only the group heading.
run/1function
run/1Dispatch a supported group or selenium atom; other input is treated as a BEAM path. Return the selected EUnit result.
run-beam/1function
run-beam/1Read the module identity from the compiled BEAM and run it with the listener selected by get-listener/0; file and EUnit errors propagate.
run-beam/2function
run-beam/2Resolve the BEAM module and run it through EUnit with LISTENER; the path must identify a readable compiled BEAM.
run-beams/2function
run-beams/2Append .beam to BEAM basenames, then run them through EUnit with the listener selected by get-listener/0.
run-beams/3function
run-beams/3Run the supplied test BEAM basenames through EUnit with LISTENER.
run-module/2function
run-module/2Run one test module atom through EUnit with LISTENER and return its result.
run-modules/1function
run-modules/1Run MODULES through EUnit with the listener selected by get-listener/0.
run-modules/2function
run-modules/2Run one or more test modules through EUnit using LISTENER.
system/0function
system/0Run system tests with the legacy runner and preserve EUnit's result. This zero-argument form adds the outer suite headings around the group heading.
system/1function
system/1Run system tests with the legacy runner and preserve EUnit's result. The ignored compatibility argument leaves only the group heading.
unit/0function
unit/0Run unit tests with the legacy runner and preserve EUnit's result. This zero-argument form adds the outer suite headings around the group heading.
unit/1function
unit/1Run unit tests with the legacy runner and preserve EUnit's result. The ignored compatibility argument leaves only the group heading.