re-test

circumspec

  • (re-test)
  • (re-test namespaces)
Reload the namespaces and run the tests again. Uses
:reload flag, not :reload-all to avoid odd loops. If
that doesn't work for you, explicitly reload things.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source circumspec/watch.clj:105 top

(defn re-test
  "Reload the namespaces and run the tests again. Uses
   :reload flag, not :reload-all to avoid odd loops. If
   that doesn't work for you, explicitly reload things."
  ([]
     (try
      (re-test (test-namespaces))
      (catch Throwable e
        (println (reload-exception-message e)))))
  ([namespaces]
     (try
      (doseq [n namespaces]
        (load-source-and-test-namespace n))
      (apply run-tests (tests namespaces))
      (catch Throwable e
        (println (reload-exception-message e))))
     nil))
Vars in circumspec/re-test: apply defn doseq println
Used in 0 other vars

Comments top

No comments for re-test. Log in to add a comment.