Skip to content

clojure.test/use-fixtures

View this page on ClojureDocs

Type: var Added: Clojure 1.1 Examples: 3 Runnable: 0
()

Wrap test runs in a fixture function to perform setup and teardown. Using a fixture-type of :each wraps every test individually, while :once wraps the whole run in a single function.

Examples

by benkay on . May have evaluation errors.
by cloojure on . May have evaluation errors.
by charlespwd on . May have evaluation errors.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.