Liking cljdoc? Tell your friends :D

greenlight.runner

Entry point for running a suite of tests and generating reports from the results.

Entry point for running a suite of tests and generating reports from the
results.
raw docstring

*exit*clj

(*exit* code)
(*exit* code message)

Dynamic helper which will be called by main when it wants to end the runner's control flow.

Dynamic helper which will be called by `main` when it wants to end the
runner's control flow.
sourceraw docstring

clean-results!clj

(clean-results! new-system options result-files)

Clean up a previous test run.

Clean up a previous test run.
sourceraw docstring

cli-optionsclj

source

filter-test-suiteclj

(filter-test-suite test-suite arguments)
source

find-testsclj

(find-tests)
(find-tests matcher)

Finds tests, optionally limited to namespaces matching a provided matcher. The matcher provided can be one of:

  • a keyword: find tests that are tagged with this metadata
  • regular expression: match on test name
  • a map: find tests matching a test property, either by title, namespace, or group.
Finds tests, optionally limited to namespaces matching a provided matcher.
The matcher provided can be one of:
- a keyword: find tests that are tagged with this metadata
- regular expression: match on test name
- a map: find tests matching a test property, either by title, namespace, or group.
sourceraw docstring

generate-reportclj

(generate-report options result-files)

Generate a report output from some previously-recorded test files.

Generate a report output from some previously-recorded test files.
sourceraw docstring

mainclj

(main new-system tests args)

Main entry point for the greenlight test runner. Note that this may exit the JVM, so it is not suitable for interactive usage.

Main entry point for the greenlight test runner. Note that this may exit the
JVM, so it is not suitable for interactive usage.
sourceraw docstring

ManagedSystemcljprotocol

start-systemclj

(start-system this)

stop-systemclj

(stop-system this)
source

(print-test-info test-suite options arguments)

Print out information about the suite of tests.

Print out information about the suite of tests.
sourceraw docstring

run-all-tests!clj

(run-all-tests! new-system options)

Runs all tests in all namespaces.

Runs all tests in all namespaces.
sourceraw docstring

run-tests!clj

(run-tests! new-system test-suite options)
(run-tests! new-system test-suite options arguments)

Run a collection of tests.

Run a collection of tests.
sourceraw docstring

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

× close