"Run all tests in the namespaces of the given files by virtue of clojure.test with additional junit output.
Writes test output to a file called <namespace>.xml in <output-dir>
XML escapes *out* so that it's safe for inclusion in the JUnit XML report file."
- [[output-dir o "Directory to wirite JUnit XML result files."]
+ [[output-dir o "Directory to write JUnit XML result files."]
+ [bootstrap-filename b "Name of file to load before running tests."]
+ (when bootstrap-filename
+ (load-file bootstrap-filename))
(.mkdir (java.io.File. output-dir))
(let [namespaces (namespaces files)]
(apply require namespaces)