Formerly known as Boot-alt-test
Fast Clojure.test runner for Boot and Leiningen.
:capture-output?
, enabled by default):fail-fast?
):randomize-seed
, defaults to 0):pretty
, :progress
and :junit
:type
(referring to reporter fn) and option :output-to
which will redirect the output to a file.(bat-test :report [:pretty {:type :junit :output-to "target/junit.xml"}])
enter
on-start
hook: run a function before any tests are runon-end
hook: run a function after all tests are runcloverage-opts
option to set (subset) of Cloverage optionsboot bat-test -c
or lein bat-test cloverage
watch
tasklein bat-test :only namespace/test-var
lein bat-test only-this-namespace
lein bat-test :integration
:notify-command
for calling notify-send
or Growl or suchAdd [metosin/bat-test "X.X.X" :scope "test"]
as a dependency in your
build.boot
Add (require '[metosin.bat-test :refer (bat-test)])
somewhere in your
build.boot to make the task available to your Boot workflow.
Run boot bat-test
at the command-line or (boot (bat-test))
in the REPL, or add bat-test
task as part of your Boot pipeline.
See boot bat-test -h
for a list of available task options.
Add [metosin/bat-test "X.X.X"]
as a plugin in your project.clj
Add options under :bat-test
key in project map and run lein bat-test
at the command-line
See lein bat-test help
for a list of available task options.
Copyright © 2016-2019 Metosin Oy
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Can you improve this documentation? These fine people already did:
Juho Teperi, Miikka Koskinen, Ivan Kuznetsov, James Conroy-Finn & Dave YarwoodEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close