Skip to content

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

@davesnx

Description

@davesnx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions