-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing usage with dune #270
Comments
If you're just using qcheck-core, then `opam install qcheck-core` is
enough. `qcheck` is a compatibility package that installs the core and
some other things, it's not necessary otherwise.
|
First off: yes, the documentation could certainly be improved (PRs welcome!) I cannot recreate the problem you experienced. Below follows my attempt at a minimal repro which works fine.
open QCheck
let t = Test.make ~name:"float test" float (fun f -> floor f <= f)
let _ = QCheck_runner.run_tests ~verbose:true [t] |
I guess that setting |
Indeed! I can confirm that after adding that line to
This is confusing to a new-comer and documentation could help here, e.g., by pointing them to use |
yes we use |
listing
qcheck
within mydune
file's libraries didn't work, I ended up realizing that I need to instead listqcheck-core
. I suggest adding this to the README. Also, do I need toopam install qcheck
if I'm not importing it and just importingqcheck-core
?The text was updated successfully, but these errors were encountered: