By default, Alcotest will capture the standard output / error streams for each test run in individual files. If there are failing tests, the logs of the first failing test case will be printed to standard output as part of the error reporting. This is modified by:
-
--verbose, which disables log capturing entirely, interleaving the test log stream with the result reporting. (I’m not sure why this was called “verbose”.) -
--tail-errors=N, which prints only the lastNlines of logs from the first failing test case.
I can’t vouch for what OUnit does here; perhaps someone with more experience with that library can chime in.