Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
- `Observable.map`
- `TestResult.stats` `TestResult.warnings` `TestResult.collect`
- Clarify documentation for the `int*` and `nat*` generators
- Disabled duplicated pretty-printed feedback when using `QCheck_alcotest` runner


## 0.91 (2025-12-21)
Expand Down
15 changes: 0 additions & 15 deletions example/alcotest/QCheck_alcotest_test.expected.ocaml4.32
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,30 @@ Testing `my test'.
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 1 fail_sort_id. │
└──────────────────────────────────────────────────────────────────────────────┘
test `fail_sort_id` failed on ≥ 1 cases: [1; 0] (after 11 shrink steps)
[exception] test `fail_sort_id` failed on ≥ 1 cases: [1; 0] (after 11 shrink steps)
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 2 error_raise_exn. │
└──────────────────────────────────────────────────────────────────────────────┘
test `error_raise_exn`
raised exception `Error`
on `0 (after 31 shrink steps)`
[exception] test `error_raise_exn`
raised exception `Error`
on `0 (after 31 shrink steps)`
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 4 neg test unexpected success. │
└──────────────────────────────────────────────────────────────────────────────┘
negative test 'neg test unexpected success' succeeded unexpectedly
[exception] negative test `neg test unexpected success` succeeded unexpectedly
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 5 neg fail with error. │
└──────────────────────────────────────────────────────────────────────────────┘
test `neg fail with error`
raised exception `Error`
on `0 (after 7 shrink steps)`
[exception] test `neg fail with error`
raised exception `Error`
on `0 (after 7 shrink steps)`
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 6 fail_check_err_message. │
└──────────────────────────────────────────────────────────────────────────────┘
test `fail_check_err_message` failed on ≥ 1 cases:
0 (after 7 shrink steps)
this
will
always
fail
[exception] test `fail_check_err_message` failed on ≥ 1 cases:
0 (after 7 shrink steps)
this
Expand All @@ -73,7 +59,6 @@ Test debug_shrink successfully shrunk counter example (step 2) to:
Test debug_shrink successfully shrunk counter example (step 3) to:
(1, 0)
law debug_shrink: 2 relevant cases (2 total)
test `debug_shrink` failed on ≥ 1 cases: (1, 0) (after 3 shrink steps)
[exception] test `debug_shrink` failed on ≥ 1 cases: (1, 0) (after 3 shrink steps)
──────────────────────────────────────────────────────────────────────────────
6 failures! 9 tests run.
15 changes: 0 additions & 15 deletions example/alcotest/QCheck_alcotest_test.expected.ocaml4.64
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,30 @@ Testing `my test'.
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 1 fail_sort_id. │
└──────────────────────────────────────────────────────────────────────────────┘
test `fail_sort_id` failed on ≥ 1 cases: [1; 0] (after 11 shrink steps)
[exception] test `fail_sort_id` failed on ≥ 1 cases: [1; 0] (after 11 shrink steps)
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 2 error_raise_exn. │
└──────────────────────────────────────────────────────────────────────────────┘
test `error_raise_exn`
raised exception `Error`
on `0 (after 63 shrink steps)`
[exception] test `error_raise_exn`
raised exception `Error`
on `0 (after 63 shrink steps)`
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 4 neg test unexpected success. │
└──────────────────────────────────────────────────────────────────────────────┘
negative test 'neg test unexpected success' succeeded unexpectedly
[exception] negative test `neg test unexpected success` succeeded unexpectedly
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 5 neg fail with error. │
└──────────────────────────────────────────────────────────────────────────────┘
test `neg fail with error`
raised exception `Error`
on `0 (after 7 shrink steps)`
[exception] test `neg fail with error`
raised exception `Error`
on `0 (after 7 shrink steps)`
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 6 fail_check_err_message. │
└──────────────────────────────────────────────────────────────────────────────┘
test `fail_check_err_message` failed on ≥ 1 cases:
0 (after 7 shrink steps)
this
will
always
fail
[exception] test `fail_check_err_message` failed on ≥ 1 cases:
0 (after 7 shrink steps)
this
Expand All @@ -73,7 +59,6 @@ Test debug_shrink successfully shrunk counter example (step 2) to:
Test debug_shrink successfully shrunk counter example (step 3) to:
(1, 0)
law debug_shrink: 2 relevant cases (2 total)
test `debug_shrink` failed on ≥ 1 cases: (1, 0) (after 3 shrink steps)
[exception] test `debug_shrink` failed on ≥ 1 cases: (1, 0) (after 3 shrink steps)
──────────────────────────────────────────────────────────────────────────────
6 failures! 9 tests run.
15 changes: 0 additions & 15 deletions example/alcotest/QCheck_alcotest_test.expected.ocaml5.32
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,30 @@ Testing `my test'.
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 1 fail_sort_id. │
└──────────────────────────────────────────────────────────────────────────────┘
test `fail_sort_id` failed on ≥ 1 cases: [1; 0] (after 16 shrink steps)
[exception] test `fail_sort_id` failed on ≥ 1 cases: [1; 0] (after 16 shrink steps)
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 2 error_raise_exn. │
└──────────────────────────────────────────────────────────────────────────────┘
test `error_raise_exn`
raised exception `Error`
on `0 (after 30 shrink steps)`
[exception] test `error_raise_exn`
raised exception `Error`
on `0 (after 30 shrink steps)`
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 4 neg test unexpected success. │
└──────────────────────────────────────────────────────────────────────────────┘
negative test 'neg test unexpected success' succeeded unexpectedly
[exception] negative test `neg test unexpected success` succeeded unexpectedly
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 5 neg fail with error. │
└──────────────────────────────────────────────────────────────────────────────┘
test `neg fail with error`
raised exception `Error`
on `0 (after 7 shrink steps)`
[exception] test `neg fail with error`
raised exception `Error`
on `0 (after 7 shrink steps)`
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] suite 6 fail_check_err_message. │
└──────────────────────────────────────────────────────────────────────────────┘
test `fail_check_err_message` failed on ≥ 1 cases:
0 (after 7 shrink steps)
this
will
always
fail
[exception] test `fail_check_err_message` failed on ≥ 1 cases:
0 (after 7 shrink steps)
this
Expand All @@ -76,7 +62,6 @@ Test debug_shrink successfully shrunk counter example (step 3) to:
Test debug_shrink successfully shrunk counter example (step 4) to:
(0, 1)
law debug_shrink: 1 relevant cases (1 total)
test `debug_shrink` failed on ≥ 1 cases: (0, 1) (after 4 shrink steps)
[exception] test `debug_shrink` failed on ≥ 1 cases: (0, 1) (after 4 shrink steps)
──────────────────────────────────────────────────────────────────────────────
6 failures! 9 tests run.
Loading