Testing… Derived from https://xkcd.com/303/ to express my own experience. I don’t often spend time compiling in my work as a webdev, but TDD and the regression tests take some serious time.
Testing… Derived from https://xkcd.com/303/ to express my own experience. I don’t often spend time compiling in my work as a webdev, but TDD and the regression tests take some serious time.
https://clojureverse.org/t/a-gotcha-test-core-thrown/5595/1
Clojure is generally such a pristine and sensible language, it took me some debugging time to find out why this was failing:
(is (let [proctorless-rmap {:tester (:id tester) :test (:id this-test)}] (thrown? Exception (xreg/register-for-exam proctorless-rmap)) "no proctor should fail")) ;; Unable to resolve symbol: thrown? in this context Trying to solve this at the repl, I was stumped for quite a while by why I couldn’t locate the thrown? function with C-c C-.