(expand-suite ste)
Expands a test suite, returning a test sequence. Copies metadata from the suite function to the resulting test sequence.
Expands a test suite, returning a test sequence. Copies metadata from the suite function to the resulting test sequence.
(expand-tree ste)
Recursively expands a tree of nested test suites preserving metadata.
Recursively expands a tree of nested test suites preserving metadata.
(identifier m)
Get a string representation of the suite. Either the suite's :doc, its :ns-name, or the string version of its :var.
Get a string representation of the suite. Either the suite's :doc, its :ns-name, or the string version of its :var.
(suite s)
Wraps sequence in a function and sets metadata identifying it as a test suite.
Wraps sequence in a function and sets metadata identifying it as a test suite.
(suite-result source children)
Creates a suite result map with keys :source and :children.
source is the test sequence, with identifying metadata.
children is a sequence of test results and/or suite results.
Creates a suite result map with keys :source and :children. source is the test sequence, with identifying metadata. children is a sequence of test results and/or suite results.
(suite-result? x)
True if x is a suite result.
True if x is a suite result.
(test-seq s)
Adds metadata to sequence s identifying it as a test sequence.
A test sequence is a sequence of test cases and/or test suites.
Metadata on the test sequence provides identifying information for the test suite, such as :ns-name and :doc.
Adds metadata to sequence s identifying it as a test sequence. A test sequence is a sequence of test cases and/or test suites. Metadata on the test sequence provides identifying information for the test suite, such as :ns-name and :doc.
(test-seq? s)
True if s is a test sequence.
True if s is a test sequence.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close