Skip to content

adzerk-oss/boot-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boot-test Build Status

Boot task for running clojure.test tests

[adzerk/boot-test "1.2.0"] ;; latest release

Usage

Add boot-test to your build.boot dependencies and require the namespace:

(set-env! :dependencies '[[adzerk/boot-test "X.Y.Z" :scope "test"]])
(require '[adzerk.boot-test :refer :all])

If your tests are in a directory that is not included in the classpath, you will need to add it

(set-env! :source-paths #{"test"})

You can see the options available on the command line:

$ boot test -h

or in the REPL:

boot.user=> (doc test)

Continuous Testing

Whisper some magic incantations to boot, and it will run tests every time you save a file

boot watch test

with sound!

boot watch speak test

License

Copyright © 2014 Adzerk

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.