semgrep / testo

Test framework for OCaml
ISC License
16 stars 1 forks source link

Show exception even when stderr is captured as a snapshot #93

Closed mjambon closed 1 month ago

mjambon commented 1 month ago

Currently, an exception that makes the test fail is reported as part of the test's error output. This causes the exception to not be shown when the test fails if stderr is to be captured and compared about a reference snapshot.

Here's a failing test that fails to show the exception: image