Skip to content

1.0.0

Compare
Choose a tag to compare
@craigfe craigfe released this 14 Jan 16:35
· 432 commits to main since this release

CHANGES:

  • Require OCaml 4.03. (#159, @hannesm)
  • Change Alcotest_{async,lwt}.test_case to return monadic values. These must
    be run with the new Alcotest_{async,lwt}.run functions. See
    examples/lwt/test.ml
    for an example of the new API. (#167, @craigfe)
  • Add generation of latest symlinks in the _test directory which point to
    the most recent test output directory. (#155, @cfcs)
  • Allow all CLI options to be passed directly to Alcotest.{run,run_with_args}
    without use of the argv parameter. (#182, @craigfe)
  • Add --compact option for more concise result reporting. (#149,
    @andersfugmann)
  • Add --tail-errors option for limiting the size of error logs printed to
    standard output. (#200, @mjambon)
  • Add support for executing subsets of tests via the test subcommand. (#158,
    @craigfe)
  • Change the float check to include equality of isNaN and infinities. See
    examples/floats.ml
    for demonstrations of the new semantics. (#152, @psafont)
  • Reject test suites with colliding output directories. (#176, @craigfe)
  • Restrict the set of characters allowed in test names to alphanumerics,
    hyphens, underscores and spaces. (#161, @craigfe)
  • Fix a race condition on creating output directories. (#150, @edwintorok)
  • Report test suite durations in real time rather than system time. (#162,
    @craigfe)
  • Improve documentation of the ?argv parameter. (#164, @ian-barnes)
  • Remove version number from test binary help pages. (#186, @craigfe)
  • Remove dependency on tput. (#189, @samoht)
  • Remove result dependency. (#159, @hannesm)
  • Remove uses of deprecated Pervasives.compare. (#173, @craigfe)