vincent-hugot / qtest

Inline (Unit) Tests for OCaml
GNU General Public License v3.0
67 stars 8 forks source link

quickcheck library unclear or missing #22

Closed mwweissmann closed 8 years ago

mwweissmann commented 8 years ago

using the example from the README.md, I need the quickcheck module mentioned in the "Q" style tests. Which library is this exactly or is it included in qtest somewhere? It would be nice to at least document this in the README.md.

vincent-hugot commented 8 years ago

It is installed along with qtest, eg. by the opam package.

What is your output when running testfoo.sh in qtest/tests/ ?

mwweissmann commented 8 years ago

I suppose the problem is one of case-sensitivity: The package is actually named 'QTest2Lib' while README.md refers to it as 'qtest2lib'; I guess that this works just fine on case-insensitive file systems but fails on case-sensitive ones. I did not see it in the output of ocamlfindas uppercase packages are listed first -- and QTest2Lib is the only library not restricting it's name to lowercase characters.

vincent-hugot commented 8 years ago

Ha, the name changed at some point, I believe.

I'll correct the occurrences in the readme. Thanks for pointing this out.

edit

QTest2Lib is the only library not restricting it's name to lowercase characters.

I don't remember the rationale for that capitalisation choice... seems suboptimal in light of this remark. Should the name change again, I'll use lowercase.

mwweissmann commented 8 years ago

thanks!