Common Lisp Package: SIFT.ASDF-NST

Unit and regression testing for Common Lisp

README:

FUNCTION

Public

Undocumented

REPORT-SYSTEM (SYSTEM &OPTIONAL (STREAM NIL STREAM-SUPP-T))

Private

Undocumented

GROUP-SPEC-SYMBOL (SPEC)

TEST-SPEC-SYMBOLS (SPEC)

GENERIC-FUNCTION

Private

ALL-NST-TESTED (NST-TEST-RUNNER &OPTIONAL ALL-PACKAGES ALL-GROUPS ALL-TESTS-BY-GROUP)

Given an ASDF system, return the packages, test groups and individual tests used to test that system

ALL-NST-TESTERS (SYSTEM)

Returns three values: 1. A set of PACKAGES, 2. A set of NST GROUP NAMES 3. A set of NST TEST specifiers (pairs) that should be tested while testing SYSTEM.

Undocumented

GET-TEST-SPECS (SYSTEM)

SLOT-ACCESSOR

Private

ACTION-ON-ERROR (OBJECT)

Describes the error action taken by NST on behalf of error-when-nst.

ERROR-WHEN-NST (OBJECT)

Indicates whether NST should throw an error when tests fail.

NST-DEBUG-CONFIG (OBJECT)

NST debugging customization for this system. Should be an expression which, when evaluated, returns a list of keyword arguments; see *nst-default-debug-config*.

NST-DEBUG-PROTECT (OBJECT)

Globals to be saved/restored in an NST debug run. List of elements (package . symbol)

NST-GROUP (OBJECT)

An NST test group, given as a dotted pair of a package name plus the name of a test group in that package.

NST-GROUPS (OBJECT)

A list of NST test groups, each given as a dotted pair of a package name plus the name of a test group in that package.

NST-INIT (OBJECT)

NST initialization steps. Should a list of lists, each of which gives arguments to run-nst-command/the REPL alias.

NST-PACKAGE (OBJECT)

Packages whose def-test-groups are to be run.

NST-PACKAGES (OBJECT)

Package whose def-test-groups are to be run.

NST-PUSH-DEBUG-CONFIG (OBJECT)

If non-null, then when this system is loaded its :nst-debug and :nst-debug-protect settings will be used as NST's defaults.

NST-SYSTEMS (OBJECT)

Other systems to which NST testing is delegated

NST-TEST (OBJECT)

A single NST test, given as a three-element list of a package name, the test's group name, and the test name.

NST-TESTS (OBJECT)

A list of NST tests, each given as a three-element list of a package name, the test's group name, and the test name.

VARIABLE

Private

*INTERMEDIATE-SYSTEM*

Dynamically-scoped variable used to indicate whether one system is being tested on behalf on another. If non-nil, then reporting of a system's results may be suppressed.

CLASS

Private

NST-TEST-HOLDER

Class of ASDF systems that use NST for their test-op.

NST-TEST-RUNNER

Class of ASDF systems that use NST for their test-op.

NST-TESTABLE

The once-and-future actual class.

CONDITION

Private

Undocumented

REQUESTED-ERROR-ON-TEST-FAILURE