[new release] alcotest (5 packages) (1.9.0)#27617
Conversation
CHANGES: - Add `seq`, a testable for `Seq.t` and `contramap` (mirage/alcotest#412 @xvw) - Expose the `V1.Skip` exception (mirage/alcotest#415, mirage/alcotest#416, @Khady) - BREAKING FIX: `match_raises` now expects the user-defined function to return true for expected exceptions. Previously false was interpreted as an expected exception. (mirage/alcotest#418, mirage/alcotest#419, @psafont)
|
The windows check is failing with: @dra27 @kit-ty-kate @mseri -- what's the policy for Windows builds in the repo now? Should I add a |
|
We don't touch windows unless we are sure what is the right constraint, since being able to build a package depends a lot on the precise windows configuration. I think not available on the whole os-family windows is too strong, are we sure it does not work on cygwin or cygwinports on win32? |
|
There is an issue for windows support in |
|
The lower-bound issues should be fixed by #27616 |
|
What about and Are they related to this new release? |
|
Second one seems to be yes. Junit_alcotest should get a constraint to not work with the latest Alcotest |
|
The first one needs |
Fails with Error: Unbound constructor Alcotest_engine__Core.Skip See ocaml#27617 (comment) Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
Fails with
Error: The value "map" has type
"('a -> 'b) -> 'b Alcotest.testable -> 'a Alcotest.testable"
but an expression was expected of type "Pure.t" = "Mirage_kv_mem.Pure.t"
See ocaml#27617 (comment)
Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
|
Thanks, I'm sending a separate PR |
|
I think with the latest PR we are covering all the new failures. I will migrate Seq asap |
|
I think with this it should be ready for merge |
|
Thank you !!!! |
Alcotest is a lightweight and colourful test framework
CHANGES:
seq, a testable forSeq.tandcontramap(testable for seq and contramap (for testable) mirage/alcotest#412 @xvw)V1.Skipexception (Expose Skip exception mirage/alcotest#415, engine: expose skip exception mirage/alcotest#416, @Khady)match_raisesnow expects the user-defined function to returntrue for expected exceptions. Previously false was interpreted as an
expected exception. (Alcotest.match_raises has unintuitive behaviour mirage/alcotest#418, [Breaking] Change match_raises to be more intuitive mirage/alcotest#419, @psafont)