Releases: mirage/alcotest
Releases · mirage/alcotest
Add more test combinators
Fix regressions
- Fix of the format of log filenames
- Fix a regression in 0.4.* which were hiding error messages when using wrong
command-line arguments
Flush display and UTF8 documentation strings
- Flush formatter for
Alcotest.check
(#27, by @edwintorok) - Handle UTF8 for test documentation strings (#5)
Better looking outputs
- Improve the result outputs
Fix error reporting
- Fix regression introduced in 0.4.0: display the error if there is only one error
- Add a testable combinator for options.
Remove dependency to OUnit, add `TESTABLE` combinators
- Simplify the use of the library by removing global states -- now calling
therun
function multiple times is much more consistent. - Remove the direct dependency to
OUnit
. Programs usingOUnit
andAlcotest
should continue to work. - Add a
TESTABLE
signature and acheck
function to check invariants in
the tested libraries.
Add a JSON output, allow to call multiple `run` in a program.
- Control
--show-errors
using the ALCOTEST_SHOW_ERRORS env variable (#9) - Add an
and_exit
optional argument toAlcotest.run
to control
the exit behavior of the main test function (#4) - Fix the output of
--version
- Add a
--json
argument to show the test results as a JSON object
(#14, by @leowzukw) - Expose
Alcotest.result
to turn a test into a result
Add a logo, a simple example, and try to not fail if the output file does not exist
Fix OCaml 4.01 regression support and and Travis tests
- Fix OCaml 4.01.0 and earlier support (regressed in 0.3.0).
- Add Travis CI tests.