Releases: mirage/alcotest
Releases · mirage/alcotest
1.1.0
CHANGES:
1.0.1
1.0.0
CHANGES:
- Require OCaml 4.03. (#159, @hannesm)
- Change
Alcotest_{async,lwt}.test_case
to return monadic values. These must
be run with the newAlcotest_{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 theargv
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 ofisNaN
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)
0.8.5
CHANGES:
- Port build to Dune from jbuilder (#139 @samoht)
- Fix output path on Windows/Cygwin (#141 @kkirstein)
- Switch opam metadata to 2.0 format (#144 @samoht)
- Add nice screenshots to the README (#143 @rizo)
- Fix ocamldoc headings to work with odoc (#145 @avsm)
- Do not test on Debian-unstable, add Fedora (#145 @avsm)
0.8.4
CHANGES:
- Improve documentation for speed and tests (#129, @raphael-proust)
- Improve documentation on test case filtering and flush error formatter on exit
(#133, @edwintorok) - Create a fresh log sub-dir for every run (#125, @M-Harrison)
- Fix wrong location hint for test files when using dune (#135, @M-Harrison)
0.8.3
0.8.2
0.8.1
0.8.1 (2017-08-03)
- Add
failf
(#105, @hcarty) - Relax the
float
combinator to compare its epsilon using<=
instead
of<
. This allows to usefloat 0.
for "exact" float comparison
(#107, @samoht, @talex5) - Fix outdated displayed information when using
--verbose
.
Be clearer that no new output logs are actually created and
do not try to display outdated information (#108, @samoht)
0.8.0
0.8.0 (2016-06-22)
- Format "got" and "expected" values in the same way (#86, @talex5)
- Change the
float
combinator to take a mandatory 'epsilon' parameter
(#89, @superbobry) - Switch to jbuilder (#92, @rgrinberg)
- Add a
test_case
function (#94, @samoht) - Add an
alcotest-lwt
package, containing anAlcotet_lwt
module with
anAlcotest_lwt.test_case
function to better deal with lwt tests
(#94, @talex5, @samoht) - Add
Alcotest.neg
to negate test results (#95, @samoht) - Change the
test_case
type fromunit -> unit
to'a -> unit
. The'a
parameter can be built using as aCmdliner
term using the new
run_with_args
function. This is useful to configure the tests using the CLI
(#96, @samoht)