|Did you know ...||Search Documentation:|
|Controlling the test suite|
never, everything between begin_tests/1 and end_tests/1 is simply ignored. When
always, tests are always loaded. Finally, when using the default value
normal, tests are loaded if the code is not compiled with optimisation turned on.
manual, tests can only be run using run_tests/0 or run_tests/1. Using
make, tests will be run for reloaded files, but not for files loaded the first time. Using
make(all)make/0 will run all test-suites, not only those that belong to files that are reloaded.
tty(default if there is a console) or
ttyuses terminal control to overwrite successful tests, allowing the user to see the currently running tests and output from failed tests. This is the default of the output is a tty.
logprints a full log of the executed tests and their result and is intended for non-interactive usage.
always, emit all output as it is produced, if
never, suppress all output and if
on_failure, emit the output if the test fails.
occurs_checkflag during testing.
false), cleanup report at the end of run_tests/1. Used to improve cooperation with memory debuggers such as dmalloc.
.plttest-files that belong to the currently loaded sources.
fixme, providing details on how the fixme-flagged tests proceeded.