Open ptal opened 6 years ago
There is a "make check" command to run some non-regression tests. If think they are handmade, meaning that they don't use any existing testing framework.
What kind of tests do you plan to make? Unit tests of functions?
Yes, unit tests. Black box tests are good and necessary too, but not for details / invariants of algorithms / ...
I use alcotest on my fork, which is not invasive, without ppx macro, and seems to work great so far!
I agree alcotest looks great.
Especially the name.
Do you want to deploy it?
AbSolute does not seem to have a test library/framework yet, and I would need one to make simple tests on the octagon abstract domain I'm developing. Since I won't (shouldn't ? ;-)) be the only one to use it, I prefer to ask what is your preference. After a quick look on the ones available in OPAM, my preference goes to ppx_inline_test for the following reasons:
What do you think?