mirage / alcotest

A lightweight and colourful test framework
ISC License
456 stars 80 forks source link

Release 1.5.0 #331

Closed craigfe closed 3 years ago

craigfe commented 3 years ago

Corresponding opam-repository PR: https://github.com/ocaml/opam-repository/pull/19735.

olafhering commented 3 years ago

This (12889aa7f993ad55434443f1c447a59f18ffc9bf) may cause a regression (compared to 93940ea6da1d4ce8718ddd6c528eeb6d991b29ff) in c-cube/qcheck@b065a81661d312fc7bbdbf95fb24229d71991a10 dune runtest:

[   74s] Running[53]: (cd _build/default && /usr/bin/diff -u example/alcotest/output.txt.expected example/alcotest/output.txt)
[   74s] Command [53] exited with code 1:
[   74s] $ (cd _build/default && /usr/bin/diff -u example/alcotest/output.txt.expected example/alcotest/output.txt)
[   74s] --- example/alcotest/output.txt.expected   2021-10-10 08:22:11.060000000 +0000
[   74s] +++ example/alcotest/output.txt    2021-10-10 08:22:11.050000000 +0000
[   74s] @@ -16,7 +16,6 @@
[   74s]  [exception] test `fail_sort_id` failed on ≥ 1 cases: [1; 0] (after 20 shrink steps)
[   74s]                                             
[   74s]              
[   74s] -
[   74s]   ──────────────────────────────────────────────────────────────────────────────
[   74s]  
[   74s]  3 failures! 5 tests run.
craigfe commented 3 years ago

Thanks @olafhering for the heads up.

qcheck-alcotest will need to pick a specific Alcotest version for running its tests. Done in https://github.com/ocaml/opam-repository/pull/19735.

craigfe commented 3 years ago

Now released downstream.