-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[new release] alcotest, alcotest-async, alcotest-mirage and alcotest-lwt (1.4.0) #18509
Conversation
7198de4
to
1089a8b
Compare
Commit: 5ff3576 @craigfe has posted 37 contributions. 🌤️ opam-lint warnings 5ff3576
☀️ Installability check (+4)
|
There are quite a lot of timeouts in the rev-dep tests, but of the ones that actually ran I think I'm satisfied that none of the failures are due to this release. |
I went through all the errors (I believe). Most of the cancellations are actually successes.
|
…lwt (1.4.0) 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. (mirage/alcotest#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. (mirage/alcotest#296, @craigfe) - Add `--bail` option (and corresponding `ALCOTEST_BAIL` environment variable), which causes Alcotest to terminate after the first test failure. (mirage/alcotest#298, @craigfe)
Due to the breaking change to mutex semantics in this release.
Co-authored-by: Marcello Seri <mseri@users.noreply.github.com>
71fb74f
to
5ff3576
Compare
@mseri: thanks for picking those out. I've added the necessary bounds and made corresponding patches upstream. |
I went through all the failures once again. Again they are mostly all succeeded and the few failures have nothing to do with this PR. The tests waiting to run have already run (or timed out) on the previous run. I think we should release the pressure on the CI and merge. Thanks for the bounds and the fixes |
Alcotest is a lightweight and colourful test framework
CHANGES:
Add
?here
and?pos
arguments to the test assertion functions. These can beused to pass information about the location of the call-site, which is
displayed in failing test output. (Add optional location information on test assertion functions mirage/alcotest#291, @craigfe)
Add a pretty-printer for the exception raised by
Alcotest.check
and relatedfunctions. This allows them to be used outside of an Alcotest test runner for
making general assertions. (Register a printer for the Check_error exception mirage/alcotest#296, @craigfe)
Add
--bail
option (and correspondingALCOTEST_BAIL
environment variable),which causes Alcotest to terminate after the first test failure. (Add support for
--bail
flag mirage/alcotest#298,@craigfe)