Assertions
37- value
clojure.test
- value
clojure.test
- value
clojure.test
- value
clojure.test
- value
clojure.test
- value
clojure.test
- value
clojure.test
Checks multiple assertions with a template expression. See clojure.template/do-template for an explanation of templa...
macroclojure.test
Returns generic assertion code for any test, including macros, Java method calls, or isolated symbols.
functionclojure.test
- multimethod
clojure.test
Returns generic assertion code for any functional predicate. The 'expected' argument to 'report' will contains the or...
functionclojure.test
Composes two fixture functions, creating a new fixture function that combines their behavior.
functionclojure.test
Defines a test function with no arguments. Test functions may call other tests, so tests may be composed. If you com...
macroclojure.test
Like deftest but creates a private var.
macroclojure.test
Add file and line information to a test result and call report. If you are writing a custom assert-expr method, call ...
functionclojure.test
Returns true if argument is a function or a symbol that resolves to a function (not a macro).
functionclojure.test
Increments the named counter in *report-counters*, a ref to a map. Does nothing if *report-counters* is nil.
functionclojure.test
Generic assertion macro. 'form' is any predicate test. 'msg' is an optional message to attach to the assertion. Ex...
macroclojure.test
Composes a collection of fixtures, in order. Always returns a valid fixture function, even if the collection is empty...
functionclojure.test
Generic reporting function, may be overridden to plug in different report formats (e.g., TAP, JUnit). Assertions suc...
multimethodclojure.test
- function
clojure.test
Runs a single test. Because the intent is to run a single test, there is no check for the namespace test-ns-hook.
macroclojure.test
Runs the tests for a single Var, with fixtures executed around the test, and summary output after.
functionclojure.test
- function
clojure.test
Experimental. Sets :test metadata of the named var to a fn with the given body. The var must already exist. Does no...
macroclojure.test
Returns true if the given test summary indicates all tests were successful, false otherwise.
functionclojure.test
- function
clojure.test
- function
clojure.test
If v has a function in its :test metadata, calls that function, with *testing-vars* bound to (conj *testing-vars* v).
functionclojure.test
Groups vars by their namespace and runs test-vars on them with appropriate fixtures applied.
functionclojure.test
Adds a new string to the list of testing contexts. May be nested, but must occur inside a test function (deftest).
macroclojure.test
Returns a string representation of the current test context. Joins strings in *testing-contexts* with spaces.
functionclojure.test
Returns a string representation of the current test. Renders names in *testing-vars* as a list, then the source file ...
functionclojure.test
Used by the 'is' macro to catch unexpected exceptions. You don't call this.
macroclojure.test
Wrap test runs in a fixture function to perform setup and teardown. Using a fixture-type of :each wraps every test i...
multimethodclojure.test
Takes any definition form (that returns a Var) as the first argument. Remaining body goes in the :test metadata functi...
macroclojure.test
Runs body with *out* bound to the value of *test-out*.
macroclojure.test