(run-in-repl test-path & test-paths)
Helper function for running test-refresh from the repl. This ignores any project.clj or profiles.clj settings and blocks the repl. Hit ctrl-c to stop.
This is intended for running in Cursive's repl so stacktraces become clickable.
Pass in strings that are the path (relative is fine) to the directories containing your tests.
Helper function for running test-refresh from the repl. This ignores any project.clj or profiles.clj settings and blocks the repl. Hit ctrl-c to stop. This is intended for running in Cursive's repl so stacktraces become clickable. Pass in strings that are the path (relative is fine) to the directories containing your tests.
(run-selected-tests stack-depth test-paths selectors report namespaces-to-run)
(suppress-unselected-tests namespaces selectors func)
A function that figures out which vars need to be suppressed based on the given selectors, moves their :test metadata to :leiningen/skipped-test (so that clojure.test won't think they are tests), runs the given function, and then sets the metadata back. Tests marked with :test-refresh/focus metadata are given priority over other selectors.
A function that figures out which vars need to be suppressed based on the given selectors, moves their :test metadata to :leiningen/skipped-test (so that clojure.test won't think they are tests), runs the given function, and then sets the metadata back. Tests marked with :test-refresh/focus metadata are given priority over other selectors.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close