mirage / alcotest

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

Generalize the type of check_raises #349

Closed favonia closed 2 years ago

favonia commented 2 years ago

Rationale: (1) the function we wish to test might not have unit as its codomain type, and (2) the dropping is not silent; if some value was returned and then dropped, the check would fail and the programmer would know.

Question: I did not touch CHANGES.md because I could not find a section for unreleased features. Maybe I missed something?

favonia commented 2 years ago

Closing this due to lack of interest from the maintainers.