Execute body with modified test-is reporting functions that write
JUnit-compatible XML output.
(defmacro with-junit-output
"Execute body with modified test-is reporting functions that write
JUnit-compatible XML output."
{:added "1.1"}
[& body]
`(binding [t/report junit-report
*var-context* (list)
*depth* 1]
(t/with-test-out
(println "")
(println ""))
(let [result# ~@body]
(t/with-test-out (println " "))
result#)))
Comments top
No comments for with-junit-output. Log in to add a comment.