Skip to content

1.4.0

Compare
Choose a tag to compare
@craigfe craigfe released this 15 Apr 09:22
· 179 commits to main since this release

CHANGES:

  • Add ?here and ?pos arguments to the test assertion functions. These can be
    used to pass information about the location of the call-site, which is
    displayed in failing test output. (#291, @craigfe)

  • Add a pretty-printer for the exception raised by Alcotest.check and related
    functions. This allows them to be used outside of an Alcotest test runner for
    making general assertions. (#296, @craigfe)

  • Add --bail option (and corresponding ALCOTEST_BAIL environment variable),
    which causes Alcotest to terminate after the first test failure. (#298,
    @craigfe)