I’ve been reading and learning with the book Getting Clojure by Russ Olsen.
Now I’m on a chapter about tests but when I get up to the bit where it uses clojure.test.check, I use this bit of code in my repl:
(require '[clojure.test.check.generators :as gen])
And it throws a FileNotFound exception. I am not sure what I am doing wrong, if anyone can please help me?
I am using VS Code with the Calva extension to do my Clojure learning with, I checked with the lein repl from my project root directory and the code had the same problem there too.
Here is the full exception info from Calva if that helps:
Execution error (FileNotFoundException) at inventory.core-test/eval15364 (form-init9572728795392061874.clj:1). Could not locate clojure/test/check/generators__init.class, clojure/test/check/generators.clj or clojure/test/check/generators.cljc on classpath.