Liking cljdoc? Tell your friends :D

tupelo.test-cljs


define-fixtureclj/smacro

(define-fixture mode interceptor-map)
source (clj)source (cljs)

deftestclj/smacro

(deftest & forms)
source (clj)source (cljs)

dotestclj/smacro

(dotest & body)
source (clj)source (cljs)

isclj/smacro

(is & forms)

Equivalent to clojure.test/is.

Equivalent to clojure.test/is.
source (clj)source (cljs)raw docstring

is-nonblank=clj/smacro

(is-nonblank= & forms)

Returns true if each input string is equal treating all whitespace as equivalent.

Returns true if each input string is equal treating all whitespace as equivalent.
source (clj)source (cljs)raw docstring

is-set=clj/smacro

(is-set= & forms)

Converts each input collection to a set, then tests for equality.

Converts each input collection to a set, then tests for equality.
source (clj)source (cljs)raw docstring

is=clj/smacro

(is= & forms)

Use (is= ...) instead of (is (= ...)) for clojure.test

Use (is= ...) instead of (is (= ...)) for clojure.test
source (clj)source (cljs)raw docstring

isntclj/smacro

(isnt & forms)

Use (isnt ...) instead of (is (not ...)) for clojure.test

Use (isnt ...) instead of (is (not ...)) for clojure.test
source (clj)source (cljs)raw docstring

isnt=clj/smacro

(isnt= & forms)

Use (isnt= ...) instead of (is (not= ...)) for clojure.test

Use (isnt= ...) instead of (is (not= ...)) for clojure.test
source (clj)source (cljs)raw docstring

testingclj/smacro

(testing & forms)
source (clj)source (cljs)

throws-not?clj/smacro

(throws-not? & forms)

The opposite of (throws? ...)

The opposite of (throws? ...)
source (clj)source (cljs)raw docstring

throws?clj/smacro

(throws? & forms)

Use (throws? ...) instead of (is (thrown? ...)) for clojure.test. Usage: (throws? (/ 1 0)) ; catches any Throwable

Use (throws? ...) instead of (is (thrown? ...)) for clojure.test. Usage:
(throws? (/ 1 0))                      ; catches any Throwable
source (clj)source (cljs)raw docstring

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

× close