clojure.test.tap
(source)clojure.test extensions for the Test Anything Protocol (TAP)
TAP is a simple text-based syntax for reporting test results. TAP
was originally developed for Perl, and now has implementations in
several languages. For more information on TAP, see
http://testanything.org/ and
http://search.cpan.org/~petdance/TAP-1.0.0/TAP.pm
To use this library, wrap any calls to
clojure.test/run-tests in the with-tap-output macro,
like this:
(use 'clojure.test)
(use 'clojure.test.tap)
(with-tap-output
(run-tests 'my.cool.library))
For more info about this library see:
https://clojuredocs.org/clojure.corePublic Variable | Short Description |
---|---|
print-diagnostics (clj) | |
print-tap-diagnostic (clj) | Prints a TAP diagnostic line. |
print-tap-fail (clj) | Prints a TAP 'not ok' line. |
print-tap-pass (clj) | Prints a TAP 'ok' line. |
print-tap-plan (clj) | Prints a TAP plan line like '1..n'. |
tap-report (clj) | |
with-tap-output (clj) | Execute body with modified test reporting functions that produce TAP output. |