Trying to google a bit if was something I had wrong, I found out that isn't possible: https://discuss.ocaml.org/t/logging-while-during-not-after-testing-with-alcotest/9957
Tried with both ~verbose:true ~show_errors:true and I'm not using https://opam.ocaml.org/packages/logs.
I would like to either:
- See the output of
print_enline just after the assertion
- Have a
Alcotest.print where it captures those and renders them after the assertion
Trying to google a bit if was something I had wrong, I found out that isn't possible: https://discuss.ocaml.org/t/logging-while-during-not-after-testing-with-alcotest/9957
Tried with both
~verbose:true ~show_errors:trueand I'm not using https://opam.ocaml.org/packages/logs.I would like to either:
print_enlinejust after the assertionAlcotest.printwhere it captures those and renders them after the assertion