Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to log stuff while test are running/failing #401

Open
davesnx opened this issue Jan 26, 2024 · 0 comments
Open

I want to log stuff while test are running/failing #401

davesnx opened this issue Jan 26, 2024 · 0 comments

Comments

@davesnx
Copy link

davesnx commented Jan 26, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant