test-var runs the test function stored under the :test key in a Var’s metadata. Pass a Var object, commonly obtained with #'test-name. section 22.9
deftest arranges this metadata automatically, so test-var provides a direct way to execute one named test rather than an entire namespace. section 22.9
Run one test
(deftest sqrt-test (is (= 2 (sqrt 4)) "Expecting 2")) (test-var #'sqrt-test) ;; FAIL in () ;; Expecting 2 ;; actual: (not (= 2 2.000000000000002))
