The lisp-unit2 Reference Manual

This is the lisp-unit2 Reference Manual, version 0.9.4, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 17:09:43 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 lisp-unit2

Common Lisp library that supports unit testing.

License

MIT

Version

0.9.4

Dependencies
  • alexandria (system).
  • cl-interpol (system).
  • iterate (system).
  • symbol-munger (system).
Source

lisp-unit2.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 lisp-unit2/lisp-unit2.asd

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

ASDF Systems

lisp-unit2.


3.1.2 lisp-unit2/package.lisp

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Packages

lisp-unit2.


3.1.3 lisp-unit2/assert-package.lisp

Dependency

package.lisp (file).

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Packages

lisp-unit2-asserts.


3.1.4 lisp-unit2/vars.lisp

Dependency

assert-package.lisp (file).

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Public Interface
Internals

3.1.5 lisp-unit2/collectors.lisp

Dependency

vars.lisp (file).

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Internals

3.1.6 lisp-unit2/asserts.lisp

Dependency

collectors.lisp (file).

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Public Interface
Internals

3.1.7 lisp-unit2/lisp-unit.lisp

Dependency

asserts.lisp (file).

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Public Interface
Internals

3.1.8 lisp-unit2/summarize.lisp

Dependency

lisp-unit.lisp (file).

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Public Interface
Internals

3.1.9 lisp-unit2/rational.lisp

Dependency

summarize.lisp (file).

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Public Interface
Internals

%seq-rational-equal (function).


3.1.10 lisp-unit2/floating-point.lisp

Dependency

rational.lisp (file).

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Public Interface
Internals

3.1.11 lisp-unit2/test-anything-protocol.lisp

Dependency

floating-point.lisp (file).

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Public Interface
Internals

3.1.12 lisp-unit2/interop.lisp

Dependency

test-anything-protocol.lisp (file).

Source

lisp-unit2.asd.

Parent Component

lisp-unit2 (system).

Internals

4 Packages

Packages are listed by definition order.


4.1 lisp-unit2

Source

package.lisp.

Use List
  • common-lisp.
  • iterate.
Public Interface
Internals

4.2 lisp-unit2-asserts

Source

assert-package.lisp.


5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Special variables

Special Variable: *epsilon*

Set the error epsilon if the defaults are not acceptable.

Package

lisp-unit2.

Source

floating-point.lisp.

Special Variable: *measure*
Package

lisp-unit2.

Source

floating-point.lisp.

Special Variable: *result*

The current test result (bound in %run-test)

Package

lisp-unit2.

Source

vars.lisp.

Special Variable: *results*

The current results database (bound in run-tests)

Package

lisp-unit2.

Source

vars.lisp.

Special Variable: *significant-figures*

Default to 4 significant figures.

Package

lisp-unit2.

Source

floating-point.lisp.

Special Variable: *test-db*

The unit test database is a list of tests and some hashtable indexes

Package

lisp-unit2.

Source

vars.lisp.

Special Variable: *test-stream*
Package

lisp-unit2.

Source

vars.lisp.

Special Variable: *unit-test*

The currently executing unit test (bound in %run-test, ie every test function)

Package

lisp-unit2.

Source

vars.lisp.


5.1.2 Macros

Macro: assert-char-equal (expected form &rest extras)

Assert whether expected and form are CHAR-EQUAL.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-char-not-equal (expected form &rest extras)

Assert whether expected and form are CHAR-NOT-EQUAL.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-char/= (expected form &rest extras)

Assert whether expected and form are CHAR/=.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-char= (expected form &rest extras)

Assert whether expected and form are CHAR=.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-eq (expected form &rest extras)

Assert whether expected and form are EQ.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-eql (expected form &rest extras)

Assert whether expected and form are EQL.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-equal (expected form &rest extras)

Assert whether expected and form are EQUAL.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-equality (test expected form &rest extras)

Assert whether expected and form are equal according to test.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-equalp (expected form &rest extras)

Assert whether expected and form are EQUALP.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-error (condition form &rest extras)

Assert whether form signals condition.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-expands (expansion form &rest extras)

Assert whether form expands to expansion.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-false (form &rest extras)

Assert whether the form is false.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-float-equal (expected form &rest extras)
Package

lisp-unit2.

Source

floating-point.lisp.

Macro: assert-no-error (condition form &rest extras)

Assert whether form signals condition.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-no-signal (condition form &rest extras)
Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-no-warning (condition form &rest extras)
Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-norm-equal (expected form &rest extras)
Package

lisp-unit2.

Source

floating-point.lisp.

Macro: assert-number-equal (expected form &rest extras)
Package

lisp-unit2.

Source

floating-point.lisp.

Macro: assert-numerical-equal (expected form &rest extras)
Package

lisp-unit2.

Source

floating-point.lisp.

Macro: assert-prints (output form &rest extras)

Assert whether printing the form generates the output.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-rational-equal (expected form &rest extras)
Package

lisp-unit2.

Source

rational.lisp.

Macro: assert-sigfig-equal (expected form &rest extras)
Package

lisp-unit2.

Source

floating-point.lisp.

Macro: assert-signal (condition form &rest extras)
Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-string-equal (expected form &rest extras)

Assert whether expected and form are STRING-EQUAL.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-string-not-equal (expected form &rest extras)

Assert whether expected and form are STRING-NOT-EQUAL.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-string/= (expected form &rest extras)

Assert whether expected and form are STRING/=.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-string= (expected form &rest extras)

Assert whether expected and form are STRING=.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-true (form &rest extras)

Assert whether the form is true.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-typep (expected-type form &rest extras)

Assert whether expected and form are TYPEP.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert-warning (condition form &rest extras)
Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert/= (expected form &rest extras)

Assert whether expected and form are /=.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: assert= (expected form &rest extras)

Assert whether expected and form are =.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: define-test (name (&key tags contexts package) &body body)

Defines a new test object, test functions and installs the test
function in the test database

name: the name of the test and the test-function

contexts: a (lambda (fn)...) (or list of) that runs the fn in a dynamic context

tags: symbols that can be used to group tests

If package is provided, the name and any provided tags are reinterned into package before use. Keywords are left alone. This is useful because many times tests and the functions they test, coexist (and always could in lisp-unit v1, now that we create test functions, we dont want them overwriting the original function).

Note: This should probably not be used (rather opting for packaged::symbols), but will be useful when converting from lisp-unit 1->2. See also: run-tests, get-tests reintern-package

Package

lisp-unit2.

Source

lisp-unit.lisp.

Macro: undefine-test (name (&key tags contexts package) &body body)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Macro: with-assertion-summary (() &body body)
Package

lisp-unit2.

Source

summarize.lisp.

Macro: with-failure-debugging (() &body body)

A context macro that invokes the debugger on failed assertions

Package

lisp-unit2.

Source

asserts.lisp.

Macro: with-summary ((&key name) &body body)
Package

lisp-unit2.

Source

summarize.lisp.

Macro: with-tap-summary (() &body body)
Package

lisp-unit2.

Source

test-anything-protocol.lisp.

Macro: with-test-results ((&key collection-place summarize?) &body body)

see with-test-results-context

Package

lisp-unit2.

Source

summarize.lisp.

Macro: with-test-signals-muffled (() &body body)
Package

lisp-unit2.

Source

lisp-unit.lisp.


5.1.3 Ordinary functions

Function: array-error (array1 array2 &key test error-function)

Return a list of the indices and error between the array elements.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: complex-random (limit &optional state)

Return a random complex number.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: get-tests (&key tests tags package reintern-package exclude-tests exclude-tags)

finds tests by names, tags, and package

if reintern-package is provided, reintern all symbols provided for tests and tags into the reintern-package. Mostly provided for easing conversion of lisp-unit1 test suites

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: list-tags ()

Return a list of the tags

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: list-tests ()

Return a list of all tests,
use get tests to find tests by package tag or name

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: logically-equal (x y)
Package

lisp-unit2.

Source

asserts.lisp.

Function: make-2d-list (rows columns &key initial-element)

Return a nested list with INITIAL-ELEMENT.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: make-random-2d-array (rows columns &optional limit)

Return a 2D array of random numbers.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: make-random-2d-list (rows columns &optional limit)

Return a nested list of random numbers.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: make-random-list (size &optional limit)

Return a list of random numbers.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: number-equal (number1 number2 &optional epsilon type-eq-p)

Return true if the numbers are equal within some epsilon, optionally requiring the types to be identical.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: print-failure-summary (o)
Package

lisp-unit2.

Source

summarize.lisp.

Function: print-summary (o)
Package

lisp-unit2.

Source

summarize.lisp.

Function: remove-tags (&optional tags)

Remove individual tags or entire sets.

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: remove-tests (&optional tests tags package)

Remove individual tests or entire sets.

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: reset-test-database ()
Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: set-equal (list1 list2 &rest initargs &key key test)

Return true if every element of list1 is an element of list2 and vice versa.

Package

lisp-unit2.

Source

asserts.lisp.

Function: test-code (name)

Returns the code stored for the test name.

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: test-documentation (name)

Return the documentation for the test.

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: with-assertion-summary-context (body-fn)
Package

lisp-unit2.

Source

summarize.lisp.

Function: with-failure-debugging-context (body-fn)

A context that invokes the debugger on failed assertions

Package

lisp-unit2.

Source

asserts.lisp.

Function: with-summary-context (body-fn &key name)
Package

lisp-unit2.

Source

summarize.lisp.

Function: with-tap-context (body-fn)
Package

lisp-unit2.

Source

test-anything-protocol.lisp.

Function: with-test-results-context (body-fn &key collection-place-setter summarize?)

A context that collects test-result-databases
if collection-place-setter (lambda (new) (setf collection-place new)) exists anytime we get a new test result we set the place to the new collection

if summarize? at the end of the block we print the results summary for all tests this defaults to T if no collection-place-setter is provided and nil otherwise

Package

lisp-unit2.

Source

summarize.lisp.

Function: write-tap (test-results)

Write the test results to ‘stream‘ in TAP format. Returns the test results.

Package

lisp-unit2.

Source

test-anything-protocol.lisp.

Function: write-tap-to-file (test-results path)

write the test results to ‘path‘ in TAP format, overwriting ‘path‘. Returns pathname to the output file

Package

lisp-unit2.

Source

test-anything-protocol.lisp.


5.1.4 Generic functions

Generic Function: default-epsilon (value)

Return the default epsilon for the value.

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: default-epsilon (value)
Generic Reader: empty (object)
Package

lisp-unit2.

Methods
Reader Method: empty ((test-results-mixin test-results-mixin))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

empty.

Generic Writer: (setf empty) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf empty) ((test-results-mixin test-results-mixin))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

empty.

Generic Reader: errors (object)
Package

lisp-unit2.

Methods
Reader Method: errors ((test-results-mixin test-results-mixin))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

errors.

Generic Writer: (setf errors) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf errors) ((test-results-mixin test-results-mixin))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

errors.

Generic Reader: failed (object)
Package

lisp-unit2.

Methods
Reader Method: failed ((test-results-mixin test-results-mixin))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

failed.

Generic Writer: (setf failed) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf failed) ((test-results-mixin test-results-mixin))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

failed.

Generic Function: float-equal (data1 data2 &optional epsilon)

Return true if the floating point data is equal.

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: float-equal (x y &optional epsilon)
Generic Reader: missing (object)
Package

lisp-unit2.

Methods
Reader Method: missing ((test-results-mixin test-results-mixin))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

missing.

Generic Writer: (setf missing) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf missing) ((test-results-mixin test-results-mixin))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

missing.

Generic Function: norm (data &optional measure)

Return the element-wise norm of the data.

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: norm ((data array) &optional measure)

Return the entrywise norm of the array according to the measure.

Method: norm ((data vector) &optional measure)

Return the norm of the vector according to the measure.

Method: norm ((data list) &optional measure)

Return the norm of the list according to the measure.

Generic Function: norm-equal (data1 data2 &optional epsilon measure)

Return true if the norm of the data is equal.

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: norm-equal ((data1 array) (data2 array) &optional epsilon measure)

Return true if the arrays are equal in length and the relative error norm is less than epsilon.

Method: norm-equal ((data1 vector) (data2 vector) &optional epsilon measure)

Return true if the vectors are equal in length and the relative error norm is less than epsilon.

Method: norm-equal ((data1 vector) (data2 list) &optional epsilon measure)

Return true if the vector and the list are equal in length and the relative error norm is less than epsilon.

Method: norm-equal ((data1 list) (data2 vector) &optional epsilon measure)

Return true if the vector and the list are equal in length and the relative error norm is less than epsilon.

Method: norm-equal ((data1 list) (data2 list) &optional epsilon measure)

Return true if the lists are equal in length and the relative error norm is less than epsilon.

Generic Function: numerical-equal (result1 result2 &key test)

Return true if the results are numerically equal according to :TEST.

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: numerical-equal ((result1 array) (result2 array) &key test)

Return true if the arrays are equal in dimension and each element is equal according to :TEST.

Method: numerical-equal ((result1 vector) (result2 list) &key test)

Return true if every element of the list is equla to the corresponding element of the vector.

Method: numerical-equal ((result1 list) (result2 vector) &key test)

Return true if every element of the list is equal to the corresponding element of the vector.

Method: numerical-equal ((result1 vector) (result2 vector) &key test)

Return true if the vectors are equal in length and each element is equal according to :TEST.

Method: numerical-equal ((result1 list) (result2 list) &key test)

Return true if the lists are equal in length and each element is equal according to :TEST.

Method: numerical-equal ((result1 number) (result2 number) &key test)

Return true if the the numbers are equal according to :TEST.

Generic Reader: passed (object)
Package

lisp-unit2.

Methods
Reader Method: passed ((test-results-mixin test-results-mixin))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

passed.

Generic Writer: (setf passed) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf passed) ((test-results-mixin test-results-mixin))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

passed.

Generic Function: print-status-summary (object status)
Package

lisp-unit2.

Source

summarize.lisp.

Methods
Method: print-status-summary ((db test-results-db) (status list))
Method: print-status-summary ((db test-results-db) (s symbol))
Method: print-status-summary ((o test-result) (s symbol))
Generic Function: rational-equal (data1 data2)

Return true if the rational data is equal.

Package

lisp-unit2.

Source

rational.lisp.

Methods
Method: rational-equal ((data1 array) (data2 array))

Return true if the arrays are equal in dimension and element-wise equal.

Method: rational-equal ((data1 vector) (data2 vector))

Return true if the vectors are equal in length and element-wise equal.

Method: rational-equal ((data1 vector) (data2 list))

Return true if the vector and the list are equal in length and element-wise equal.

Method: rational-equal ((data1 list) (data2 vector))

Return true if the vector and the list are equal in length and element-wise equal.

Method: rational-equal ((data1 list) (data2 list))

Return true if the lists are equal in length and element-wise equal.

Method: rational-equal ((data1 complex) (data2 complex))

Return true if the complex parts are rational and equal.

Method: rational-equal ((data1 rational) (data2 rational))

Return true if the rational numbers are equal.

Generic Function: relative-error (exact approximate)

Return the relative-error between the 2 quantities.

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: relative-error ((exact complex) (approximate complex))

Return the relative error of the complex numbers.

Method: relative-error ((exact complex) (approximate float))

Return the relative error between the float and complex number.

Method: relative-error ((exact float) (approximate complex))

Return the relative error between the float and complex number.

Method: relative-error ((exact float) (approximate float))

Return the error delta between the exact and approximate floating point value.

Generic Function: relative-error-norm (exact approximate &optional measure)

Return the relative error norm

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: relative-error-norm ((exact array) (approximate vector) &optional measure)

Return the relative error norm of the arrays.

Method: relative-error-norm ((exact vector) (approximate vector) &optional measure)

Return the relative error norm of the vectors.

Method: relative-error-norm ((exact vector) (approximate list) &optional measure)

Return the relative error norm of the list and the vector.

Method: relative-error-norm ((exact list) (approximate vector) &optional measure)

Return the relative error norm of the list and the vector.

Method: relative-error-norm ((exact list) (approximate list) &optional measure)

Return the relative error norm of the lists.

Generic Function: rerun-failures (test-results-db &key status)

reruns failed tests

Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: rerun-failures ((dbs list) &key status)
Method: rerun-failures ((db test-results-db) &key status)
Generic Function: rerun-tests (test-results-db)

Rerun all tests from a given run (returns new results)

Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: rerun-tests ((dbs list))
Method: rerun-tests ((db test-results-db))
Generic Reader: results (condition)
Package

lisp-unit2.

Methods
Reader Method: results ((test-results-db test-results-db))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

results.

Reader Method: results ((condition collect-test-results))
Source

vars.lisp.

Target Slot

results.

Reader Method: results ((condition all-tests-complete))
Source

vars.lisp.

Target Slot

results.

Reader Method: results ((condition all-tests-start))
Source

vars.lisp.

Target Slot

results.

Generic Writer: (setf results) (condition)
Package

lisp-unit2.

Methods
Writer Method: (setf results) ((test-results-db test-results-db))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

results.

Writer Method: (setf results) ((condition collect-test-results))
Source

vars.lisp.

Target Slot

results.

Writer Method: (setf results) ((condition all-tests-complete))
Source

vars.lisp.

Target Slot

results.

Writer Method: (setf results) ((condition all-tests-start))
Source

vars.lisp.

Target Slot

results.

Generic Function: run-test (test &key test-contexts)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: run-test ((n symbol) &key test-contexts)
Method: run-test :around ((u symbol) &key test-contexts)
Method: run-test ((u unit-test) &key test-contexts)
Generic Function: run-tests (&key tests tags package name exclude-tests exclude-tags test-contexts run-contexts reintern-package)

Run the specified tests.

We run all the listed tests, and all tests tagged with tags. If both test
and tags are nil (the default), then we run all tests in
package (defaulting to *package*)

name is the name of the test run. Generally expected to be the name of the system being tested. Can be defaulted with the name parameter of with-summary as well. can also be defaulted with.

reintern-package: when looking up tests, first reintern all tests and tags
in this package. In general this should probably not be used, but is provided for convenience in transitioning from lisp-unit 1 to 2 (see: define-test package)

test-contexts is a list of contexts that will be applied around
each individual test

run-contexts is a list of contexts that will be applied around the entire
suite (around signals)

exclude-tests, exclude-tags: tests / tags to remove from the
run. explicit inclusion overrides, explicit exclusion, overrides
implicit inclusion
EG: (define-test test-takes-forever (manual stuff) ...)
(find-test :tags ’stuff :exclude-tags ’manual)
will not find test-takes-forever
(find-test :tags ’(stuff manual) :exclude-tags ’manual)
(find-test :tests ’test-takes-forever :exclude-tags ’manual)
both will find test-takes-forever

Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: run-tests :around (&key tests tags package name exclude-tests exclude-tags test-contexts run-contexts reintern-package)
Method: run-tests (&rest args &key tests tags package reintern-package name exclude-tests exclude-tags test-contexts run-contexts)
Generic Function: sigfig-equal (data1 data2 &optional significant-figures)

Return true if the data have equal significant figures.

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: sigfig-equal ((data1 array) (data2 array) &optional significant-figures)

Return true if the arrays are equal in length and the element-wise comparison is equal to significant figures.

Method: sigfig-equal ((data1 vector) (data2 vector) &optional significant-figures)

Return true if the vectors are equal in length and the element-wise comparison is equal to significant figures.

Method: sigfig-equal ((data1 list) (data2 vector) &optional significant-figures)

Return true if the list and the vector are equal in length and the element-wise comparison is equal to significant figures.

Method: sigfig-equal ((data1 vector) (data2 list) &optional significant-figures)

Return true if the vector and the list are equal in length and the element-wise comparison is equal to significant figures.

Method: sigfig-equal ((data1 list) (data2 list) &optional significant-figures)

Return true if the lists are equal in length and the element-wise comparison is equal to significant figures.

Method: sigfig-equal ((data1 float) (data2 float) &optional significant-figures)

Return true if the floating point numbers have equal significant figures.

Generic Function: sump (data p)

Return the scaling parameter and the sum of the powers of p of the ~ data.

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: sump ((data array) (p real))

Return the scaling parameter and the sum of the powers of p of the ~ array.

Method: sump ((data vector) (p real))

Return the scaling parameter and the sum of the powers of p of the ~ vector.

Method: sump ((data list) (p real))

Return the scaling parameter and the sum of the powers of p of the ~ data.

Generic Function: sumsq (data)

Return the scaling parameter and the sum of the squares of the ~ data.

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: sumsq ((data array))

Return the scaling parameter and the sum of the squares of the ~ array.

Method: sumsq ((data vector))

Return the scaling parameter and the sum of the squares of the ~ vector.

Method: sumsq ((data list))

Return the scaling parameter and the sum of the squares of the ~ list.

Generic Function: uninstall-test (test)

Uninstalls a previously defined unit test

Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: uninstall-test ((n symbol))
Method: uninstall-test ((u unit-test))
Generic Reader: unit-test (condition)
Package

lisp-unit2.

Methods
Reader Method: unit-test ((test-result test-result))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

unit-test.

Reader Method: unit-test ((failure-result failure-result))

automatically generated reader method

Source

asserts.lisp.

Target Slot

unit-test.

Reader Method: unit-test ((condition assertion-fail))
Source

asserts.lisp.

Target Slot

unit-test.

Reader Method: unit-test ((condition assertion-pass))
Source

asserts.lisp.

Target Slot

unit-test.

Reader Method: unit-test ((condition test-start))
Source

vars.lisp.

Target Slot

unit-test.

Generic Writer: (setf unit-test) (condition)
Package

lisp-unit2.

Methods
Writer Method: (setf unit-test) ((test-result test-result))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

unit-test.

Writer Method: (setf unit-test) ((failure-result failure-result))

automatically generated writer method

Source

asserts.lisp.

Target Slot

unit-test.

Writer Method: (setf unit-test) ((condition assertion-fail))
Source

asserts.lisp.

Target Slot

unit-test.

Writer Method: (setf unit-test) ((condition assertion-pass))
Source

asserts.lisp.

Target Slot

unit-test.

Writer Method: (setf unit-test) ((condition test-start))
Source

vars.lisp.

Target Slot

unit-test.

Generic Reader: warnings (object)
Package

lisp-unit2.

Methods
Reader Method: warnings ((test-results-mixin test-results-mixin))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

warnings.

Generic Writer: (setf warnings) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf warnings) ((test-results-mixin test-results-mixin))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

warnings.


5.1.5 Standalone methods

Method: initialize-instance :after ((ctl test-results-db) &key &allow-other-keys)
Source

lisp-unit.lisp.

Method: print-object ((o test-results-db) stream)

Print the summary counts with the object.

Source

lisp-unit.lisp.

Method: print-object ((o unit-test) s)

Print the auto-print-items for this instance.

Source

lisp-unit.lisp.

Method: print-object ((o test-result) s)

Print the auto-print-items for this instance.

Source

lisp-unit.lisp.


5.1.6 Conditions

Condition: all-tests-complete

Signaled when a test run is finished.

Package

lisp-unit2.

Source

vars.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: results
Initform

(quote nil)

Initargs

:results

Readers

results.

Writers

(setf results).

Slot: name

Name for this test results

Initform

(quote nil)

Initargs

:name

Readers

name.

Writers

(setf name).

Condition: all-tests-start

Signaled when a single test starts.

Package

lisp-unit2.

Source

vars.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: results
Initform

(quote nil)

Initargs

:results

Readers

results.

Writers

(setf results).

Condition: assertion-fail
Package

lisp-unit2.

Source

asserts.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: unit-test
Initform

(quote lisp-unit2:*unit-test*)

Initargs

:unit-test

Readers

unit-test.

Writers

(setf unit-test).

Slot: assertion
Initform

(quote nil)

Initargs

:assertion

Readers

assertion.

Writers

(setf assertion).

Slot: failure
Initform

(quote nil)

Initargs

:failure

Readers

failure.

Writers

(setf failure).

Condition: assertion-pass
Package

lisp-unit2.

Source

asserts.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: unit-test
Initform

(quote lisp-unit2:*unit-test*)

Initargs

:unit-test

Readers

unit-test.

Writers

(setf unit-test).

Slot: assertion
Initform

(quote nil)

Initargs

:assertion

Readers

assertion.

Writers

(setf assertion).

Condition: collect-test-results

Signaled that with-test-results should collect this test-result-database

Package

lisp-unit2.

Source

vars.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: results
Initform

(quote nil)

Initargs

:results

Readers

results.

Writers

(setf results).

Condition: missing-test

Signaled when a single test is finished.

Package

lisp-unit2.

Source

vars.lisp.

Direct superclasses

warning.

Direct methods
Direct slots
Slot: test-name
Initform

(quote nil)

Initargs

:test-name

Readers

test-name.

Writers

(setf test-name).

Condition: test-complete

Signaled when a single test is finished.

Package

lisp-unit2.

Source

vars.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: result
Initform

(quote nil)

Initargs

:result

Readers

result.

Writers

(setf result).

Condition: test-start

Signaled when a single test starts.

Package

lisp-unit2.

Source

vars.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: unit-test
Initform

(quote nil)

Initargs

:unit-test

Readers

unit-test.

Writers

(setf unit-test).


5.1.7 Classes

Class: failure-result

Failure details of the assertion.

Package

lisp-unit2.

Source

asserts.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: unit-test
Initform

lisp-unit2:*unit-test*

Initargs

:unit-test

Readers

unit-test.

Writers

(setf unit-test).

Slot: form
Initargs

:form

Readers

form.

Writers

(setf form).

Slot: actual
Initargs

:actual

Readers

actual.

Writers

(setf actual).

Slot: expected
Initargs

:expected

Readers

expected.

Writers

(setf expected).

Slot: extras
Initargs

:extras

Readers

extras.

Writers

(setf extras).

Slot: test
Initargs

:test

Readers

test.

Writers

(setf test).

Class: test-result
Package

lisp-unit2.

Source

lisp-unit.lisp.

Direct superclasses

test-results-mixin.

Direct methods
Direct slots
Slot: unit-test
Initform

lisp-unit2:*unit-test*

Initargs

:unit-test

Readers

unit-test.

Writers

(setf unit-test).

Slot: return-value
Initargs

:return-value

Readers

return-value.

Writers

(setf return-value).

Class: test-results-db

Store the results of the tests for further evaluation.

Package

lisp-unit2.

Source

lisp-unit.lisp.

Direct superclasses
Direct methods
Direct slots
Slot: name
Initargs

:name

Slot: tests
Initargs

:tests

Readers

tests.

Writers

(setf tests).

Slot: results
Initargs

:results

Readers

results.

Writers

(setf results).

Slot: args
Initargs

:args

Readers

args.

Writers

(setf args).

Class: unit-test

Organize the unit test documentation and code.

Package

lisp-unit2.

Source

lisp-unit.lisp.

Direct superclasses

unit-test-control-mixin.

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name.

Writers

(setf name).

Slot: doc
Initargs

:doc

Readers

doc.

Writers

(setf doc).

Slot: code

The forms to produce the fn

Initargs

:code

Readers

code.

Writers

(setf code).

Slot: tags
Initargs

:tags

Readers

tags.

Writers

(setf tags).

Slot: most-recent-result
Initargs

:most-recent-result

Readers

most-recent-result.

Writers

(setf most-recent-result).

Slot: eval-package
Initargs

:eval-package

Readers

eval-package.

Writers

(setf eval-package).


5.2 Internals


5.2.1 Special variables

Special Variable: *log-level*
Package

lisp-unit2.

Source

vars.lisp.

Special Variable: *test-log-stream*
Package

lisp-unit2.

Source

vars.lisp.

Special Variable: +interop-test-result-contexts+
Package

lisp-unit2.

Source

interop.lisp.

Special Variable: +statuses+

List of statuses in order of priority for categorizing test runs

Package

lisp-unit2.

Source

vars.lisp.


5.2.2 Macros

Macro: %collect! (it place)
Package

lisp-unit2.

Source

collectors.lisp.

Macro: %collect-new! (it place &key test key)
Package

lisp-unit2.

Source

collectors.lisp.

Macro: %decollect! (it place &key test key)
Package

lisp-unit2.

Source

collectors.lisp.

Macro: %log (message &key level)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Macro: %log-around ((message &key start-level end-level) &body body)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Macro: expand-assert (type form body expected extras &key test full-form)

Expand the assertion to the internal format.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: expand-extras (extras)

Expand extra forms.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: expand-macro-form (form &optional env)

Expand the macro form once.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: expand-output-form (form)

Capture the output of the form in a string.

Package

lisp-unit2.

Source

asserts.lisp.

Macro: pprint-test-block ((&key per-line-prefix) &body body)
Package

lisp-unit2.

Source

summarize.lisp.


5.2.3 Ordinary functions

Function: %array-error (array1 array2 test errfun)

Return a list of the indices, values and error of the elements that are not equal.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %array-indices (row-major-index dimensions)

Recursively calculate the indices from the row major index.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %complex-float-random (limit &optional state)

Return a random complex float number.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %complex-rational-random (limit &optional state)

Return a random complex rational number.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %dequote (it)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: %form-equal (form1 form2)

Descend into the forms checking for equality.

The first unequal part is the second value

Package

lisp-unit2.

Source

asserts.lisp.

Function: %has? (status thing)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: %in-package (n &optional package)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: %norm-equal (seq1 seq2 epsilon measure)

Return true if the relative error norm is less than epsilon.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %normalize-float (significand &optional exponent)

Return the normalized floating point number and exponent.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %out (s &rest args)
Package

lisp-unit2.

Source

summarize.lisp.

Function: %relative-error (exact approximate)

Return the relative error of the numbers.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %relative-error-norm (exact approximate measure)

Return the relative error norm of the sequences.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %run-test (u &key test-contexts)

This should only be called from run-test-name, which everyone else should call This ensures our test name is easily in the inspector and the redefining a test then retrying calls the new test body

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: %run-test-name (u &key test-contexts)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: %seq-rational-equal (seq1 seq2)

Return true if the sequences are equal length and at each position the corresponding elements are equal.

Package

lisp-unit2.

Source

rational.lisp.

Function: %seq-sigfig-equal (seq1 seq2 significant-figures)

Return true if the element-wise comparison is equal to the specified significant figures.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %sequence-equal (seq1 seq2 test)

Return true if the sequences are equal in length and each element is equal according to :TEST.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %sequence-error (sequence1 sequence2 test error-function)

Return a sequence of the indice and error between the sequences.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %sigfig-equal (float1 float2 significant-figures)

Return true if the floating point numbers have equal significant figures.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: %to-test (id)

Coerces its argument to a unit-test argument

always look up by name so that rerunning a suite after uninstalling a test behaves appropriately

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: %ts (&optional time)

returns a date as {y}{mon}{d}-{h}{min}{s}, defaults to get-universal-time intended for use in datestamping filenames

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: %uninstall-name (n &optional tags)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: %write-tap-test-result (test-result i)

Output a single test, taking care to ensure the indentation level is the same before and after invocation.

Package

lisp-unit2.

Source

test-anything-protocol.lisp.

Function: combine-contexts (&rest contexts)

Takes a list of nils and contexts and combines them into a single context (or null of no contexts were provided)

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: do-contexts (body-fn &rest contexts)

runs the body-fn inside of contexts, the last context will be the outermost all nils in contexts are ignored

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: expand-signaled-handler (whole condition form extras should-be-signaled?)
Package

lisp-unit2.

Source

asserts.lisp.

Function: get-system-list (start)
Package

lisp-unit2.

Source

interop.lisp.

Function: internal-assert (type form code-thunk expected-thunk extras test &key full-form)

Perform the assertion and record the results.

Package

lisp-unit2.

Source

asserts.lisp.

Function: null-tags-warning-report (null-tags-warning stream)

Write the null-tags-warning to the stream.

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: null-tests-warning-report (null-tests-warning stream)

Write the null-tests-warning to the stream.

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: print-tap (test-results)

Alias for write-tap for backwards and forwards consistency

Package

lisp-unit2.

Source

test-anything-protocol.lisp.

Function: record-result-context (body)

as we are finishing a test (ie: it has the right status) record the result

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: sequence-error (sequence1 sequence2 &key test error-function)

Return a sequence of the indice and error between the sequence elements.

Package

lisp-unit2.

Source

floating-point.lisp.

Function: short-full-name (s)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: status (u)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: test-name-error-report (test-name-error stream)

Write the test-name-error to the stream.

Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: test-signals-muffled-context (body-fn)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Function: valid-test-name (name)

Signal a type-error if the test name is not a symbol.

Package

lisp-unit2.

Source

lisp-unit.lisp.


5.2.4 Generic functions

Generic Function: %collect (it object)
Package

lisp-unit2.

Source

collectors.lisp.

Methods
Method: %collect (it (o null))
Method: %collect (it (o list-collector))
Generic Function: %collect-new (it object &key test key)
Package

lisp-unit2.

Source

collectors.lisp.

Methods
Method: %collect-new (it (o null) &key test key)
Method: %collect-new (it (o list-collector) &key test key)
Generic Function: %compile (unit-test)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: %compile ((u unit-test))
Generic Function: %decollect (it object &key test key)
Package

lisp-unit2.

Source

collectors.lisp.

Methods
Method: %decollect (it (o null) &key test key)
Method: %decollect (it (o list-collector) &key test key)
Generic Function: %norm (data measure)

Return the norm of the data according to measure.

Package

lisp-unit2.

Source

floating-point.lisp.

Methods
Method: %norm ((data vector) (measure (eql :infinity)))

Return the infinity, or maximum, norm of the vector.

Method: %norm ((data list) (measure (eql :infinity)))

Return the infinity, or maximum, norm of the list.

Method: %norm ((data vector) (measure integer))

Return the Euclidean norm of the vector.

Method: %norm ((data list) (measure integer))

Return the Euclidean norm of the list.

Method: %norm ((data vector) (measure (eql 2)))

Return the Euclidean norm of the vector.

Method: %norm ((data list) (measure (eql 2)))

Return the Euclidean norm of the list.

Method: %norm ((data vector) (measure (eql 1)))

Return the Taxicab norm of the vector.

Method: %norm ((data list) (measure (eql 1)))

Return the Taxicab norm of the list.

Generic Function: %print-result-summary (db)
Package

lisp-unit2.

Source

summarize.lisp.

Methods
Method: %print-result-summary ((o test-results-db))
Generic Function: %print-summary (o)

Print a summary of all results to the stream.

Package

lisp-unit2.

Source

summarize.lisp.

Methods
Method: %print-summary ((o vector))
Method: %print-summary ((o list))
Method: %print-summary ((o test-results-db))
Method: %print-summary ((run test-result))
Method: %print-summary :around ((result failure-result))
Method: %print-summary ((result failure-result))
Method: %print-summary ((result error-result))
Method: %print-summary ((result macro-result))
Method: %print-summary ((result output-result))
Method: %print-summary ((w warning))
Method: %print-summary ((e error))
Method: %print-summary (it)
Generic Reader: %tests (object)
Package

lisp-unit2.

Methods
Reader Method: %tests ((test-database test-database))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

%tests.

Generic Writer: (setf %tests) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf %tests) ((test-database test-database))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

%tests.

Generic Reader: actual (object)
Package

lisp-unit2.

Methods
Reader Method: actual ((failure-result failure-result))

automatically generated reader method

Source

asserts.lisp.

Target Slot

actual.

Generic Writer: (setf actual) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf actual) ((failure-result failure-result))

automatically generated writer method

Source

asserts.lisp.

Target Slot

actual.

Generic Function: all-warnings (it)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: all-warnings ((n null))
Method: all-warnings ((u test-result))
Method: all-warnings ((u test-results-db))
Generic Reader: args (object)
Package

lisp-unit2.

Methods
Reader Method: args ((test-results-db test-results-db))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

args.

Generic Writer: (setf args) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf args) ((test-results-db test-results-db))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

args.

Generic Function: assert-passes? (type test expected actual)

Return the result of the assertion.

Package

lisp-unit2.

Source

asserts.lisp.

Methods
Method: assert-passes? (type test expected actual)
Generic Reader: assertion (condition)
Generic Writer: (setf assertion) (condition)
Package

lisp-unit2.

Methods
Reader Method: assertion ((condition assertion-fail))
Writer Method: (setf assertion) ((condition assertion-fail))
Source

asserts.lisp.

Target Slot

assertion.

Reader Method: assertion ((condition assertion-pass))
Writer Method: (setf assertion) ((condition assertion-pass))
Source

asserts.lisp.

Target Slot

assertion.

Generic Reader: code (object)
Generic Writer: (setf code) (object)
Package

lisp-unit2.

Methods
Reader Method: code ((unit-test unit-test))
Writer Method: (setf code) ((unit-test unit-test))

The forms to produce the fn

Source

lisp-unit.lisp.

Target Slot

code.

Generic Reader: contexts (object)
Generic Writer: (setf contexts) (object)
Package

lisp-unit2.

Methods
Reader Method: contexts ((unit-test-control-mixin unit-test-control-mixin))
Writer Method: (setf contexts) ((unit-test-control-mixin unit-test-control-mixin))

A function that accepts a test thunk and executes
with a given context (eg: database-connects, html-collectors, http-context etc)

Source

lisp-unit.lisp.

Target Slot

contexts.

Generic Function: convert-test-result (input &optional name)

Convert the test results from a given test system to lisp-unit2:test-results-db

Package

lisp-unit2.

Source

interop.lisp.

Generic Function: convert-test-results (input test-system-name)

Convert the test results from a given test system to lisp-unit2:test-results-db

Package

lisp-unit2.

Source

interop.lisp.

Generic Reader: data (object)
Generic Writer: (setf data) (object)
Package

lisp-unit2.

Methods
Reader Method: data ((unit-test-control-mixin unit-test-control-mixin))
Writer Method: (setf data) ((unit-test-control-mixin unit-test-control-mixin))

Shared data so the context

Source

lisp-unit.lisp.

Target Slot

data.

Generic Reader: doc (object)
Package

lisp-unit2.

Methods
Reader Method: doc ((unit-test unit-test))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

doc.

Generic Writer: (setf doc) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf doc) ((unit-test unit-test))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

doc.

Generic Reader: end-time (object)
Package

lisp-unit2.

Methods
Reader Method: end-time ((test-results-mixin test-results-mixin))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

end-time.

Generic Writer: (setf end-time) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf end-time) ((test-results-mixin test-results-mixin))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

end-time.

Generic Reader: eval-package (object)
Package

lisp-unit2.

Methods
Reader Method: eval-package ((unit-test unit-test))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

eval-package.

Generic Writer: (setf eval-package) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf eval-package) ((unit-test unit-test))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

eval-package.

Generic Reader: expected (object)
Package

lisp-unit2.

Methods
Reader Method: expected ((failure-result failure-result))

automatically generated reader method

Source

asserts.lisp.

Target Slot

expected.

Generic Writer: (setf expected) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf expected) ((failure-result failure-result))

automatically generated writer method

Source

asserts.lisp.

Target Slot

expected.

Generic Reader: extras (object)
Package

lisp-unit2.

Methods
Reader Method: extras ((failure-result failure-result))

automatically generated reader method

Source

asserts.lisp.

Target Slot

extras.

Generic Writer: (setf extras) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf extras) ((failure-result failure-result))

automatically generated writer method

Source

asserts.lisp.

Target Slot

extras.

Generic Function: failed-assertions (it)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: failed-assertions ((n null))
Method: failed-assertions ((u test-result))
Method: failed-assertions ((u test-results-db))
Generic Reader: failure (condition)
Generic Writer: (setf failure) (condition)
Package

lisp-unit2.

Methods
Reader Method: failure ((condition assertion-fail))
Writer Method: (setf failure) ((condition assertion-fail))
Source

asserts.lisp.

Target Slot

failure.

Generic Reader: form (object)
Package

lisp-unit2.

Methods
Reader Method: form ((failure-result failure-result))

automatically generated reader method

Source

asserts.lisp.

Target Slot

form.

Generic Writer: (setf form) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf form) ((failure-result failure-result))

automatically generated writer method

Source

asserts.lisp.

Target Slot

form.

Generic Function: head (l)
Package

lisp-unit2.

Source

collectors.lisp.

Methods
Reader Method: head ((list-collector list-collector))

automatically generated reader method

Target Slot

head.

Method: head (l)
Generic Writer: (setf head) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf head) ((list-collector list-collector))

automatically generated writer method

Source

collectors.lisp.

Target Slot

head.

Generic Function: install-test (unit-test)

Installs a unit test, generally only called from define-test

Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: install-test ((u unit-test))
Generic Reader: internal-end-time (object)
Package

lisp-unit2.

Methods
Reader Method: internal-end-time ((test-results-mixin test-results-mixin))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

internal-end-time.

Generic Writer: (setf internal-end-time) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf internal-end-time) ((test-results-mixin test-results-mixin))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

internal-end-time.

Generic Reader: internal-start-time (object)
Package

lisp-unit2.

Methods
Reader Method: internal-start-time ((test-results-mixin test-results-mixin))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

internal-start-time.

Generic Writer: (setf internal-start-time) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf internal-start-time) ((test-results-mixin test-results-mixin))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

internal-start-time.

Generic Function: len (l)
Package

lisp-unit2.

Source

collectors.lisp.

Methods
Reader Method: len ((list-collector list-collector))

automatically generated reader method

Target Slot

len.

Method: len (l)
Generic Writer: (setf len) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf len) ((list-collector list-collector))

automatically generated writer method

Source

collectors.lisp.

Target Slot

len.

Generic Reader: most-recent-result (object)
Package

lisp-unit2.

Methods
Reader Method: most-recent-result ((unit-test unit-test))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

most-recent-result.

Generic Writer: (setf most-recent-result) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf most-recent-result) ((unit-test unit-test))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

most-recent-result.

Generic Function: name (condition)
Package

lisp-unit2.

Methods
Method: name ((o test-results-db))
Source

lisp-unit.lisp.

Reader Method: name ((unit-test unit-test))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

name.

Reader Method: name ((condition all-tests-complete))
Source

vars.lisp.

Target Slot

name.

Generic Function: (setf name) (condition)
Package

lisp-unit2.

Methods
Method: (setf name) ((o test-results-db))
Source

lisp-unit.lisp.

Writer Method: (setf name) ((unit-test unit-test))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

name.

Writer Method: (setf name) ((condition all-tests-complete))
Source

vars.lisp.

Target Slot

name.

Generic Reader: name-index (object)
Package

lisp-unit2.

Methods
Reader Method: name-index ((test-database test-database))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

name-index.

Generic Writer: (setf name-index) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf name-index) ((test-database test-database))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

name-index.

Generic Reader: package-index (object)
Package

lisp-unit2.

Methods
Reader Method: package-index ((test-database test-database))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

package-index.

Generic Writer: (setf package-index) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf package-index) ((test-database test-database))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

package-index.

Generic Function: package-names (db)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: package-names ((o test-results-db))
Generic Function: passed-assertions (it)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: passed-assertions ((n null))
Method: passed-assertions ((u test-result))
Method: passed-assertions ((u test-results-db))
Generic Function: record-failure (type form actual expected extras test)

Record the details of the failure.

Package

lisp-unit2.

Source

asserts.lisp.

Methods
Method: record-failure (type form actual expected extras test)
Generic Function: record-result (result db)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: record-result ((res test-result) (db test-results-db))
Generic Reader: result (condition)
Generic Writer: (setf result) (condition)
Package

lisp-unit2.

Methods
Reader Method: result ((condition test-complete))
Writer Method: (setf result) ((condition test-complete))
Source

vars.lisp.

Target Slot

result.

Generic Reader: return-value (object)
Package

lisp-unit2.

Methods
Reader Method: return-value ((test-result test-result))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

return-value.

Generic Writer: (setf return-value) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf return-value) ((test-result test-result))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

return-value.

Generic Function: run-time (it)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: run-time ((o test-results-mixin))
Generic Reader: start-time (object)
Package

lisp-unit2.

Methods
Reader Method: start-time ((test-results-mixin test-results-mixin))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

start-time.

Generic Writer: (setf start-time) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf start-time) ((test-results-mixin test-results-mixin))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

start-time.

Generic Reader: tag-index (object)
Package

lisp-unit2.

Methods
Reader Method: tag-index ((test-database test-database))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

tag-index.

Generic Writer: (setf tag-index) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf tag-index) ((test-database test-database))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

tag-index.

Generic Reader: tags (object)
Package

lisp-unit2.

Methods
Reader Method: tags ((unit-test unit-test))

automatically generated reader method

Source

lisp-unit.lisp.

Target Slot

tags.

Generic Writer: (setf tags) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf tags) ((unit-test unit-test))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

tags.

Generic Reader: tags-package-name (condition)
Package

lisp-unit2.

Methods
Reader Method: tags-package-name ((condition null-tags-warning))
Source

lisp-unit.lisp.

Target Slot

name.

Generic Function: tail (l)
Package

lisp-unit2.

Source

collectors.lisp.

Methods
Reader Method: tail ((list-collector list-collector))

automatically generated reader method

Target Slot

tail.

Method: tail (l)
Generic Writer: (setf tail) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf tail) ((list-collector list-collector))

automatically generated writer method

Source

collectors.lisp.

Target Slot

tail.

Generic Reader: test (object)
Package

lisp-unit2.

Methods
Reader Method: test ((failure-result failure-result))

automatically generated reader method

Source

asserts.lisp.

Target Slot

test.

Generic Writer: (setf test) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf test) ((failure-result failure-result))

automatically generated writer method

Source

asserts.lisp.

Target Slot

test.

Generic Function: test-asdf-system-recursive (sys-name &key ignore-systems)
Package

lisp-unit2.

Source

interop.lisp.

Methods
Method: test-asdf-system-recursive (sys-name &key ignore-systems)
Generic Reader: test-name (condition)
Generic Writer: (setf test-name) (condition)
Package

lisp-unit2.

Methods
Reader Method: test-name ((condition missing-test))
Writer Method: (setf test-name) ((condition missing-test))
Source

vars.lisp.

Target Slot

test-name.

Generic Function: test-thunk (unit-test)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: test-thunk ((u unit-test))
Generic Function: test-thunk-name (test)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: test-thunk-name ((u unit-test))
Method: test-thunk-name ((u symbol))
Generic Function: tests (db)
Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Reader Method: tests ((test-results-db test-results-db))

automatically generated reader method

Target Slot

tests.

Method: tests ((db test-database))
Generic Writer: (setf tests) (object)
Package

lisp-unit2.

Methods
Writer Method: (setf tests) ((test-results-db test-results-db))

automatically generated writer method

Source

lisp-unit.lisp.

Target Slot

tests.

Generic Reader: tests-package-name (condition)
Package

lisp-unit2.

Methods
Reader Method: tests-package-name ((condition null-tests-warning))
Source

lisp-unit.lisp.

Target Slot

name.

Generic Function: tests-with-status (db status)

Retrieve all tests with a given status from the database

Package

lisp-unit2.

Source

lisp-unit.lisp.

Methods
Method: tests-with-status ((dbs list) status)
Method: tests-with-status ((db test-results-db) status)

5.2.5 Conditions

Condition: null-tags-warning
Package

lisp-unit2.

Source

lisp-unit.lisp.

Direct superclasses

simple-warning.

Direct methods

tags-package-name.

Direct slots
Slot: name
Initargs

:name

Readers

tags-package-name.

Writers

This slot is read-only.

Condition: null-tests-warning
Package

lisp-unit2.

Source

lisp-unit.lisp.

Direct superclasses

simple-warning.

Direct methods

tests-package-name.

Direct slots
Slot: name
Initargs

:name

Readers

tests-package-name.

Writers

This slot is read-only.

Condition: test-name-error

The test name error is a type error.

Package

lisp-unit2.

Source

lisp-unit.lisp.

Direct superclasses

type-error.

Direct Default Initargs
InitargValue
:expected-type(quote symbol)

5.2.6 Classes

Class: equal-result

Result of a failed equal assertion.

Package

lisp-unit2.

Source

asserts.lisp.

Direct superclasses

failure-result.

Class: error-result

Result of a failed error assertion.

Package

lisp-unit2.

Source

asserts.lisp.

Direct superclasses

failure-result.

Direct methods

%print-summary.

Class: list-collector
Package

lisp-unit2.

Source

collectors.lisp.

Direct methods
Direct slots
Slot: head
Initargs

:head

Readers

head.

Writers

(setf head).

Slot: tail
Initargs

:tail

Readers

tail.

Writers

(setf tail).

Slot: len
Initform

0

Initargs

:len

Readers

len.

Writers

(setf len).

Class: macro-result

Result of a failed macro expansion assertion.

Package

lisp-unit2.

Source

asserts.lisp.

Direct superclasses

failure-result.

Direct methods

%print-summary.

Class: output-result

Result of a failed output assertion.

Package

lisp-unit2.

Source

asserts.lisp.

Direct superclasses

failure-result.

Direct methods

%print-summary.

Class: signal-result

Result of a failed warning assertion.

Package

lisp-unit2.

Source

asserts.lisp.

Direct superclasses

failure-result.

Class: test-database
Package

lisp-unit2.

Source

lisp-unit.lisp.

Direct methods
Direct slots
Slot: %tests
Initargs

:%tests

Readers

%tests.

Writers

(setf %tests).

Slot: name-index
Initform

(make-hash-table)

Initargs

:name-index

Readers

name-index.

Writers

(setf name-index).

Slot: package-index
Initform

(make-hash-table)

Initargs

:package-index

Readers

package-index.

Writers

(setf package-index).

Slot: tag-index
Initform

(make-hash-table)

Initargs

:tag-index

Readers

tag-index.

Writers

(setf tag-index).

Class: test-results-mixin
Package

lisp-unit2.

Source

lisp-unit.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: start-time
Initform

(get-universal-time)

Initargs

:start-time

Readers

start-time.

Writers

(setf start-time).

Slot: internal-start-time
Initform

(get-internal-real-time)

Initargs

:internal-start-time

Readers

internal-start-time.

Writers

(setf internal-start-time).

Slot: end-time
Initargs

:end-time

Readers

end-time.

Writers

(setf end-time).

Slot: internal-end-time
Initargs

:internal-end-time

Readers

internal-end-time.

Writers

(setf internal-end-time).

Slot: errors
Readers

errors.

Writers

(setf errors).

Slot: failed
Readers

failed.

Writers

(setf failed).

Slot: warnings
Readers

warnings.

Writers

(setf warnings).

Slot: passed
Readers

passed.

Writers

(setf passed).

Slot: missing
Readers

missing.

Writers

(setf missing).

Slot: empty
Readers

empty.

Writers

(setf empty).

Class: unit-test-control-mixin

Helps commonize test construction by providing a shared data and dynamic context

Package

lisp-unit2.

Source

lisp-unit.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: contexts

A function that accepts a test thunk and executes
with a given context (eg: database-connects, html-collectors, http-context etc)

Initargs

:contexts

Readers

contexts.

Writers

(setf contexts).

Slot: data

Shared data so the context

Initargs

:data

Readers

data.

Writers

(setf data).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   C   D   E   F   G   H   I   L   M   N   P   R   S   T   U   V   W  
Index Entry  Section

%
%array-error: Private ordinary functions
%array-indices: Private ordinary functions
%collect: Private generic functions
%collect: Private generic functions
%collect: Private generic functions
%collect!: Private macros
%collect-new: Private generic functions
%collect-new: Private generic functions
%collect-new: Private generic functions
%collect-new!: Private macros
%compile: Private generic functions
%compile: Private generic functions
%complex-float-random: Private ordinary functions
%complex-rational-random: Private ordinary functions
%decollect: Private generic functions
%decollect: Private generic functions
%decollect: Private generic functions
%decollect!: Private macros
%dequote: Private ordinary functions
%form-equal: Private ordinary functions
%has?: Private ordinary functions
%in-package: Private ordinary functions
%log: Private macros
%log-around: Private macros
%norm: Private generic functions
%norm: Private generic functions
%norm: Private generic functions
%norm: Private generic functions
%norm: Private generic functions
%norm: Private generic functions
%norm: Private generic functions
%norm: Private generic functions
%norm: Private generic functions
%norm-equal: Private ordinary functions
%normalize-float: Private ordinary functions
%out: Private ordinary functions
%print-result-summary: Private generic functions
%print-result-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%print-summary: Private generic functions
%relative-error: Private ordinary functions
%relative-error-norm: Private ordinary functions
%run-test: Private ordinary functions
%run-test-name: Private ordinary functions
%seq-rational-equal: Private ordinary functions
%seq-sigfig-equal: Private ordinary functions
%sequence-equal: Private ordinary functions
%sequence-error: Private ordinary functions
%sigfig-equal: Private ordinary functions
%tests: Private generic functions
%tests: Private generic functions
%to-test: Private ordinary functions
%ts: Private ordinary functions
%uninstall-name: Private ordinary functions
%write-tap-test-result: Private ordinary functions

(
(setf %tests): Private generic functions
(setf %tests): Private generic functions
(setf actual): Private generic functions
(setf actual): Private generic functions
(setf args): Private generic functions
(setf args): Private generic functions
(setf assertion): Private generic functions
(setf assertion): Private generic functions
(setf assertion): Private generic functions
(setf code): Private generic functions
(setf code): Private generic functions
(setf contexts): Private generic functions
(setf contexts): Private generic functions
(setf data): Private generic functions
(setf data): Private generic functions
(setf doc): Private generic functions
(setf doc): Private generic functions
(setf empty): Public generic functions
(setf empty): Public generic functions
(setf end-time): Private generic functions
(setf end-time): Private generic functions
(setf errors): Public generic functions
(setf errors): Public generic functions
(setf eval-package): Private generic functions
(setf eval-package): Private generic functions
(setf expected): Private generic functions
(setf expected): Private generic functions
(setf extras): Private generic functions
(setf extras): Private generic functions
(setf failed): Public generic functions
(setf failed): Public generic functions
(setf failure): Private generic functions
(setf failure): Private generic functions
(setf form): Private generic functions
(setf form): Private generic functions
(setf head): Private generic functions
(setf head): Private generic functions
(setf internal-end-time): Private generic functions
(setf internal-end-time): Private generic functions
(setf internal-start-time): Private generic functions
(setf internal-start-time): Private generic functions
(setf len): Private generic functions
(setf len): Private generic functions
(setf missing): Public generic functions
(setf missing): Public generic functions
(setf most-recent-result): Private generic functions
(setf most-recent-result): Private generic functions
(setf name): Private generic functions
(setf name): Private generic functions
(setf name): Private generic functions
(setf name): Private generic functions
(setf name-index): Private generic functions
(setf name-index): Private generic functions
(setf package-index): Private generic functions
(setf package-index): Private generic functions
(setf passed): Public generic functions
(setf passed): Public generic functions
(setf result): Private generic functions
(setf result): Private generic functions
(setf results): Public generic functions
(setf results): Public generic functions
(setf results): Public generic functions
(setf results): Public generic functions
(setf results): Public generic functions
(setf return-value): Private generic functions
(setf return-value): Private generic functions
(setf start-time): Private generic functions
(setf start-time): Private generic functions
(setf tag-index): Private generic functions
(setf tag-index): Private generic functions
(setf tags): Private generic functions
(setf tags): Private generic functions
(setf tail): Private generic functions
(setf tail): Private generic functions
(setf test): Private generic functions
(setf test): Private generic functions
(setf test-name): Private generic functions
(setf test-name): Private generic functions
(setf tests): Private generic functions
(setf tests): Private generic functions
(setf unit-test): Public generic functions
(setf unit-test): Public generic functions
(setf unit-test): Public generic functions
(setf unit-test): Public generic functions
(setf unit-test): Public generic functions
(setf unit-test): Public generic functions
(setf warnings): Public generic functions
(setf warnings): Public generic functions

A
actual: Private generic functions
actual: Private generic functions
all-warnings: Private generic functions
all-warnings: Private generic functions
all-warnings: Private generic functions
all-warnings: Private generic functions
args: Private generic functions
args: Private generic functions
array-error: Public ordinary functions
assert-char-equal: Public macros
assert-char-not-equal: Public macros
assert-char/=: Public macros
assert-char=: Public macros
assert-eq: Public macros
assert-eql: Public macros
assert-equal: Public macros
assert-equality: Public macros
assert-equalp: Public macros
assert-error: Public macros
assert-expands: Public macros
assert-false: Public macros
assert-float-equal: Public macros
assert-no-error: Public macros
assert-no-signal: Public macros
assert-no-warning: Public macros
assert-norm-equal: Public macros
assert-number-equal: Public macros
assert-numerical-equal: Public macros
assert-passes?: Private generic functions
assert-passes?: Private generic functions
assert-prints: Public macros
assert-rational-equal: Public macros
assert-sigfig-equal: Public macros
assert-signal: Public macros
assert-string-equal: Public macros
assert-string-not-equal: Public macros
assert-string/=: Public macros
assert-string=: Public macros
assert-true: Public macros
assert-typep: Public macros
assert-warning: Public macros
assert/=: Public macros
assert=: Public macros
assertion: Private generic functions
assertion: Private generic functions
assertion: Private generic functions

C
code: Private generic functions
code: Private generic functions
combine-contexts: Private ordinary functions
complex-random: Public ordinary functions
contexts: Private generic functions
contexts: Private generic functions
convert-test-result: Private generic functions
convert-test-results: Private generic functions

D
data: Private generic functions
data: Private generic functions
default-epsilon: Public generic functions
default-epsilon: Public generic functions
define-test: Public macros
do-contexts: Private ordinary functions
doc: Private generic functions
doc: Private generic functions

E
empty: Public generic functions
empty: Public generic functions
end-time: Private generic functions
end-time: Private generic functions
errors: Public generic functions
errors: Public generic functions
eval-package: Private generic functions
eval-package: Private generic functions
expand-assert: Private macros
expand-extras: Private macros
expand-macro-form: Private macros
expand-output-form: Private macros
expand-signaled-handler: Private ordinary functions
expected: Private generic functions
expected: Private generic functions
extras: Private generic functions
extras: Private generic functions

F
failed: Public generic functions
failed: Public generic functions
failed-assertions: Private generic functions
failed-assertions: Private generic functions
failed-assertions: Private generic functions
failed-assertions: Private generic functions
failure: Private generic functions
failure: Private generic functions
float-equal: Public generic functions
float-equal: Public generic functions
form: Private generic functions
form: Private generic functions
Function, %array-error: Private ordinary functions
Function, %array-indices: Private ordinary functions
Function, %complex-float-random: Private ordinary functions
Function, %complex-rational-random: Private ordinary functions
Function, %dequote: Private ordinary functions
Function, %form-equal: Private ordinary functions
Function, %has?: Private ordinary functions
Function, %in-package: Private ordinary functions
Function, %norm-equal: Private ordinary functions
Function, %normalize-float: Private ordinary functions
Function, %out: Private ordinary functions
Function, %relative-error: Private ordinary functions
Function, %relative-error-norm: Private ordinary functions
Function, %run-test: Private ordinary functions
Function, %run-test-name: Private ordinary functions
Function, %seq-rational-equal: Private ordinary functions
Function, %seq-sigfig-equal: Private ordinary functions
Function, %sequence-equal: Private ordinary functions
Function, %sequence-error: Private ordinary functions
Function, %sigfig-equal: Private ordinary functions
Function, %to-test: Private ordinary functions
Function, %ts: Private ordinary functions
Function, %uninstall-name: Private ordinary functions
Function, %write-tap-test-result: Private ordinary functions
Function, array-error: Public ordinary functions
Function, combine-contexts: Private ordinary functions
Function, complex-random: Public ordinary functions
Function, do-contexts: Private ordinary functions
Function, expand-signaled-handler: Private ordinary functions
Function, get-system-list: Private ordinary functions
Function, get-tests: Public ordinary functions
Function, internal-assert: Private ordinary functions
Function, list-tags: Public ordinary functions
Function, list-tests: Public ordinary functions
Function, logically-equal: Public ordinary functions
Function, make-2d-list: Public ordinary functions
Function, make-random-2d-array: Public ordinary functions
Function, make-random-2d-list: Public ordinary functions
Function, make-random-list: Public ordinary functions
Function, null-tags-warning-report: Private ordinary functions
Function, null-tests-warning-report: Private ordinary functions
Function, number-equal: Public ordinary functions
Function, print-failure-summary: Public ordinary functions
Function, print-summary: Public ordinary functions
Function, print-tap: Private ordinary functions
Function, record-result-context: Private ordinary functions
Function, remove-tags: Public ordinary functions
Function, remove-tests: Public ordinary functions
Function, reset-test-database: Public ordinary functions
Function, sequence-error: Private ordinary functions
Function, set-equal: Public ordinary functions
Function, short-full-name: Private ordinary functions
Function, status: Private ordinary functions
Function, test-code: Public ordinary functions
Function, test-documentation: Public ordinary functions
Function, test-name-error-report: Private ordinary functions
Function, test-signals-muffled-context: Private ordinary functions
Function, valid-test-name: Private ordinary functions
Function, with-assertion-summary-context: Public ordinary functions
Function, with-failure-debugging-context: Public ordinary functions
Function, with-summary-context: Public ordinary functions
Function, with-tap-context: Public ordinary functions
Function, with-test-results-context: Public ordinary functions
Function, write-tap: Public ordinary functions
Function, write-tap-to-file: Public ordinary functions

G
Generic Function, %collect: Private generic functions
Generic Function, %collect-new: Private generic functions
Generic Function, %compile: Private generic functions
Generic Function, %decollect: Private generic functions
Generic Function, %norm: Private generic functions
Generic Function, %print-result-summary: Private generic functions
Generic Function, %print-summary: Private generic functions
Generic Function, %tests: Private generic functions
Generic Function, (setf %tests): Private generic functions
Generic Function, (setf actual): Private generic functions
Generic Function, (setf args): Private generic functions
Generic Function, (setf assertion): Private generic functions
Generic Function, (setf code): Private generic functions
Generic Function, (setf contexts): Private generic functions
Generic Function, (setf data): Private generic functions
Generic Function, (setf doc): Private generic functions
Generic Function, (setf empty): Public generic functions
Generic Function, (setf end-time): Private generic functions
Generic Function, (setf errors): Public generic functions
Generic Function, (setf eval-package): Private generic functions
Generic Function, (setf expected): Private generic functions
Generic Function, (setf extras): Private generic functions
Generic Function, (setf failed): Public generic functions
Generic Function, (setf failure): Private generic functions
Generic Function, (setf form): Private generic functions
Generic Function, (setf head): Private generic functions
Generic Function, (setf internal-end-time): Private generic functions
Generic Function, (setf internal-start-time): Private generic functions
Generic Function, (setf len): Private generic functions
Generic Function, (setf missing): Public generic functions
Generic Function, (setf most-recent-result): Private generic functions
Generic Function, (setf name): Private generic functions
Generic Function, (setf name-index): Private generic functions
Generic Function, (setf package-index): Private generic functions
Generic Function, (setf passed): Public generic functions
Generic Function, (setf result): Private generic functions
Generic Function, (setf results): Public generic functions
Generic Function, (setf return-value): Private generic functions
Generic Function, (setf start-time): Private generic functions
Generic Function, (setf tag-index): Private generic functions
Generic Function, (setf tags): Private generic functions
Generic Function, (setf tail): Private generic functions
Generic Function, (setf test): Private generic functions
Generic Function, (setf test-name): Private generic functions
Generic Function, (setf tests): Private generic functions
Generic Function, (setf unit-test): Public generic functions
Generic Function, (setf warnings): Public generic functions
Generic Function, actual: Private generic functions
Generic Function, all-warnings: Private generic functions
Generic Function, args: Private generic functions
Generic Function, assert-passes?: Private generic functions
Generic Function, assertion: Private generic functions
Generic Function, code: Private generic functions
Generic Function, contexts: Private generic functions
Generic Function, convert-test-result: Private generic functions
Generic Function, convert-test-results: Private generic functions
Generic Function, data: Private generic functions
Generic Function, default-epsilon: Public generic functions
Generic Function, doc: Private generic functions
Generic Function, empty: Public generic functions
Generic Function, end-time: Private generic functions
Generic Function, errors: Public generic functions
Generic Function, eval-package: Private generic functions
Generic Function, expected: Private generic functions
Generic Function, extras: Private generic functions
Generic Function, failed: Public generic functions
Generic Function, failed-assertions: Private generic functions
Generic Function, failure: Private generic functions
Generic Function, float-equal: Public generic functions
Generic Function, form: Private generic functions
Generic Function, head: Private generic functions
Generic Function, install-test: Private generic functions
Generic Function, internal-end-time: Private generic functions
Generic Function, internal-start-time: Private generic functions
Generic Function, len: Private generic functions
Generic Function, missing: Public generic functions
Generic Function, most-recent-result: Private generic functions
Generic Function, name: Private generic functions
Generic Function, name-index: Private generic functions
Generic Function, norm: Public generic functions
Generic Function, norm-equal: Public generic functions
Generic Function, numerical-equal: Public generic functions
Generic Function, package-index: Private generic functions
Generic Function, package-names: Private generic functions
Generic Function, passed: Public generic functions
Generic Function, passed-assertions: Private generic functions
Generic Function, print-status-summary: Public generic functions
Generic Function, rational-equal: Public generic functions
Generic Function, record-failure: Private generic functions
Generic Function, record-result: Private generic functions
Generic Function, relative-error: Public generic functions
Generic Function, relative-error-norm: Public generic functions
Generic Function, rerun-failures: Public generic functions
Generic Function, rerun-tests: Public generic functions
Generic Function, result: Private generic functions
Generic Function, results: Public generic functions
Generic Function, return-value: Private generic functions
Generic Function, run-test: Public generic functions
Generic Function, run-tests: Public generic functions
Generic Function, run-time: Private generic functions
Generic Function, sigfig-equal: Public generic functions
Generic Function, start-time: Private generic functions
Generic Function, sump: Public generic functions
Generic Function, sumsq: Public generic functions
Generic Function, tag-index: Private generic functions
Generic Function, tags: Private generic functions
Generic Function, tags-package-name: Private generic functions
Generic Function, tail: Private generic functions
Generic Function, test: Private generic functions
Generic Function, test-asdf-system-recursive: Private generic functions
Generic Function, test-name: Private generic functions
Generic Function, test-thunk: Private generic functions
Generic Function, test-thunk-name: Private generic functions
Generic Function, tests: Private generic functions
Generic Function, tests-package-name: Private generic functions
Generic Function, tests-with-status: Private generic functions
Generic Function, uninstall-test: Public generic functions
Generic Function, unit-test: Public generic functions
Generic Function, warnings: Public generic functions
get-system-list: Private ordinary functions
get-tests: Public ordinary functions

H
head: Private generic functions
head: Private generic functions
head: Private generic functions

I
initialize-instance: Public standalone methods
install-test: Private generic functions
install-test: Private generic functions
internal-assert: Private ordinary functions
internal-end-time: Private generic functions
internal-end-time: Private generic functions
internal-start-time: Private generic functions
internal-start-time: Private generic functions

L
len: Private generic functions
len: Private generic functions
len: Private generic functions
list-tags: Public ordinary functions
list-tests: Public ordinary functions
logically-equal: Public ordinary functions

M
Macro, %collect!: Private macros
Macro, %collect-new!: Private macros
Macro, %decollect!: Private macros
Macro, %log: Private macros
Macro, %log-around: Private macros
Macro, assert-char-equal: Public macros
Macro, assert-char-not-equal: Public macros
Macro, assert-char/=: Public macros
Macro, assert-char=: Public macros
Macro, assert-eq: Public macros
Macro, assert-eql: Public macros
Macro, assert-equal: Public macros
Macro, assert-equality: Public macros
Macro, assert-equalp: Public macros
Macro, assert-error: Public macros
Macro, assert-expands: Public macros
Macro, assert-false: Public macros
Macro, assert-float-equal: Public macros
Macro, assert-no-error: Public macros
Macro, assert-no-signal: Public macros
Macro, assert-no-warning: Public macros
Macro, assert-norm-equal: Public macros
Macro, assert-number-equal: Public macros
Macro, assert-numerical-equal: Public macros
Macro, assert-prints: Public macros
Macro, assert-rational-equal: Public macros
Macro, assert-sigfig-equal: Public macros
Macro, assert-signal: Public macros
Macro, assert-string-equal: Public macros
Macro, assert-string-not-equal: Public macros
Macro, assert-string/=: Public macros
Macro, assert-string=: Public macros
Macro, assert-true: Public macros
Macro, assert-typep: Public macros
Macro, assert-warning: Public macros
Macro, assert/=: Public macros
Macro, assert=: Public macros
Macro, define-test: Public macros
Macro, expand-assert: Private macros
Macro, expand-extras: Private macros
Macro, expand-macro-form: Private macros
Macro, expand-output-form: Private macros
Macro, pprint-test-block: Private macros
Macro, undefine-test: Public macros
Macro, with-assertion-summary: Public macros
Macro, with-failure-debugging: Public macros
Macro, with-summary: Public macros
Macro, with-tap-summary: Public macros
Macro, with-test-results: Public macros
Macro, with-test-signals-muffled: Public macros
make-2d-list: Public ordinary functions
make-random-2d-array: Public ordinary functions
make-random-2d-list: Public ordinary functions
make-random-list: Public ordinary functions
Method, %collect: Private generic functions
Method, %collect: Private generic functions
Method, %collect-new: Private generic functions
Method, %collect-new: Private generic functions
Method, %compile: Private generic functions
Method, %decollect: Private generic functions
Method, %decollect: Private generic functions
Method, %norm: Private generic functions
Method, %norm: Private generic functions
Method, %norm: Private generic functions
Method, %norm: Private generic functions
Method, %norm: Private generic functions
Method, %norm: Private generic functions
Method, %norm: Private generic functions
Method, %norm: Private generic functions
Method, %print-result-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %print-summary: Private generic functions
Method, %tests: Private generic functions
Method, (setf %tests): Private generic functions
Method, (setf actual): Private generic functions
Method, (setf args): Private generic functions
Method, (setf assertion): Private generic functions
Method, (setf assertion): Private generic functions
Method, (setf code): Private generic functions
Method, (setf contexts): Private generic functions
Method, (setf data): Private generic functions
Method, (setf doc): Private generic functions
Method, (setf empty): Public generic functions
Method, (setf end-time): Private generic functions
Method, (setf errors): Public generic functions
Method, (setf eval-package): Private generic functions
Method, (setf expected): Private generic functions
Method, (setf extras): Private generic functions
Method, (setf failed): Public generic functions
Method, (setf failure): Private generic functions
Method, (setf form): Private generic functions
Method, (setf head): Private generic functions
Method, (setf internal-end-time): Private generic functions
Method, (setf internal-start-time): Private generic functions
Method, (setf len): Private generic functions
Method, (setf missing): Public generic functions
Method, (setf most-recent-result): Private generic functions
Method, (setf name): Private generic functions
Method, (setf name): Private generic functions
Method, (setf name): Private generic functions
Method, (setf name-index): Private generic functions
Method, (setf package-index): Private generic functions
Method, (setf passed): Public generic functions
Method, (setf result): Private generic functions
Method, (setf results): Public generic functions
Method, (setf results): Public generic functions
Method, (setf results): Public generic functions
Method, (setf results): Public generic functions
Method, (setf return-value): Private generic functions
Method, (setf start-time): Private generic functions
Method, (setf tag-index): Private generic functions
Method, (setf tags): Private generic functions
Method, (setf tail): Private generic functions
Method, (setf test): Private generic functions
Method, (setf test-name): Private generic functions
Method, (setf tests): Private generic functions
Method, (setf unit-test): Public generic functions
Method, (setf unit-test): Public generic functions
Method, (setf unit-test): Public generic functions
Method, (setf unit-test): Public generic functions
Method, (setf unit-test): Public generic functions
Method, (setf warnings): Public generic functions
Method, actual: Private generic functions
Method, all-warnings: Private generic functions
Method, all-warnings: Private generic functions
Method, all-warnings: Private generic functions
Method, args: Private generic functions
Method, assert-passes?: Private generic functions
Method, assertion: Private generic functions
Method, assertion: Private generic functions
Method, code: Private generic functions
Method, contexts: Private generic functions
Method, data: Private generic functions
Method, default-epsilon: Public generic functions
Method, doc: Private generic functions
Method, empty: Public generic functions
Method, end-time: Private generic functions
Method, errors: Public generic functions
Method, eval-package: Private generic functions
Method, expected: Private generic functions
Method, extras: Private generic functions
Method, failed: Public generic functions
Method, failed-assertions: Private generic functions
Method, failed-assertions: Private generic functions
Method, failed-assertions: Private generic functions
Method, failure: Private generic functions
Method, float-equal: Public generic functions
Method, form: Private generic functions
Method, head: Private generic functions
Method, head: Private generic functions
Method, initialize-instance: Public standalone methods
Method, install-test: Private generic functions
Method, internal-end-time: Private generic functions
Method, internal-start-time: Private generic functions
Method, len: Private generic functions
Method, len: Private generic functions
Method, missing: Public generic functions
Method, most-recent-result: Private generic functions
Method, name: Private generic functions
Method, name: Private generic functions
Method, name: Private generic functions
Method, name-index: Private generic functions
Method, norm: Public generic functions
Method, norm: Public generic functions
Method, norm: Public generic functions
Method, norm-equal: Public generic functions
Method, norm-equal: Public generic functions
Method, norm-equal: Public generic functions
Method, norm-equal: Public generic functions
Method, norm-equal: Public generic functions
Method, numerical-equal: Public generic functions
Method, numerical-equal: Public generic functions
Method, numerical-equal: Public generic functions
Method, numerical-equal: Public generic functions
Method, numerical-equal: Public generic functions
Method, numerical-equal: Public generic functions
Method, package-index: Private generic functions
Method, package-names: Private generic functions
Method, passed: Public generic functions
Method, passed-assertions: Private generic functions
Method, passed-assertions: Private generic functions
Method, passed-assertions: Private generic functions
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-status-summary: Public generic functions
Method, print-status-summary: Public generic functions
Method, print-status-summary: Public generic functions
Method, rational-equal: Public generic functions
Method, rational-equal: Public generic functions
Method, rational-equal: Public generic functions
Method, rational-equal: Public generic functions
Method, rational-equal: Public generic functions
Method, rational-equal: Public generic functions
Method, rational-equal: Public generic functions
Method, record-failure: Private generic functions
Method, record-result: Private generic functions
Method, relative-error: Public generic functions
Method, relative-error: Public generic functions
Method, relative-error: Public generic functions
Method, relative-error: Public generic functions
Method, relative-error-norm: Public generic functions
Method, relative-error-norm: Public generic functions
Method, relative-error-norm: Public generic functions
Method, relative-error-norm: Public generic functions
Method, relative-error-norm: Public generic functions
Method, rerun-failures: Public generic functions
Method, rerun-failures: Public generic functions
Method, rerun-tests: Public generic functions
Method, rerun-tests: Public generic functions
Method, result: Private generic functions
Method, results: Public generic functions
Method, results: Public generic functions
Method, results: Public generic functions
Method, results: Public generic functions
Method, return-value: Private generic functions
Method, run-test: Public generic functions
Method, run-test: Public generic functions
Method, run-test: Public generic functions
Method, run-tests: Public generic functions
Method, run-tests: Public generic functions
Method, run-time: Private generic functions
Method, sigfig-equal: Public generic functions
Method, sigfig-equal: Public generic functions
Method, sigfig-equal: Public generic functions
Method, sigfig-equal: Public generic functions
Method, sigfig-equal: Public generic functions
Method, sigfig-equal: Public generic functions
Method, start-time: Private generic functions
Method, sump: Public generic functions
Method, sump: Public generic functions
Method, sump: Public generic functions
Method, sumsq: Public generic functions
Method, sumsq: Public generic functions
Method, sumsq: Public generic functions
Method, tag-index: Private generic functions
Method, tags: Private generic functions
Method, tags-package-name: Private generic functions
Method, tail: Private generic functions
Method, tail: Private generic functions
Method, test: Private generic functions
Method, test-asdf-system-recursive: Private generic functions
Method, test-name: Private generic functions
Method, test-thunk: Private generic functions
Method, test-thunk-name: Private generic functions
Method, test-thunk-name: Private generic functions
Method, tests: Private generic functions
Method, tests: Private generic functions
Method, tests-package-name: Private generic functions
Method, tests-with-status: Private generic functions
Method, tests-with-status: Private generic functions
Method, uninstall-test: Public generic functions
Method, uninstall-test: Public generic functions
Method, unit-test: Public generic functions
Method, unit-test: Public generic functions
Method, unit-test: Public generic functions
Method, unit-test: Public generic functions
Method, unit-test: Public generic functions
Method, warnings: Public generic functions
missing: Public generic functions
missing: Public generic functions
most-recent-result: Private generic functions
most-recent-result: Private generic functions

N
name: Private generic functions
name: Private generic functions
name: Private generic functions
name: Private generic functions
name-index: Private generic functions
name-index: Private generic functions
norm: Public generic functions
norm: Public generic functions
norm: Public generic functions
norm: Public generic functions
norm-equal: Public generic functions
norm-equal: Public generic functions
norm-equal: Public generic functions
norm-equal: Public generic functions
norm-equal: Public generic functions
norm-equal: Public generic functions
null-tags-warning-report: Private ordinary functions
null-tests-warning-report: Private ordinary functions
number-equal: Public ordinary functions
numerical-equal: Public generic functions
numerical-equal: Public generic functions
numerical-equal: Public generic functions
numerical-equal: Public generic functions
numerical-equal: Public generic functions
numerical-equal: Public generic functions
numerical-equal: Public generic functions

P
package-index: Private generic functions
package-index: Private generic functions
package-names: Private generic functions
package-names: Private generic functions
passed: Public generic functions
passed: Public generic functions
passed-assertions: Private generic functions
passed-assertions: Private generic functions
passed-assertions: Private generic functions
passed-assertions: Private generic functions
pprint-test-block: Private macros
print-failure-summary: Public ordinary functions
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-status-summary: Public generic functions
print-status-summary: Public generic functions
print-status-summary: Public generic functions
print-status-summary: Public generic functions
print-summary: Public ordinary functions
print-tap: Private ordinary functions

R
rational-equal: Public generic functions
rational-equal: Public generic functions
rational-equal: Public generic functions
rational-equal: Public generic functions
rational-equal: Public generic functions
rational-equal: Public generic functions
rational-equal: Public generic functions
rational-equal: Public generic functions
record-failure: Private generic functions
record-failure: Private generic functions
record-result: Private generic functions
record-result: Private generic functions
record-result-context: Private ordinary functions
relative-error: Public generic functions
relative-error: Public generic functions
relative-error: Public generic functions
relative-error: Public generic functions
relative-error: Public generic functions
relative-error-norm: Public generic functions
relative-error-norm: Public generic functions
relative-error-norm: Public generic functions
relative-error-norm: Public generic functions
relative-error-norm: Public generic functions
relative-error-norm: Public generic functions
remove-tags: Public ordinary functions
remove-tests: Public ordinary functions
rerun-failures: Public generic functions
rerun-failures: Public generic functions
rerun-failures: Public generic functions
rerun-tests: Public generic functions
rerun-tests: Public generic functions
rerun-tests: Public generic functions
reset-test-database: Public ordinary functions
result: Private generic functions
result: Private generic functions
results: Public generic functions
results: Public generic functions
results: Public generic functions
results: Public generic functions
results: Public generic functions
return-value: Private generic functions
return-value: Private generic functions
run-test: Public generic functions
run-test: Public generic functions
run-test: Public generic functions
run-test: Public generic functions
run-tests: Public generic functions
run-tests: Public generic functions
run-tests: Public generic functions
run-time: Private generic functions
run-time: Private generic functions

S
sequence-error: Private ordinary functions
set-equal: Public ordinary functions
short-full-name: Private ordinary functions
sigfig-equal: Public generic functions
sigfig-equal: Public generic functions
sigfig-equal: Public generic functions
sigfig-equal: Public generic functions
sigfig-equal: Public generic functions
sigfig-equal: Public generic functions
sigfig-equal: Public generic functions
start-time: Private generic functions
start-time: Private generic functions
status: Private ordinary functions
sump: Public generic functions
sump: Public generic functions
sump: Public generic functions
sump: Public generic functions
sumsq: Public generic functions
sumsq: Public generic functions
sumsq: Public generic functions
sumsq: Public generic functions

T
tag-index: Private generic functions
tag-index: Private generic functions
tags: Private generic functions
tags: Private generic functions
tags-package-name: Private generic functions
tags-package-name: Private generic functions
tail: Private generic functions
tail: Private generic functions
tail: Private generic functions
test: Private generic functions
test: Private generic functions
test-asdf-system-recursive: Private generic functions
test-asdf-system-recursive: Private generic functions
test-code: Public ordinary functions
test-documentation: Public ordinary functions
test-name: Private generic functions
test-name: Private generic functions
test-name-error-report: Private ordinary functions
test-signals-muffled-context: Private ordinary functions
test-thunk: Private generic functions
test-thunk: Private generic functions
test-thunk-name: Private generic functions
test-thunk-name: Private generic functions
test-thunk-name: Private generic functions
tests: Private generic functions
tests: Private generic functions
tests: Private generic functions
tests-package-name: Private generic functions
tests-package-name: Private generic functions
tests-with-status: Private generic functions
tests-with-status: Private generic functions
tests-with-status: Private generic functions

U
undefine-test: Public macros
uninstall-test: Public generic functions
uninstall-test: Public generic functions
uninstall-test: Public generic functions
unit-test: Public generic functions
unit-test: Public generic functions
unit-test: Public generic functions
unit-test: Public generic functions
unit-test: Public generic functions
unit-test: Public generic functions

V
valid-test-name: Private ordinary functions

W
warnings: Public generic functions
warnings: Public generic functions
with-assertion-summary: Public macros
with-assertion-summary-context: Public ordinary functions
with-failure-debugging: Public macros
with-failure-debugging-context: Public ordinary functions
with-summary: Public macros
with-summary-context: Public ordinary functions
with-tap-context: Public ordinary functions
with-tap-summary: Public macros
with-test-results: Public macros
with-test-results-context: Public ordinary functions
with-test-signals-muffled: Public macros
write-tap: Public ordinary functions
write-tap-to-file: Public ordinary functions


A.3 Variables

Jump to:   %   *   +  
A   C   D   E   F   H   I   L   M   N   P   R   S   T   U   W  
Index Entry  Section

%
%tests: Private classes

*
*epsilon*: Public special variables
*log-level*: Private special variables
*measure*: Public special variables
*result*: Public special variables
*results*: Public special variables
*significant-figures*: Public special variables
*test-db*: Public special variables
*test-log-stream*: Private special variables
*test-stream*: Public special variables
*unit-test*: Public special variables

+
+interop-test-result-contexts+: Private special variables
+statuses+: Private special variables

A
actual: Public classes
args: Public classes
assertion: Public conditions
assertion: Public conditions

C
code: Public classes
contexts: Private classes

D
data: Private classes
doc: Public classes

E
empty: Private classes
end-time: Private classes
errors: Private classes
eval-package: Public classes
expected: Public classes
extras: Public classes

F
failed: Private classes
failure: Public conditions
form: Public classes

H
head: Private classes

I
internal-end-time: Private classes
internal-start-time: Private classes

L
len: Private classes

M
missing: Private classes
most-recent-result: Public classes

N
name: Public conditions
name: Public classes
name: Public classes
name: Private conditions
name: Private conditions
name-index: Private classes

P
package-index: Private classes
passed: Private classes

R
result: Public conditions
results: Public conditions
results: Public conditions
results: Public conditions
results: Public classes
return-value: Public classes

S
Slot, %tests: Private classes
Slot, actual: Public classes
Slot, args: Public classes
Slot, assertion: Public conditions
Slot, assertion: Public conditions
Slot, code: Public classes
Slot, contexts: Private classes
Slot, data: Private classes
Slot, doc: Public classes
Slot, empty: Private classes
Slot, end-time: Private classes
Slot, errors: Private classes
Slot, eval-package: Public classes
Slot, expected: Public classes
Slot, extras: Public classes
Slot, failed: Private classes
Slot, failure: Public conditions
Slot, form: Public classes
Slot, head: Private classes
Slot, internal-end-time: Private classes
Slot, internal-start-time: Private classes
Slot, len: Private classes
Slot, missing: Private classes
Slot, most-recent-result: Public classes
Slot, name: Public conditions
Slot, name: Public classes
Slot, name: Public classes
Slot, name: Private conditions
Slot, name: Private conditions
Slot, name-index: Private classes
Slot, package-index: Private classes
Slot, passed: Private classes
Slot, result: Public conditions
Slot, results: Public conditions
Slot, results: Public conditions
Slot, results: Public conditions
Slot, results: Public classes
Slot, return-value: Public classes
Slot, start-time: Private classes
Slot, tag-index: Private classes
Slot, tags: Public classes
Slot, tail: Private classes
Slot, test: Public classes
Slot, test-name: Public conditions
Slot, tests: Public classes
Slot, unit-test: Public conditions
Slot, unit-test: Public conditions
Slot, unit-test: Public conditions
Slot, unit-test: Public classes
Slot, unit-test: Public classes
Slot, warnings: Private classes
Special Variable, *epsilon*: Public special variables
Special Variable, *log-level*: Private special variables
Special Variable, *measure*: Public special variables
Special Variable, *result*: Public special variables
Special Variable, *results*: Public special variables
Special Variable, *significant-figures*: Public special variables
Special Variable, *test-db*: Public special variables
Special Variable, *test-log-stream*: Private special variables
Special Variable, *test-stream*: Public special variables
Special Variable, *unit-test*: Public special variables
Special Variable, +interop-test-result-contexts+: Private special variables
Special Variable, +statuses+: Private special variables
start-time: Private classes

T
tag-index: Private classes
tags: Public classes
tail: Private classes
test: Public classes
test-name: Public conditions
tests: Public classes

U
unit-test: Public conditions
unit-test: Public conditions
unit-test: Public conditions
unit-test: Public classes
unit-test: Public classes

W
warnings: Private classes


A.4 Data types

Jump to:   A   C   E   F   I   L   M   N   O   P   R   S   T   U   V  
Index Entry  Section

A
all-tests-complete: Public conditions
all-tests-start: Public conditions
assert-package.lisp: The lisp-unit2/assert-package․lisp file
assertion-fail: Public conditions
assertion-pass: Public conditions
asserts.lisp: The lisp-unit2/asserts․lisp file

C
Class, equal-result: Private classes
Class, error-result: Private classes
Class, failure-result: Public classes
Class, list-collector: Private classes
Class, macro-result: Private classes
Class, output-result: Private classes
Class, signal-result: Private classes
Class, test-database: Private classes
Class, test-result: Public classes
Class, test-results-db: Public classes
Class, test-results-mixin: Private classes
Class, unit-test: Public classes
Class, unit-test-control-mixin: Private classes
collect-test-results: Public conditions
collectors.lisp: The lisp-unit2/collectors․lisp file
Condition, all-tests-complete: Public conditions
Condition, all-tests-start: Public conditions
Condition, assertion-fail: Public conditions
Condition, assertion-pass: Public conditions
Condition, collect-test-results: Public conditions
Condition, missing-test: Public conditions
Condition, null-tags-warning: Private conditions
Condition, null-tests-warning: Private conditions
Condition, test-complete: Public conditions
Condition, test-name-error: Private conditions
Condition, test-start: Public conditions

E
equal-result: Private classes
error-result: Private classes

F
failure-result: Public classes
File, assert-package.lisp: The lisp-unit2/assert-package․lisp file
File, asserts.lisp: The lisp-unit2/asserts․lisp file
File, collectors.lisp: The lisp-unit2/collectors․lisp file
File, floating-point.lisp: The lisp-unit2/floating-point․lisp file
File, interop.lisp: The lisp-unit2/interop․lisp file
File, lisp-unit.lisp: The lisp-unit2/lisp-unit․lisp file
File, lisp-unit2.asd: The lisp-unit2/lisp-unit2․asd file
File, package.lisp: The lisp-unit2/package․lisp file
File, rational.lisp: The lisp-unit2/rational․lisp file
File, summarize.lisp: The lisp-unit2/summarize․lisp file
File, test-anything-protocol.lisp: The lisp-unit2/test-anything-protocol․lisp file
File, vars.lisp: The lisp-unit2/vars․lisp file
floating-point.lisp: The lisp-unit2/floating-point․lisp file

I
interop.lisp: The lisp-unit2/interop․lisp file

L
lisp-unit.lisp: The lisp-unit2/lisp-unit․lisp file
lisp-unit2: The lisp-unit2 system
lisp-unit2: The lisp-unit2 package
lisp-unit2-asserts: The lisp-unit2-asserts package
lisp-unit2.asd: The lisp-unit2/lisp-unit2․asd file
list-collector: Private classes

M
macro-result: Private classes
missing-test: Public conditions

N
null-tags-warning: Private conditions
null-tests-warning: Private conditions

O
output-result: Private classes

P
Package, lisp-unit2: The lisp-unit2 package
Package, lisp-unit2-asserts: The lisp-unit2-asserts package
package.lisp: The lisp-unit2/package․lisp file

R
rational.lisp: The lisp-unit2/rational․lisp file

S
signal-result: Private classes
summarize.lisp: The lisp-unit2/summarize․lisp file
System, lisp-unit2: The lisp-unit2 system

T
test-anything-protocol.lisp: The lisp-unit2/test-anything-protocol․lisp file
test-complete: Public conditions
test-database: Private classes
test-name-error: Private conditions
test-result: Public classes
test-results-db: Public classes
test-results-mixin: Private classes
test-start: Public conditions

U
unit-test: Public classes
unit-test-control-mixin: Private classes

V
vars.lisp: The lisp-unit2/vars․lisp file