0.0.12 permalink Arrow_down_16x16

test-namespaces

circumspec.locator

  • (test-namespaces)
  • (test-namespaces basedir regexp)
Find test namespaces in basedir matching regexp,
or from config settings.

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/locator.clj:11 top

(defn test-namespaces
  "Find test namespaces in basedir matching regexp,
   or from config settings."
  ([] (test-namespaces (config/test-dir) (config/test-regex)))
  ([basedir regexp]
     (->> (find-namespaces-in-dir (java.io.File. basedir))
          (map str)
          (filter (partial re-find regexp))
          (map symbol))))
Vars in circumspec.locator/test-namespaces: ->> defn filter map partial re-find str symbol
Used in 0 other vars

Comments top

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