Back
print-tap-plan (clj)
(source)function
(print-tap-plan n)
Prints a TAP plan line like '1..n'. n is the number of tests
Examples
clojure/core.typed
(deftest print-tap-diagnostic-test
(is-tc-e #(print-tap-diagnostic "abc") [-> Any]
:requires [[clojure.test.tap :refer [print-tap-diagnostic]]])
(is-tc-err #(print-tap-diagnostic 1) [-> Any]
:requires [[clojure.test.tap :refer [print-tap-diagnostic]]]))
(deftest print-tap-plan-test
(is-tc-e #(print-tap-plan 1) [-> Any]
:requires [[clojure.test.tap :refer [print-tap-plan]]]))
typedclojure/typedclojure
(deftest print-tap-diagnostic-test
(is-tc-e #(print-tap-diagnostic "abc") [-> t/Any]
:requires [[clojure.test.tap :refer [print-tap-diagnostic]]])
(is-tc-err #(print-tap-diagnostic 1) [-> t/Any]
:requires [[clojure.test.tap :refer [print-tap-diagnostic]]]))
(deftest print-tap-plan-test
(is-tc-e #(print-tap-plan 1) [-> t/Any]
:requires [[clojure.test.tap :refer [print-tap-plan]]]))