Liking cljdoc? Tell your friends :D

mb.hawk.junit.write

Logic related to writing test results for a namespace to a JUnit XML file. See https://stackoverflow.com/a/9410271/1198455 for the JUnit output spec.

Logic related to writing test results for a namespace to a JUnit XML file. See
https://stackoverflow.com/a/9410271/1198455 for the JUnit output spec.
raw docstring

clean-output-dir!clj

(clean-output-dir!)

Clear any files in the output dir; create it if needed.

Clear any files in the output dir; create it if needed.
sourceraw docstring

create-thread-pool!clj

(create-thread-pool!)

Create a thread pool to write JUnit output with. JUnit output is written in background threads so tests are not slowed down by it.

Create a thread pool to write JUnit output with. JUnit output is written in background threads so tests are not
slowed down by it.
sourceraw docstring

wait-for-writes-to-finishclj

(wait-for-writes-to-finish)

Wait up to 10 seconds for the thread pool that writes results to finish.

Wait up to 10 seconds for the thread pool that writes results to finish.
sourceraw docstring

write-ns-result!clj

(write-ns-result! result)

Submit a background thread task to write the JUnit output for the tests in a namespace when an :end-test-ns event is encountered.

Submit a background thread task to write the JUnit output for the tests in a namespace when an `:end-test-ns` event
is encountered.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close