The lift Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The lift Reference Manual

This is the lift Reference Manual, version 1.7.1, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 12:05:26 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

LIFT - the LIsp Framework for Testing

Introduction

The LIsp Framework for Testing (LIFT) is a unit and system test tool for LISP. Though inspired by [SUnit][] and [JUnit][], it's built with Lisp in mind. In LIFT, [testcases][] are organized into hierarchical [testsuites][] each of which can have its own [fixture][]. When run, a testcase can succeed, fail, or error. LIFT supports randomized testing, benchmarking, profiling, and reporting.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

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


Previous: , Up: Systems   [Contents][Index]

2.1 lift

Maintainer

Gary Warren King <gwking@metabang.com>

Author

Gary Warren King <gwking@metabang.com>

License

MIT Style License; see file COPYING for details

Description

LIsp Framework for Testing

Long Description

LIFT is an SUnit variant and much much more.

Version

1.7.1

Source

lift.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

3.1 lift/timeout

Parent

lift (system)

Location

timeout/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.2 lift/setup

Dependency

timeout (module)

Parent

lift (system)

Location

dev/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.3 lift/api

Dependency

setup (module)

Parent

lift (system)

Location

dev/

Components

Previous: , Up: Modules   [Contents][Index]

3.4 lift/dev

Dependencies
Parent

lift (system)

Location

dev/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

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


Next: , Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 lift.asd

Location

lift.asd

Systems

lift (system)

Packages

lift-system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 lift/timeout/package.lisp

Parent

timeout (module)

Location

timeout/package.lisp

Packages

com.metabang.trivial-timeout


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 lift/timeout/with-timeout.lisp

Dependency

package.lisp (file)

Parent

timeout (module)

Location

timeout/with-timeout.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 lift/setup/packages.lisp

Parent

setup (module)

Location

dev/packages.lisp

Packages

lift


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 lift/setup/utilities.lisp

Dependencies
Parent

setup (module)

Location

dev/utilities.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 lift/setup/macros.lisp

Dependencies
Parent

setup (module)

Location

dev/macros.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 lift/setup/definitions.lisp

Dependency

packages.lisp (file)

Parent

setup (module)

Location

dev/definitions.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 lift/setup/class-defs.lisp

Dependency

definitions.lisp (file)

Parent

setup (module)

Location

dev/class-defs.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 lift/api/generics.lisp

Parent

api (module)

Location

dev/generics.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 lift/api/port.lisp

Parent

api (module)

Location

dev/port.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 lift/dev/lift.lisp

Dependency

measuring.lisp (file)

Parent

dev (module)

Location

dev/lift.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 lift/dev/copy-file.lisp

Parent

dev (module)

Location

dev/copy-file.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.13 lift/dev/random-testing.lisp

Dependency

lift.lisp (file)

Parent

dev (module)

Location

dev/random-testing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.14 lift/dev/measuring.lisp

Parent

dev (module)

Location

dev/measuring.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.15 lift/dev/config.lisp

Dependency

lift.lisp (file)

Parent

dev (module)

Location

dev/config.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.16 lift/dev/reports.lisp

Dependencies
Parent

dev (module)

Location

dev/reports.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.17 lift/dev/introspection.lisp

Dependency

lift.lisp (file)

Parent

dev (module)

Location

dev/introspection.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.18 lift/dev/test-runner.lisp

Dependency

lift.lisp (file)

Parent

dev (module)

Location

dev/test-runner.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Files   [Contents][Index]

4.2 Other


Previous: , Up: Other files   [Contents][Index]

4.2.1 lift/dev/notes.text

Parent

dev (module)

Location

dev/notes.text


Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 lift-system

Source

lift.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 com.metabang.trivial-timeout

Source

package.lisp (file)

Nickname

trivial-timeout

Use List

common-lisp

Used By List

lift

Exported Definitions
Internal Definitions

Previous: , Up: Packages   [Contents][Index]

5.3 lift

Source

packages.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

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


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *break-on-redefinition*
Package

lift

Source

definitions.lisp (file)

Special Variable: *count-calls-p*
Package

lift

Source

definitions.lisp (file)

Special Variable: *current-asdf-system-name*

Holds the name of the system being tested when using the ‘:generic‘ configuration.

LIFT needs this to run the ‘:generic‘ configuration because this is how it determines which configuration file to load. If you use ‘asdf:test-op‘ then this value will be set automatically. Otherwise, you will need to set it yourself.

Package

lift

Source

config.lisp (file)

Special Variable: *current-test*

The current testsuite.

Package

lift

Source

definitions.lisp (file)

Special Variable: *lift-debug-output*

Messages from LIFT will be sent to this stream. It can set to nil or to an output stream. It defaults to *debug-io*.

Package

lift

Source

utilities.lisp (file)

Special Variable: *lift-dribble-pathname*

If bound, then test output from run-tests will be sent to this file in
in addition to *lift-standard-output*. It can be set to nil or to a pathname.

Package

lift

Source

definitions.lisp (file)

Special Variable: *lift-equality-test*

The function used in ensure-same to test if two things are equal. If metatilities is loaded, then you might want to use samep.

Package

lift

Source

definitions.lisp (file)

Special Variable: *lift-report-pathname*

If bound to a pathname or stream, then a summary of test information will be written to it for later processing. It can be set to:

* ‘nil‘ - generate no output
* pathname designator - send output to this pathname
* ‘t‘ - send output to a pathname constructed from the name of the system being tested (this only works if ASDF is being used to test the system).

As an example of the last case, if LIFT is testing a system named ...

Package

lift

Source

definitions.lisp (file)

Special Variable: *log-detail-hooks*
Package

lift

Source

reports.lisp (file)

Special Variable: *log-footer-hooks*
Package

lift

Source

reports.lisp (file)

Special Variable: *log-header-hooks*
Package

lift

Source

reports.lisp (file)

Special Variable: *log-path*
Package

lift

Source

definitions.lisp (file)

Special Variable: *log-tag*

If set, this is used to tag generated log information.

Package

lift

Source

definitions.lisp (file)

Special Variable: *profile-style*

Sets the default profiling style to :time, :space, or nil (for no profiling).

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-break-on-errors?*
Package

lift

Source

definitions.lisp (file)

Special Variable: *test-break-on-failures?*
Package

lift

Source

definitions.lisp (file)

Special Variable: *test-describe-if-not-successful?*

If true, then a complete test description is printed when there are any test warnings or failures. Otherwise, one would need to explicity call describe.

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-evaluate-when-defined?*
Package

lift

Source

definitions.lisp (file)

Special Variable: *test-ignore-warnings?*

If true, LIFT will not cause a test to fail if a warning occurs while the test is running. Note that this may interact oddly with ensure-warning.

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-maximum-error-count*

The maximum numbers of errors to allow during a [run-tests][].

If ‘*test-maximum-error-count*‘ is nil, then a call to run-tests will continue regardless of the number of errors. If it a positive integer, then run-tests will stop as soon as the number of test-errors if greater than or equal to its value. Setting this to some small value can help prevent running lengthly test-suites when there are many errors. See also [\*test-maximum-failure-count\*][].

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-maximum-failure-count*

The maximum numbers of failures to allow during a [run-tests][].

If ‘*test-maximum-failure-count*‘ is nil, then a call to run-tests will continue regardless of the number of failures. If it a positive integer, then run-tests will stop as soon as the number of test-failures if greater than or equal to its value. Setting this to some small value can help prevent running lengthly test-suites when there are many failures. See also [\*test-maximum-error-count\*][].

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-maximum-time*

Maximum number of seconds a process test is allowed to run before we give up.

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-notepad*

Another place to put things (see {ref *test-scratchpad*}).

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-print-length*

The print-length in effect when LIFT prints test results. It works exactly like ‘*print-length*‘ except that it can also take on the value :follow-print. In this case, it will be set to the value of ‘*print-length*‘.

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-print-level*

The print-level in effect when LIFT prints test results. It works exactly like ‘*print-level*‘ except that it can also take on the value :follow-print. In this case, it will be set to whatever ‘*print-level*‘ is.

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-print-test-case-names*

If true, LIFT will print the name of each test-case before it runs. See also: *test-print-testsuite-names*.

Package

lift

Source

utilities.lisp (file)

Special Variable: *test-print-testsuite-names*

If true, LIFT will print the name of each test suite to *debug-io* before it begins to run the suite. See also: *test-print-test-case-names*.

Package

lift

Source

utilities.lisp (file)

Special Variable: *test-print-when-defined?*
Package

lift

Source

definitions.lisp (file)

Special Variable: *test-result*

Set to the most recent test result by calls to run-test or run-tests.

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-scratchpad*

A place to put things. This is set to nil before every test.

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-show-code-p*
Package

lift

Source

definitions.lisp (file)

Special Variable: *test-show-details-p*
Package

lift

Source

definitions.lisp (file)

Special Variable: *test-show-expected-p*
Package

lift

Source

definitions.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: addbenchmark (SUITE-NAME &rest OPTIONS) TEST-CASE-NAME &body BODY

Adds a single new test-benchmark to testsuite suite-name.

Package

lift

Source

lift.lisp (file)

Macro: addtest NAME &body TEST

Adds a single new test-case to the most recently defined testsuite.

Package

lift

Source

lift.lisp (file)

Macro: defmeasure NAME &key VALUE FINALLY TYPE DOCUMENTATION
Package

lift

Source

macros.lisp (file)

Macro: defrandom-instance INSTANCE-TYPE SUITE &body BODY
Package

lift

Source

random-testing.lisp (file)

Macro: deftestsuite TESTSUITE-NAME SUPERCLASSES SLOTS &rest CLAUSES-AND-OPTIONS

Creates a testsuite named ‘testsuite-name‘ and, optionally, the code required for test setup, test tear-down and the actual test-cases. A testsuite is a collection of test-cases and other testsuites.

Test suites can have multiple superclasses (just like the classes that they are). Usually, these will be other test classes and the class hierarchy becomes the test case hierarchy. If necessary, however, non-testsuite classes can also be used as superclasses.

Slots are specified as in defclass with the following additions:

* Initargs and accessors are automatically defined. If a slot is named‘my-slot‘, then the initarg will be ‘:my-slot‘ and the accessors will be ‘my-slot‘ and ‘(setf my-slot)‘.
* If the second argument is not a CLOS slot option keyword, then it will be used as the ‘:initform‘ for the slot. I.e., if you have

(deftestsuite my-test ()
((my-slot 23)))

then ‘my-slot‘ will be initialized to 23 during test setup.

Test options are one of :setup, :teardown, :test, :tests, :documentation, :export-p, :dynamic-variables, :export-slots, :function, :categories, :run-setup, or :equality-test.

* :categories - a list of symbols. Categories allow you to groups tests into clusters outside of the basic hierarchy. This provides finer grained control on selecting which tests to run. May be specified multiple times.

* :documentation - a string specifying any documentation for the test. Should only be specified once.

* :dynamic-variables - a list of atoms or pairs of the form (name value). These specify any special variables that should be bound in a let around the body of the test. The name should be symbol designating a special variable. The value (if supplied) will be bound to the variable. If the value is not supplied, the variable will be bound to nil. Should only be specified once.

* :equality-test - the name of the function to be used by default in calls to ensure-same and ensure-different. Should only be supplied once.

* :export-p - If true, the testsuite name will be exported from the current package. Should only be specified once.

* :export-slots - if true, any slots specified in the test suite will be exported from the current package. Should only be specified once.

* :function - creates a locally accessible function for this test suite. May be specified multiple times.

* :run-setup - specify when to run the setup code for this test suite. Allowed values are

* :once-per-test-case or t (the default)
* :once-per-session
* :once-per-suite
* :never or nil

:run-setup is handy when a testsuite has a time consuming setup phase that you do not want to repeat for every test.

* :setup - a list of forms to be evaluated before each test case is run. Should only be specified once.

* :teardown - a list of forms to be evaluated after each test case is run. Should only be specified once.

* :test - Define a single test case. Can be specified multiple times.

* :tests - Define multiple test cases for this test suite. Can be specified multiple times.

Package

lift

Source

lift.lisp (file)

Macro: ensure PREDICATE &key REPORT ARGUMENTS

If ensure’s ‘predicate‘ evaluates to false, then it will generate a test failure. You can use the ‘report‘ and ‘arguments‘ keyword parameters to customize the report generated in test results. For example:

(ensure (= 23 12)
:report "I hope ~a does not = ~a"
:arguments (12 23))

will generate a message like

Warning: Ensure failed: (= 23 12) (I hope 12 does not = 23)

Package

lift

Source

macros.lisp (file)

Macro: ensure-cases (&rest VARS) (&rest CASES) &body BODY

Run ‘body‘ with multiple bindings for a set of variables.

* ‘vars‘ must be a list of variable names (not evaluated)
* ‘cases‘ is a list of lists of bindings for the ‘vars‘ (evaluated).

If there is only a single variable (i.e., ‘vars‘ is a one-element list), then ‘cases‘ can also be a simple list.

As an example, here is how we could test that an addition function worked correctly:

(ensure-cases (a b result)
‘((1 2 3) (1 -1 0) (1.1 0.9 2.0))
(ensure-same (add-em a b) result :test ’=))

All cases are evaluated even if there are failures or errors during the testing. The test report will contain a list of all of the failing cases.

Package

lift

Source

macros.lisp (file)

Macro: ensure-condition CONDITION &body BODY

Signal a test-failure if ‘body‘ does not signal ‘condition‘.

If ‘condition‘ is an atom, then non-error conditions will _not_
cause a failure.

‘condition‘ may also be a list of the form

(condition &key catch-all-conditions? report arguments name validate)

If this form is used then the values are uses as follows:

* report and arguments are used to display additional information when the
ensure fails.

* ‘catch-all-conditions? - if true, then
the signaling of _any_ other condition will cause a test failure.

* validate - if supplied, this will be evaluated when the condition is signaled
with the condition bound to the variable ‘condtion‘ (unless name is used to
change this). ‘validate‘ can be used to ensure additional constaints on the condition.

* name - if supplied, this will be the name of the variable bound to the
condition in the validate clause.

Package

lift

Source

macros.lisp (file)

Macro: ensure-different FORM VALUES &key TEST REPORT ARGUMENTS IGNORE-MULTIPLE-VALUES?

Ensure-different compares value-or-values-1 value-or-values-2 or each value of value-or-values-1 and value-or-values-2 (if they are multiple values) using test. If any comparison returns true, then ensure-different raises a warning which uses report as a format string and ‘arguments‘ as arguments to that string (if report and ‘arguments‘ are supplied). If ensure-different is used within a test, a test failure is generated instead of a warning

Package

lift

Source

macros.lisp (file)

Macro: ensure-error &body BODY

Ensure-error evaluates its body. If the body does *not* signal an error, then ensure-error will generate a test failure.

Package

lift

Source

macros.lisp (file)

Macro: ensure-no-warning &body BODY

This macro is used to make sure that body produces no warning.

Package

lift

Source

macros.lisp (file)

Macro: ensure-null PREDICATE &key REPORT ARGUMENTS

If ensure-null’s ‘predicate‘ evaluates to true, then it will generate a test failure. You can use the ‘report‘ and ‘arguments‘ keyword parameters to customize the report generated in test results. See [ensure][] for more details.

Package

lift

Source

macros.lisp (file)

Macro: ensure-random-cases COUNT (&rest VARS-AND-TYPES) &body BODY
Package

lift

Source

random-testing.lisp (file)

Macro: ensure-random-cases+ COUNT (&rest VARS) (&rest CASE-FORM) &body BODY
Package

lift

Source

random-testing.lisp (file)

Macro: ensure-same FORM VALUES &key TEST REPORT ARGUMENTS IGNORE-MULTIPLE-VALUES?

Ensure same compares value-or-values-1 value-or-values-2 or
each value of value-or-values-1 value-or-values-2 (if they are multiple values) using test. If a comparison fails
ensure-same raises a warning which uses ‘report‘ as a format string and ‘arguments‘ as arguments to that string (if report and arguments are supplied). If ensure-same is used within a test, a test failure is generated instead of a warning

Package

lift

Source

macros.lisp (file)

Macro: ensure-warning &body BODY

Ensure-warning evaluates its body. If the body does *not* signal a warning, then ensure-warning will generate a test failure.

Package

lift

Source

macros.lisp (file)

Macro: measure-conses (VAR) &body BODY
Package

lift

Source

measuring.lisp (file)

Macro: measure-time (VAR) &body BODY
Package

lift

Source

measuring.lisp (file)

Macro: undefmeasure NAME
Package

lift

Source

macros.lisp (file)

Macro: while-counting-events (&optional DELAY) &body BODY

Returns the count of the number of times ‘did-event‘ was called during ‘delay‘ seconds. See also: [while-counting-repetitions][].

Package

lift

Source

macros.lisp (file)

Macro: while-counting-events* (&optional DELAY) &body BODY

Count the number of times ‘did-event‘ is called ‘body‘ during ‘delay‘.

Warning: assumes that ‘body‘ will not be executed more than a fixnum number of times. The ‘delay‘ defaults to 1.0.

Unlike [while-counting-events][] , this does not use with-timeout and therefore assumes that ‘body‘ executes quickly relative to delay.

Package

lift

Source

macros.lisp (file)

Macro: while-counting-repetitions (&optional DELAY) &body BODY

Execute ‘body‘ repeatedly for ‘delay‘ seconds. Returns the number
of times ‘body‘ is executed per second. Warning: assumes that ‘body‘ will not be executed more than a fixnum number of times. The ‘delay‘ defaults to 1.0.

Package

lift

Source

macros.lisp (file)

Macro: while-counting-repetitions* (&optional DELAY) &body BODY

Count the number of times ‘body‘ executes in ‘delay‘ seconds.

Warning: assumes that ‘body‘ will not be executed more than a fixnum number of times. The ‘delay‘ defaults to 1.0.

Unlike [while-counting-repetitions][] , this does not use with-timeout and therefore assumes that ‘body‘ executes quickly relative to delay.

Package

lift

Source

macros.lisp (file)

Macro: while-measuring (CATCH-ERRORS-P &rest MEASURES) &body BODY
Package

lift

Source

macros.lisp (file)

Macro: with-profile-report (NAME STYLE &key LOG-NAME COUNT-CALLS-P TIMEOUT DESTINATION) &body BODY
Package

lift

Source

macros.lisp (file)

Macro: with-timeout (SECONDS) &body BODY

Execute ‘body‘ for no more than ‘seconds‘ time.

If ‘seconds‘ is exceeded, then a [timeout-error][] will be signaled.

If ‘seconds‘ is nil, then the body will be run normally until it completes or is interrupted.

Package

com.metabang.trivial-timeout

Source

with-timeout.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Functions

Function: add-report-hook-for MODE HOOK
Package

lift

Source

reports.lisp (file)

Function: count-repetitions FN DELAY &rest ARGS
Package

lift

Source

measuring.lisp (file)

Function: generate-log-entry NAME SECONDS CONSES &key LOG-NAME RESULTS ERROR SAMPLE-COUNT ADDITIONAL-DATA
Package

lift

Source

measuring.lisp (file)

Function: last-test-status ()
Package

lift

Source

introspection.lisp (file)

Function: lift-property NAME
Function: (setf lift-property) VALUE NAME
Package

lift

Source

lift.lisp (file)

Function: liftpropos STRING &key INCLUDE-CASES? START-AT

Returns a list of testsuites whose name contains ‘string‘.

Package

lift

Source

introspection.lisp (file)

Function: list-tests &key INCLUDE-CASES? START-AT STREAM

Lists all of the defined test classes from :start-at on down.

Package

lift

Source

introspection.lisp (file)

Function: map-testsuites FN START-AT

Call ‘fn‘ with each suite name starting at ‘start-at‘

‘fn‘ should be a function of two arguments. It will called with
a testsuite name and the ‘level‘ of the suite in the class hierarchy.

Package

lift

Source

introspection.lisp (file)

Function: print-tests &key INCLUDE-CASES? START-AT STREAM

Prints all of the defined test classes from :start-at on down.

Package

lift

Source

introspection.lisp (file)

Function: remove-test &key TEST-CASE SUITE
Package

lift

Source

lift.lisp (file)

Function: report-hooks-for MODE
Function: (setf report-hooks-for) VALUE MODE
Package

lift

Source

reports.lisp (file)

Function: run-test &key NAME SUITE BREAK-ON-ERRORS? BREAK-ON-FAILURES? RESULT PROFILE TESTSUITE-INITARGS

Run a single test-case in a testsuite. Will run the most recently defined or run testcase unless the name and suite arguments are used to override them.

Package

lift

Source

test-runner.lisp (file)

Function: run-tests &rest ARGS &key SUITE BREAK-ON-ERRORS? BREAK-ON-FAILURES? CONFIG DRIBBLE REPORT-PATHNAME PROFILE SKIP-TESTS DO-CHILDREN? TESTSUITE-INITARGS RESULT &allow-other-keys

Run all of the tests in a suite.

Package

lift

Source

test-runner.lisp (file)

Function: suite-tested-p SUITE &key RESULT
Package

lift

Source

introspection.lisp (file)

Function: testsuites &optional START-AT

Returns a list of testsuite classes. The optional parameter provides control over where in the test hierarchy the search begins.

Package

lift

Source

introspection.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Generic functions

Generic Function: describe-test-result RESULT STREAM &key SHOW-DETAILS-P SHOW-EXPECTED-P SHOW-CODE-P &allow-other-keys
Package

lift

Source

generics.lisp (file)

Methods
Method: describe-test-result RESULT STREAM &key SHOW-DETAILS-P SHOW-EXPECTED-P SHOW-CODE-P
Source

lift.lisp (file)

Generic Function: do-test TESTSUITE TEST-CASE-NAME RESULT
Package

lift

Source

generics.lisp (file)

Methods
Method: do-test (SUITE test-mixin) NAME RESULT
Source

test-runner.lisp (file)

Method: do-test (SUITE process-test-mixin) NAME RESULT around
Source

lift.lisp (file)

Method: do-test (SUITE test-mixin) NAME RESULT around
Source

lift.lisp (file)

Generic Function: errors OBJECT
Generic Function: (setf errors) NEW-VALUE OBJECT
Package

lift

Methods
Method: errors (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf errors) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: expected-errors OBJECT
Generic Function: (setf expected-errors) NEW-VALUE OBJECT
Package

lift

Methods
Method: expected-errors (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf expected-errors) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: expected-failures OBJECT
Generic Function: (setf expected-failures) NEW-VALUE OBJECT
Package

lift

Methods
Method: expected-failures (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf expected-failures) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: failures OBJECT
Generic Function: (setf failures) NEW-VALUE OBJECT
Package

lift

Methods
Method: failures (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf failures) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: find-test-case SUITE NAME &key ERRORP

Search for a test-case named ‘name‘ in a
testsuite named ‘suite‘.

The search is conducted across all packages so ‘suite‘ and ‘name‘ can be symbols in any package. I.e., find-test-case looks for a testsuites and test-cases whose symbol-names are string= to ‘suite‘ and ‘name‘. If ‘errorp‘ is
true, then find-test-case can raise two possible errors:

* If more than one matching test-case is found,
then an error of type ‘test-case-ambiguous‘ will be raised.
* If no matching test-cases are found, then an error of type ‘test-case-not-defined‘ will be raised.

The default for ‘errorp‘ is nil. If ‘suite‘ is nil, then find-test-case will search for matching test-cases across
all suites. This is equivalent to the behavior of [find-test-cases][].

Package

lift

Source

introspection.lisp (file)

Methods
Method: find-test-case (SUITE-CLASS standard-class) (NAME string) &key ERRORP
Method: find-test-case (SUITE test-mixin) (NAME string) &key ERRORP
Method: find-test-case (SUITE-CLASS standard-class) (NAME symbol) &key ERRORP
Method: find-test-case (SUITE test-mixin) NAME &key ERRORP
Method: find-test-case (SUITE null) NAME &key ERRORP
Method: find-test-case (SUITE symbol) NAME &key ERRORP
Generic Function: find-testsuite SUITE &key ERRORP

Search for a testsuite named ‘suite‘.

The search is conducted across all packages so ‘suite‘ can be a symbol in any package. I.e., find-testsuite looks for testsuite classes whose symbol-name is string= to ‘suite‘. If ‘errorp‘ is true, then find-testsuite can raise two possible errors:

* If more than one matching testsuite is found,
then an error of type ‘testsuite-ambiguous‘ will be raised.
* If no matching testsuites are found, then an error of type ‘testsuite-not-defined‘ will be raised.

The default for ‘errorp‘ is nil.

Package

lift

Source

introspection.lisp (file)

Methods
Method: find-testsuite (SUITE-NAME string) &key ERRORP
Method: find-testsuite (SUITE symbol) &key ERRORP
Method: find-testsuite (SUITE test-mixin) &key ERRORP
Generic Function: handle-config-preference NAME ARGS
Package

lift

Source

config.lisp (file)

Methods
Method: handle-config-preference (NAME (eql skip-tests)) ARGS
Method: handle-config-preference (NAME (eql skip-testsuites)) ARGS
Method: handle-config-preference (NAME (eql skip-tests-reset)) ARGS
Method: handle-config-preference (NAME (eql untrace)) ARGS
Method: handle-config-preference (NAME (eql trace)) ARGS
Method: handle-config-preference (NAME (eql build-report)) ARGS
Method: handle-config-preference (NAME (eql profile-style)) ARGS
Method: handle-config-preference (NAME (eql maximum-error-count)) ARGS
Method: handle-config-preference (NAME (eql maximum-errors)) ARGS
Method: handle-config-preference (NAME (eql maximum-failure-count)) ARGS
Method: handle-config-preference (NAME (eql maximum-failures)) ARGS
Method: handle-config-preference (NAME (eql log-pathname)) ARGS
Method: handle-config-preference (NAME (eql count-calls-p)) ARGS
Method: handle-config-preference (NAME (eql profiling-threshold)) ARGS
Method: handle-config-preference (NAME (eql report-property)) ARGS
Method: handle-config-preference (NAME (eql if-dribble-exists)) ARGS
Method: handle-config-preference (NAME (eql print-test-case-names)) ARGS
Method: handle-config-preference (NAME (eql print-suite-names)) ARGS
Method: handle-config-preference (NAME (eql print-level)) ARGS
Method: handle-config-preference (NAME (eql print-length)) ARGS
Method: handle-config-preference (NAME (eql equality-test)) ARGS
Method: handle-config-preference (NAME (eql do-children?)) ARGS
Method: handle-config-preference (NAME (eql break-on-failures?)) ARGS
Method: handle-config-preference (NAME (eql break-on-errors?)) ARGS
Method: handle-config-preference (NAME (eql standard-output)) ARGS
Method: handle-config-preference (NAME (eql debug-output)) ARGS
Method: handle-config-preference (NAME (eql dribble)) ARGS
Method: handle-config-preference (NAME (eql log-tag)) ARGS
Method: handle-config-preference (NAME (eql include)) ARGS
Method: handle-config-preference NAME ARGS
Generic Function: make-test-result FOR TEST-MODE &rest ARGS
Package

lift

Source

generics.lisp (file)

Methods
Method: make-test-result FOR TEST-MODE &rest ARGS
Source

lift.lisp (file)

Generic Function: random-element SUITE SEQUENCE
Package

lift

Source

random-testing.lisp (file)

Methods
Method: random-element SUITE SEQUENCE
Generic Function: random-instance-for-suite THING SUITE
Package

lift

Source

random-testing.lisp (file)

Methods
Method: random-instance-for-suite (THING a-symbol) (SUITE test-mixin)
Method: random-instance-for-suite (THING a-double-float) (SUITE test-mixin)
Method: random-instance-for-suite (THING a-single-float) (SUITE test-mixin)
Method: random-instance-for-suite (THING an-integer) (SUITE test-mixin)
Generic Function: random-number SUITE MIN MAX
Package

lift

Source

random-testing.lisp (file)

Methods
Method: random-number SUITE MIN MAX
Generic Function: result-uuid OBJECT
Generic Function: (setf result-uuid) NEW-VALUE OBJECT
Package

lift

Methods
Method: result-uuid (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf result-uuid) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: setup-test TESTSUITE

Setup for a test-case. By default it does nothing.

Package

lift

Source

generics.lisp (file)

Methods
Method: setup-test (TEST test-mixin) around
Source

lift.lisp (file)

Method: setup-test (TEST symbol)
Source

lift.lisp (file)

Method: setup-test (TEST test-mixin)
Source

lift.lisp (file)

Method: setup-test (TEST test-mixin) before
Source

lift.lisp (file)

Generic Function: skipped-test-cases OBJECT
Generic Function: (setf skipped-test-cases) NEW-VALUE OBJECT
Package

lift

Methods
Method: skipped-test-cases (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf skipped-test-cases) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: skipped-testsuites OBJECT
Generic Function: (setf skipped-testsuites) NEW-VALUE OBJECT
Package

lift

Methods
Method: skipped-testsuites (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf skipped-testsuites) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: test-condition OBJECT
Package

lift

Methods
Method: test-condition (TESTSUITE-PROBLEM-MIXIN testsuite-problem-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: testsuite-log-data SUITE
Package

lift

Source

generics.lisp (file)

Methods
Method: testsuite-log-data SUITE around
Source

lift.lisp (file)

Method: testsuite-log-data SUITE
Source

lift.lisp (file)

Generic Function: testsuite-p THING

Determine whether or not ‘thing‘ is a testsuite. Thing can be a symbol naming a suite, a subclass of ‘test-mixin‘ or an instance of a test suite. Returns nil if ‘thing‘ is not a testsuite and the symbol naming the suite if it is.

Package

lift

Source

generics.lisp (file)

Methods
Method: testsuite-p (CLASS standard-class)
Source

introspection.lisp (file)

Method: testsuite-p (OBJECT standard-object)
Source

introspection.lisp (file)

Method: testsuite-p (CLASSNAME symbol)
Source

introspection.lisp (file)

Generic Function: testsuite-tests SYMBOL
Generic Function: (setf testsuite-tests) VALUE SYMBOL
Package

lift

Source

lift.lisp (file)

Methods
Method: testsuite-tests (CLASS-NAME symbol)
Method: (setf testsuite-tests) VALUE (CLASS-NAME symbol)
Generic Function: write-profile-information TESTSUITE
Package

lift

Source

generics.lisp (file)

Methods
Method: write-profile-information SUITE
Source

lift.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Conditions

Condition: ensure-cases-failure ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

test-condition (condition)

Direct slots
Slot: total
Initargs

:total

Initform

(quote 0)

Slot: problems
Initargs

:problems

Initform

(quote nil)

Slot: errors
Initargs

:errors

Initform

(quote nil)

Condition: ensure-expected-condition ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

test-condition (condition)

Direct slots
Slot: expected-condition-type
Initargs

:expected-condition-type

Initform

(quote nil)

Slot: the-condition
Initargs

:the-condition

Initform

(quote nil)

Condition: ensure-expected-no-warning-condition ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

test-condition (condition)

Direct slots
Slot: the-condition
Initargs

:the-condition

Initform

(quote nil)

Condition: ensure-failed-error ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

test-condition (condition)

Direct subclasses

ensure-null-failed-error (condition)

Direct slots
Slot: assertion
Initargs

:assertion

Initform

(quote "")

Condition: ensure-not-same ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

failed-comparison-condition (condition)

Condition: ensure-null-failed-error ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

ensure-failed-error (condition)

Direct slots
Slot: value
Initargs

:value

Initform

(quote "")

Slot: assertion
Initargs

:assertion

Initform

(quote "")

Condition: ensure-random-cases-failure ()
Package

lift

Source

random-testing.lisp (file)

Direct superclasses

test-condition (condition)

Direct slots
Slot: total
Initargs

:total

Initform

(quote 0)

Slot: problems
Initargs

:problems

Initform

(quote nil)

Condition: ensure-same ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

failed-comparison-condition (condition)

Condition: failed-comparison-condition ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

test-condition (condition)

Direct subclasses
Direct slots
Slot: first-value
Initargs

:first-value

Slot: second-value
Initargs

:second-value

Slot: test
Initargs

:test

Condition: test-case-ambiguous ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

lift-compile-error (condition)

Direct slots
Slot: testsuite-name
Initargs

:testsuite-name

Slot: test-case-name
Initargs

:test-case-name

Slot: possible-matches
Initargs

:possible-matches

Condition: test-case-not-defined ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

lift-compile-error (condition)

Direct slots
Slot: testsuite-name
Initargs

:testsuite-name

Slot: test-case-name
Initargs

:test-case-name

Condition: test-condition ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

warning (condition)

Direct subclasses
Direct slots
Slot: message
Initargs

:message

Initform

(quote "")

Condition: test-timeout-condition ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

test-condition (condition)

Direct slots
Slot: maximum-time
Initargs

:maximum-time

Initform

(quote lift:*test-maximum-time*)

Condition: testsuite-ambiguous ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

lift-compile-error (condition)

Direct slots
Slot: testsuite-name
Initargs

:testsuite-name

Slot: possible-matches
Initargs

:possible-matches

Condition: testsuite-not-defined ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

lift-compile-error (condition)

Direct slots
Slot: testsuite-name
Initargs

:testsuite-name

Condition: timeout-error ()

An error signaled when the duration specified in the [with-timeout][] is exceeded.

Package

com.metabang.trivial-timeout

Source

with-timeout.lisp (file)

Direct superclasses

error (condition)

Condition: unexpected-success-failure ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

test-condition (condition)

Direct slots
Slot: expected
Initargs

:expected

Slot: expected-more
Initargs

:expected-more


Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Classes

Class: a-double-float ()
Package

lift

Source

random-testing.lisp (file)

Direct superclasses

standard-object (class)

Direct methods

random-instance-for-suite (method)

Class: a-single-float ()
Package

lift

Source

random-testing.lisp (file)

Direct superclasses

standard-object (class)

Direct methods

random-instance-for-suite (method)

Class: a-symbol ()
Package

lift

Source

random-testing.lisp (file)

Direct superclasses

standard-object (class)

Direct methods

random-instance-for-suite (method)

Class: an-integer ()
Package

lift

Source

random-testing.lisp (file)

Direct superclasses

standard-object (class)

Direct methods

random-instance-for-suite (method)

Class: log-results-mixin ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

test-mixin (class)

Direct methods

test-case-teardown (method)

Class: test-mixin ()

A test suite

Package

lift

Source

class-defs.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: name
Initargs

:name

Readers
Writers

(setf name) (generic function)

Slot: run-setup
Initargs

:run-setup

Readers

run-setup (generic function)

Slot: done-setup?
Readers

done-setup? (generic function)

Slot: done-dynamics?
Readers

done-dynamics? (generic function)

Slot: current-method
Readers

current-method (generic function)

Writers

(setf current-method) (generic function)

Slot: log-file
Initargs

:log-file

Readers

log-file (generic function)

Slot: test-data
Readers

test-data (generic function)

Writers

(setf test-data) (generic function)

Slot: test-source-file
Initargs

:test-source-file

Readers

test-source-file (generic function)

Writers

(setf test-source-file) (generic function)

Slot: profile
Initargs

:profile

Initform

lift:*profile-style*

Readers

profile (generic function)

Writers

(setf profile) (generic function)

Direct Default Initargs
InitargValue
:run-setup:once-per-test-case
Class: test-result ()

A ‘test-result‘ instance contains all of the information collectd by LIFT during a test run.

Package

lift

Source

class-defs.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: results-for
Initargs

:results-for

Readers

results-for (generic function)

Writers

(setf results-for) (generic function)

Slot: tests-run
Readers

tests-run (generic function)

Writers

(setf tests-run) (generic function)

Slot: suites-run
Readers

suites-run (generic function)

Writers

(setf suites-run) (generic function)

Slot: failures
Readers

failures (generic function)

Writers

(setf failures) (generic function)

Slot: expected-failures
Readers

expected-failures (generic function)

Writers

(setf expected-failures) (generic function)

Slot: errors
Readers

errors (generic function)

Writers

(setf errors) (generic function)

Slot: expected-errors
Readers

expected-errors (generic function)

Writers

(setf expected-errors) (generic function)

Slot: skipped-test-cases
Readers

skipped-test-cases (generic function)

Writers

(setf skipped-test-cases) (generic function)

Slot: skipped-testsuites
Readers

skipped-testsuites (generic function)

Writers

(setf skipped-testsuites) (generic function)

Slot: test-mode
Initargs

:test-mode

Initform

:single

Readers

test-mode (generic function)

Writers

(setf test-mode) (generic function)

Slot: test-interactive?
Initargs

:test-interactive?

Readers

test-interactive? (generic function)

Writers

(setf test-interactive?) (generic function)

Slot: real-start-time
Initargs

:real-start-time

Readers

real-start-time (generic function)

Slot: start-time
Readers

start-time (generic function)

Writers

(setf start-time) (generic function)

Slot: end-time
Readers

end-time (generic function)

Writers

(setf end-time) (generic function)

Slot: real-end-time
Readers

real-end-time (generic function)

Writers

(setf real-end-time) (generic function)

Slot: real-start-time-universal
Initargs

:real-start-time-universal

Readers

real-start-time-universal (generic function)

Slot: start-time-universal
Readers

start-time-universal (generic function)

Writers

(setf start-time-universal) (generic function)

Slot: end-time-universal
Readers

end-time-universal (generic function)

Writers

(setf end-time-universal) (generic function)

Slot: real-end-time-universal
Readers

real-end-time-universal (generic function)

Writers

(setf real-end-time-universal) (generic function)

Slot: properties
Readers

test-result-properties (generic function)

Writers

(setf test-result-properties) (generic function)

Slot: current-step
Initform

:created

Readers

current-step (generic function)

Writers

(setf current-step) (generic function)

Slot: testsuite-initargs
Initargs

:testsuite-initargs

Readers

testsuite-initargs (generic function)

Writers

(setf testsuite-initargs) (generic function)

Slot: uuid
Initargs

:uuid

Readers

result-uuid (generic function)

Writers

(setf result-uuid) (generic function)

Direct Default Initargs
InitargValue
:test-interactive?lift::*test-is-being-defined?*
:real-start-time(lift::get-test-real-time)
:real-start-time-universal(get-universal-time)

Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Special variables

Special Variable: *code-blocks*
Package

lift

Source

definitions.lisp (file)

Special Variable: *config-dribble-pathname*
Package

lift

Source

config.lisp (file)

Special Variable: *current-configuration-stream*
Package

lift

Source

config.lisp (file)

Special Variable: *current-definition*

An associative-container which saves interesting information about the thing being defined.

Package

lift

Source

definitions.lisp (file)

Special Variable: *current-test-case-name*
Package

lift

Source

definitions.lisp (file)

Special Variable: *current-testsuite-name*
Package

lift

Source

definitions.lisp (file)

Special Variable: *current-user*
Package

lift

Source

definitions.lisp (file)

Special Variable: *deftest-clauses*
Package

lift

Source

definitions.lisp (file)

Special Variable: *functions-to-profile*
Package

lift

Source

definitions.lisp (file)

Special Variable: *hostname*
Package

lift

Source

definitions.lisp (file)

Special Variable: *html-meta*
Package

lift

Source

reports.lisp (file)

Special Variable: *in-middle-of-failure?*
Package

lift

Source

test-runner.lisp (file)

Special Variable: *last-test-case-name*
Package

lift

Source

definitions.lisp (file)

Special Variable: *last-testsuite-name*
Package

lift

Source

definitions.lisp (file)

Special Variable: *lift-if-dribble-exists*

Specifies what to do to any existing file at *lift-dribble-pathname*. It can be :supersede, :append, or :error.

Package

lift

Source

definitions.lisp (file)

Special Variable: *lift-standard-output*

Output from tests will be sent to this stream. If can set to nil or to an output stream. It defaults to *standard-output*.

Package

lift

Source

definitions.lisp (file)

Special Variable: *measures*

A list of defineded measures

Package

lift

Source

definitions.lisp (file)

Special Variable: *profiling-threshold*
Package

lift

Source

definitions.lisp (file)

Special Variable: *report-environment*

Used internally by LIFT reports.

Package

lift

Source

reports.lisp (file)

Special Variable: *report-hooks*
Package

lift

Source

reports.lisp (file)

Special Variable: *skip-tests*

A lift of test-suites and (testsuite test-case) pairs that LIFT will ignore during calls to run-tests.

Package

lift

Source

definitions.lisp (file)

Special Variable: *stream-buffer-size*
Package

lift

Source

copy-file.lisp (file)

Special Variable: *test-case-options*
Package

lift

Source

lift.lisp (file)

Special Variable: *test-is-being-compiled?*
Package

lift

Source

definitions.lisp (file)

Special Variable: *test-is-being-defined?*
Package

lift

Source

definitions.lisp (file)

Special Variable: *test-is-being-executed?*
Package

lift

Source

definitions.lisp (file)

Special Variable: *test-is-being-loaded?*
Package

lift

Source

definitions.lisp (file)

Special Variable: *test-metadata*

A place for LIFT to put stuff.

Package

lift

Source

definitions.lisp (file)

Special Variable: *test-run-subsuites?*
Package

lift

Source

definitions.lisp (file)

Special Variable: *testsuite-test-count*

Temporary variable used to ’communicate’ between deftestsuite and addtest.

Package

lift

Source

definitions.lisp (file)

Special Variable: +a-double-float+
Package

lift

Source

random-testing.lisp (file)

Special Variable: +a-single-float+
Package

lift

Source

random-testing.lisp (file)

Special Variable: +a-symbol+
Package

lift

Source

random-testing.lisp (file)

Special Variable: +an-integer+
Package

lift

Source

random-testing.lisp (file)

Special Variable: +lift-confused-about-arguments+
Package

lift

Source

definitions.lisp (file)

Special Variable: +lift-could-not-find-test+
Package

lift

Source

definitions.lisp (file)

Special Variable: +lift-no-current-test-class+
Package

lift

Source

definitions.lisp (file)

Special Variable: +lift-test-class-not-found+
Package

lift

Source

definitions.lisp (file)

Special Variable: +lift-test-name-not-supplied-with-test-class+
Package

lift

Source

definitions.lisp (file)

Special Variable: +lift-unable-to-parse-test-name-and-class+
Package

lift

Source

definitions.lisp (file)

Special Variable: +run-tests-null-test-case+
Package

lift

Source

definitions.lisp (file)

Special Variable: +whitespace-characters+

A list of characters that should be treated as whitespace. See, for example, [whitespacep][].

Package

lift

Source

utilities.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Macros

Macro: append-to-report (VAR OUTPUT-TO) &body BODY
Package

lift

Source

macros.lisp (file)

Macro: defclass-property PROPERTY &optional DEFAULT

Create getter and setter methods for ’property’ on symbol’s property lists.

Package

lift

Source

macros.lisp (file)

Macro: defcondition NAME/OPTIONS (&rest SUPER-CONDITIONS) SLOT-SPECS &optional FORMAT &rest ARGS
Package

lift

Source

macros.lisp (file)

Macro: defconfig NAME &body BODY
Package

lift

Source

macros.lisp (file)

Macro: defconfig-variable NAME VAR &optional DOCSTRING
Package

lift

Source

macros.lisp (file)

Macro: deftest TESTSUITE-NAME SUPERCLASSES SLOTS &rest CLAUSES-AND-OPTIONS

The ‘deftest‘ form is obsolete, see [deftestsuite][].

Package

lift

Source

lift.lisp (file)

Macro: measure SECONDS BYTES &body BODY
Package

lift

Source

measuring.lisp (file)

Macro: measure-time-and-conses &body BODY
Package

lift

Source

measuring.lisp (file)

Macro: muffle-redefinition-warnings &body BODY

Evaluate the body so that redefinition warnings will not be signaled. (suppored in Allegro, Clozure CL, CLisp, and Lispworks)

Package

lift

Source

macros.lisp (file)

Macro: newlinify FORMAT
Package

lift

Source

macros.lisp (file)

Macro: while-measuring-1 (VAR MEASURE) &body BODY
Package

lift

Source

macros.lisp (file)

Macro: with-measuring (VAR MEASURE-FN) &body BODY
Package

lift

Source

measuring.lisp (file)

Macro: with-test-slots &body BODY
Package

lift

Source

macros.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Functions

Function: %build-ensure-comparison FORM VALUES GUARD-FN TEST TEST-SPECIFIED-P REPORT ARGUMENTS IGNORE-MULTIPLE-VALUES?
Package

lift

Source

utilities.lisp (file)

Function: %build-pairs PUTATIVE-PAIRS
Package

lift

Source

lift.lisp (file)

Function: %run-tests-from-file PATH
Package

lift

Source

config.lisp (file)

Function: %start-test-case NAME RESULT
Package

lift

Source

utilities.lisp (file)

Function: %start-test-suite NAME RESULT
Package

lift

Source

utilities.lisp (file)

Function: %test-result-report-stream RESULT STREAM FORMAT
Package

lift

Source

reports.lisp (file)

Function: %total-bytes-allocated ()
Package

lift

Source

port.lisp (file)

Function: %valid-run-setup-values ()
Package

lift

Source

lift.lisp (file)

Function: add-code-block NAME PRIORITY OPERATE-WHEN FILTER HANDLER CODE
Package

lift

Source

lift.lisp (file)

Function: block-name STRUCTURE
Function: (setf block-name) VALUE STRUCTURE
Package

lift

Source

lift.lisp (file)

Function: build-benchmark-function SUITE-NAME TEST-CASE-NAME BODY OPTIONS
Package

lift

Source

lift.lisp (file)

Function: build-issues-list RESULT KIND
Package

lift

Source

introspection.lisp (file)

Function: build-issues-report RESULT KIND STREAM
Package

lift

Source

reports.lisp (file)

Function: build-lift-error-message CONTEXT MESSAGE &rest ARGUMENTS
Package

lift

Source

lift.lisp (file)

Function: build-random-instances-method ()
Package

lift

Source

random-testing.lisp (file)

Function: build-setup-test-method ()
Package

lift

Source

lift.lisp (file)

Function: build-test-case-options SUITE-NAME CASE-NAME OPTIONS
Package

lift

Source

lift.lisp (file)

Function: build-test-class ()
Package

lift

Source

lift.lisp (file)

Function: build-test-equality-test ()
Package

lift

Source

lift.lisp (file)

Function: build-test-local-functions ()
Package

lift

Source

lift.lisp (file)

Function: build-test-teardown-method ()
Package

lift

Source

lift.lisp (file)

Function: build-test-test-method SUITE-NAME TEST-BODY OPTIONS
Package

lift

Source

lift.lisp (file)

Function: build-testsuite-expected-error ()
Package

lift

Source

lift.lisp (file)

Function: build-testsuite-expected-failure ()
Package

lift

Source

lift.lisp (file)

Function: build-with-timeout SECONDS BODY
Package

com.metabang.trivial-timeout

Source

with-timeout.lisp (file)

Function: cancel-testing WHY
Package

lift

Source

lift.lisp (file)

Function: canonical-versions-numbers V-1 V-2
Package

lift

Source

utilities.lisp (file)

Function: canonize-skip-tests SKIP-TESTS
Package

lift

Source

lift.lisp (file)

Function: check-for-surprises SUITE-NAME TEST-CASE-NAME
Package

lift

Source

lift.lisp (file)

Function: check-run-setup-value ()
Package

lift

Source

lift.lisp (file)

Function: class-slot-names THING
Package

lift

Source

utilities.lisp (file)

Function: cleanup-parsed-parameter PARAMETER
Package

lift

Source

utilities.lisp (file)

Function: code STRUCTURE
Function: (setf code) VALUE STRUCTURE
Package

lift

Source

lift.lisp (file)

Function: collect-test-cases &optional START-AT

Returns a list of cons-pairs of testsuites and testcases. The optional parameter provides control over where in the test hierarchy the search begins.

Package

lift

Source

introspection.lisp (file)

Function: collect-testsuite-summary-for-log RESULT KIND
Package

lift

Source

reports.lisp (file)

Function: collect-testsuites START-AT &key FILTER TRANSFORM
Package

lift

Source

introspection.lisp (file)

Function: compile-quickly BODY

Compile body with as much extra stuff as possible turned ‘off‘.

For example, compile without cross-reference information.

Package

lift

Source

macros.lisp (file)

Function: compute-superclass-inheritence ()
Package

lift

Source

lift.lisp (file)

Function: configuration-failures RESULT
Package

lift

Source

class-defs.lisp (file)

Function: containing-pathname PATHSPEC

Return the containing pathname of the thing to which pathspac points. For example:

> (containing-directory "/foo/bar/bis.temp") "/foo/bar/"
> (containing-directory "/foo/bar/") "/foo/"

Package

lift

Source

utilities.lisp (file)

Function: convert-clauses-into-lists CLAUSES-AND-OPTIONS CLAUSES-TO-CONVERT
Package

lift

Source

utilities.lisp (file)

Function: copy-code-block SEQUENCE

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

Package

lift

Source

SYS:SRC;CODE;SEQ.LISP (not found)

Function: copy-file FROM TO &key IF-DOES-NOT-EXIST IF-EXISTS

Copies the file designated by the non-wild pathname designator FROM
to the file designated by the non-wild pathname designator TO. The following keyword parameters are supported:

* :if-exists
this can be either :supersede or :error (the default). If it is :error then a source/target-target-already-exists-error will be signaled if the file designated by the TO pathname already exists.

* :if-does-not-exist
this can be either :ignore or :error (the default). If it is :error then
a source/target-source-does-not-exist-error will be signaled if the FROM pathname designator does not exist.

Package

lift

Source

copy-file.lisp (file)

Function: copy-stream FROM TO

Copy into TO from FROM until end of the input stream, in blocks of *stream-buffer-size*. The streams should have the same element type.

Package

lift

Source

copy-file.lisp (file)

Function: current-profile-sample-count ()
Package

lift

Source

port.lisp (file)

Function: current-source-position ()
Package

lift

Source

lift.lisp (file)

Function: current-user ()
Package

lift

Source

config.lisp (file)

Function: date-stamp &key DATETIME INCLUDE-TIME? INCLUDE-DATE? TIME-DELIMITER DATE-DELIMITER DATE-TIME-SEPARATOR
Package

lift

Source

utilities.lisp (file)

Function: def NAME &optional DEFINITION
Function: (setf def) VALUE NAME
Package

lift

Source

utilities.lisp (file)

Function: details-link SUITE NAME
Package

lift

Source

reports.lisp (file)

Function: direct-subclasses THING

Returns the immediate subclasses of thing. Thing can be a class, object or symbol naming a class.

Package

lift

Source

utilities.lisp (file)

Function: directory-p NAME
Package

lift

Source

utilities.lisp (file)

Function: directory-pathname-p P
Package

lift

Source

utilities.lisp (file)

Function: divide-cases CASES
Package

lift

Source

introspection.lisp (file)

Function: do-testing-in-environment SUITE-NAME RESULT FN
Package

lift

Source

test-runner.lisp (file)

Function: dotted-pair-p PUTATIVE-PAIR

Returns true if and only if ‘putative-pair‘ is a dotted-list. I.e., if ‘putative-pair‘ is a cons cell with a non-nil cdr.

Package

lift

Source

utilities.lisp (file)

Function: empty-test-tables TEST-NAME
Package

lift

Source

lift.lisp (file)

Function: encode-symbol SYMBOL
Package

lift

Source

utilities.lisp (file)

Function: ensure-directory PATHNAME
Package

lift

Source

port.lisp (file)

Function: ensure-function THING
Package

lift

Source

utilities.lisp (file)

Function: ensure-list THING
Package

lift

Source

utilities.lisp (file)

Function: ensure-string IT
Package

lift

Source

utilities.lisp (file)

Function: ensure-symbol THING
Package

lift

Source

reports.lisp (file)

Function: error-okay-p SUITE-NAME TEST-CASE-NAME
Package

lift

Source

lift.lisp (file)

Function: failure-okay-p SUITE-NAME TEST-CASE-NAME
Package

lift

Source

lift.lisp (file)

Function: filter STRUCTURE
Function: (setf filter) VALUE STRUCTURE
Package

lift

Source

lift.lisp (file)

Function: finalize-class-if-necessary THING

Finalizes thing if necessary. Thing can be a class, object or symbol naming a class. Returns the class of thing.

Package

lift

Source

utilities.lisp (file)

Function: find-generic-test-configuration &optional ERRORP
Package

lift

Source

config.lisp (file)

Function: form-groups LIST SIZE
Package

lift

Source

utilities.lisp (file)

Function: form-keyword &rest NAMES

Finds or interns a symbol in the current package whose name is formed by concatenating the pretty printed representation of the names together.

Package

lift

Source

utilities.lisp (file)

Function: form-symbol &rest NAMES

Finds or interns a symbol in the current package whose name is formed by concatenating the pretty printed representation of the names together.

Package

lift

Source

utilities.lisp (file)

Function: form-symbol-in-package PACKAGE &rest NAMES

Finds or interns a symbol in package whose name is formed by concatenating the pretty printed representation of the names together.

Package

lift

Source

utilities.lisp (file)

Function: format-test-time-for-log TEST-TIME
Package

lift

Source

utilities.lisp (file)

Function: generate-platform-specific-code SECONDS-SYMBOL DOIT-SYMBOL
Package

com.metabang.trivial-timeout

Source

with-timeout.lisp (file)

Function: generate-profile-log-entry LOG-NAME NAME SECONDS CONSES RESULTS ERROR
Package

lift

Source

measuring.lisp (file)

Function: get-backtrace ERROR
Package

lift

Source

port.lisp (file)

Function: get-backtrace-as-string ERROR

This is the function that is used internally by Hunchentoot to show or log backtraces. It accepts a condition object ERROR and returns a string with the corresponding backtrace.

Package

lift

Source

port.lisp (file)

Function: get-details-links-table ()
Package

lift

Source

reports.lisp (file)

Function: get-test-print-length ()
Package

lift

Source

lift.lisp (file)

Function: get-test-print-level ()
Package

lift

Source

lift.lisp (file)

Function: get-test-real-time ()
Package

lift

Source

port.lisp (file)

Function: handle-configuration-problem CLASS MESSAGE &rest ARGS
Package

lift

Source

config.lisp (file)

Function: handle-error-while-testing CONDITION ERROR-CLASS SUITE-NAME RESULT
Package

lift

Source

test-runner.lisp (file)

Function: hostname ()
Package

lift

Source

utilities.lisp (file)

Function: html-footer STREAM
Package

lift

Source

reports.lisp (file)

Function: initialize-current-definition ()
Package

lift

Source

lift.lisp (file)

Function: length-1-list-p X

Is x a list of length 1?

Package

lift

Source

utilities.lisp (file)

Function: lift-relative-pathname PATHNAME &optional ERRORP

Merges pathname with either the path to the currently loading system (if there is one) or the *default-pathname-defaults*.

Package

lift

Source

config.lisp (file)

Function: lift-report-condition C
Package

lift

Source

lift.lisp (file)

Function: lisp-version-string ()
Package

lift

Source

utilities.lisp (file)

Function: looks-like-suite-name-p FORM
Package

lift

Source

lift.lisp (file)

Function: make-code-block &key (BLOCK-NAME BLOCK-NAME) (PRIORITY PRIORITY) (FILTER FILTER) (CODE CODE) (OPERATE-WHEN OPERATE-WHEN)
Package

lift

Source

lift.lisp (file)

Function: make-printable THING
Package

lift

Source

utilities.lisp (file)

Function: make-profiled-function FN
Package

lift

Source

measuring.lisp (file)

Function: make-report-environment ()
Package

lift

Source

reports.lisp (file)

Function: make-testsuite SUITE-NAME ARGS
Package

lift

Source

lift.lisp (file)

Function: map-subclasses CLASS FN &key PROPER?

Applies fn to each subclass of class. If proper? is true, then
the class itself is not included in the mapping. Proper? defaults to nil.

Package

lift

Source

utilities.lisp (file)

Function: map-test-cases FN START-AT

Call ‘fn‘ with each test case for suites starting at ‘start-at‘

‘fn‘ should be a function of three arguments. It will called with a testsuite name, a test-case name and the ‘level‘ of the suite in the class hierarchy.

Package

lift

Source

introspection.lisp (file)

Function: massage-arguments ARGS
Package

lift

Source

config.lisp (file)

Function: massage-condition-string TRIPLE
Package

lift

Source

introspection.lisp (file)

Function: maybe-add-dribble STREAM DRIBBLE-STREAM
Package

lift

Source

test-runner.lisp (file)

Function: maybe-raise-ensure-same-condition VALUE-1 VALUE-2 TEST REPORT &rest ARGUMENTS
Package

lift

Source

lift.lisp (file)

Function: maybe-raise-not-same-condition VALUE-1 VALUE-2 TEST REPORT &rest ARGUMENTS
Package

lift

Source

lift.lisp (file)

Function: measure-fn FN &rest ARGS
Package

lift

Source

measuring.lisp (file)

Function: move-file FROM TO &rest ARGS &key IF-DOES-NOT-EXIST IF-EXISTS
Package

lift

Source

copy-file.lisp (file)

Function: operate-when STRUCTURE
Function: (setf operate-when) VALUE STRUCTURE
Package

lift

Source

lift.lisp (file)

Function: pad-version V SIZE
Package

lift

Source

utilities.lisp (file)

Function: parse-brief-slot SLOT
Package

lift

Source

utilities.lisp (file)

Function: parse-test-body TEST-BODY
Package

lift

Source

lift.lisp (file)

Function: parse-test-slots SLOT-SPECS
Package

lift

Source

lift.lisp (file)

Function: pathname-has-device-p PATHNAME
Package

lift

Source

utilities.lisp (file)

Function: pathname-has-host-p PATHNAME
Package

lift

Source

utilities.lisp (file)

Function: pathname-sans-name+type PATHNAME

Returns a new pathname with same HOST, DEVICE, DIRECTORY as PATHNAME, and NIL NAME and TYPE components

Package

lift

Source

utilities.lisp (file)

Function: print-lift-message MESSAGE &rest ARGS
Package

lift

Source

utilities.lisp (file)

Function: print-test-result-details STREAM RESULT SHOW-EXPECTED-P SHOW-CODE-P
Package

lift

Source

lift.lisp (file)

Function: print-test-summary RESULT STREAM
Package

lift

Source

lift.lisp (file)

Function: priority STRUCTURE
Function: (setf priority) VALUE STRUCTURE
Package

lift

Source

lift.lisp (file)

Function: property-list-p FORM
Package

lift

Source

lift.lisp (file)

Function: record-end-times RESULT SUITE
Package

lift

Source

lift.lisp (file)

Function: record-start-times RESULT SUITE
Package

lift

Source

lift.lisp (file)

Function: relative-pathname RELATIVE-TO PATHNAME &key NAME TYPE
Package

lift

Source

utilities.lisp (file)

Function: remove-leading-quote LIST

Removes the first quote from a list if one is there.

Package

lift

Source

utilities.lisp (file)

Function: remove-previous-definitions CLASSNAME

Remove the methods of this class and all its subclasses.

Package

lift

Source

lift.lisp (file)

Function: remove-test-case-options SUITE-NAME
Package

lift

Source

lift.lisp (file)

Function: remove-test-methods TEST-NAME
Package

lift

Source

lift.lisp (file)

Function: report-issues RESULT KIND
Package

lift

Source

introspection.lisp (file)

Function: report-lift-error CONTEXT MESSAGE &rest ARGUMENTS
Package

lift

Source

lift.lisp (file)

Function: report-summary-pathname ()
Package

lift

Source

config.lisp (file)

Function: report-test-problem PROBLEM-TYPE RESULT SUITE-NAME METHOD CONDITION &rest ARGS
Package

lift

Source

lift.lisp (file)

Function: report-tests-by-suite FORMAT TESTS STREAM KIND
Package

lift

Source

reports.lisp (file)

Function: rewrite-unreadables STRING
Package

lift

Source

introspection.lisp (file)

Function: run-setup-p TESTSUITE
Package

lift

Source

lift.lisp (file)

Function: run-teardown-p TESTSUITE WHEN
Package

lift

Source

lift.lisp (file)

Function: run-test-internal SUITE TEST-CASE-NAME RESULT
Package

lift

Source

test-runner.lisp (file)

Function: run-tests-from-file PATH
Package

lift

Source

config.lisp (file)

Function: run-tests-internal SUITE-NAME RESULT
Package

lift

Source

test-runner.lisp (file)

Function: safe-find-symbol SYMBOL PACKAGE
Package

lift

Source

utilities.lisp (file)

Function: safe-parse-integer STRING
Package

lift

Source

utilities.lisp (file)

Function: set-definition NAME VALUE
Package

lift

Source

lift.lisp (file)

Function: show-call-counts OUTPUT
Package

lift

Source

port.lisp (file)

Function: show-call-graph OUTPUT
Package

lift

Source

port.lisp (file)

Function: show-flat-profile OUTPUT
Package

lift

Source

port.lisp (file)

Function: signal-lift-error CONTEXT MESSAGE &rest ARGUMENTS
Package

lift

Source

lift.lisp (file)

Function: skip-test-case-p RESULT SUITE-NAME TEST-CASE-NAME
Package

lift

Source

lift.lisp (file)

Function: skip-test-suite-children-p RESULT SUITE-NAME
Package

lift

Source

lift.lisp (file)

Function: split STRING &optional WS
Package

lift

Source

utilities.lisp (file)

Function: standard-log-data ()
Package

lift

Source

measuring.lisp (file)

Function: string-trim-if PREDICATE STRING &key START END
Package

lift

Source

utilities.lisp (file)

Function: strip-whitespace STRING &key START END
Package

lift

Source

utilities.lisp (file)

Function: subclasses CLASS &key PROPER?

Returns all of the subclasses of the class including the class itself.

Package

lift

Source

utilities.lisp (file)

Function: suites-in-cases CASES
Package

lift

Source

introspection.lisp (file)

Function: suites-in-portion CASES PATH
Package

lift

Source

introspection.lisp (file)

Function: suites-in-portions CASES PATHS
Package

lift

Source

introspection.lisp (file)

Function: superclasses THING &key PROPER?

Returns a list of superclasses of thing. Thing can be a class, object or symbol naming a class. The list of classes returned is ’proper’; it does not include the class itself.

Package

lift

Source

utilities.lisp (file)

Function: symbol-apply SYMBOL PACKAGE &rest ARGS
Package

lift

Source

utilities.lisp (file)

Function: test-case-expects-error-p SUITE-NAME TEST-CASE-NAME
Package

lift

Source

lift.lisp (file)

Function: test-case-expects-failure-p SUITE-NAME TEST-CASE-NAME
Package

lift

Source

lift.lisp (file)

Function: test-case-expects-problem-p SUITE-NAME TEST-CASE-NAME
Package

lift

Source

lift.lisp (file)

Function: test-case-option SUITE-NAME CASE-NAME OPTION-NAME
Function: (setf test-case-option) VALUE SUITE-NAME CASE-NAME OPTION-NAME
Package

lift

Source

lift.lisp (file)

Function: test-case-p SUITE-CLASS NAME
Package

lift

Source

introspection.lisp (file)

Function: test-case-skipped-p RESULT SUITE-NAME CASE-NAME
Package

lift

Source

reports.lisp (file)

Function: test-case-tested-p SUITE NAME &key RESULT
Package

lift

Source

introspection.lisp (file)

Function: test-environment-value NAME
Function: (setf test-environment-value) VALUE NAME
Package

lift

Source

lift.lisp (file)

Function: test-function-name TEST-FUNCTION
Package

lift

Source

utilities.lisp (file)

Function: test-report-code SUITE-NAME TEST-CASE-NAME
Package

lift

Source

lift.lisp (file)

Function: test-result-property RESULT PROPERTY &optional DEFAULT
Function: (setf test-result-property) VALUE RESULT PROPERTY
Package

lift

Source

lift.lisp (file)

Function: test-results &key RESULT FAILURES? ERRORS? SUCCESSES? EXPECTED-FAILURES? EXPECTED-ERRORS? SKIPPED-TESTSUITES? SKIPPED-TEST-CASES?
Package

lift

Source

introspection.lisp (file)

Function: test-successes &key RESULT
Package

lift

Source

introspection.lisp (file)

Function: testing-interactively-p ()
Package

lift

Source

lift.lisp (file)

Function: testsuite-failures RESULT
Package

lift

Source

class-defs.lisp (file)

Function: testsuite-run TESTSUITE RESULT

Run the cases in ‘testsuite‘

Package

lift

Source

test-runner.lisp (file)

Function: testsuite-test-count TESTSUITE
Package

lift

Source

introspection.lisp (file)

Function: thing-names-generic-function-p THING
Package

lift

Source

reports.lisp (file)

Function: total-bytes-allocated ()
Package

lift

Source

port.lisp (file)

Function: translate-user DEST
Package

lift

Source

config.lisp (file)

Function: unique-directory PATHNAME
Package

lift

Source

utilities.lisp (file)

Function: unique-filename PATHNAME &optional MAX-COUNT
Package

lift

Source

utilities.lisp (file)

Function: version-numbers VERSION &optional PADDED

Returns a list of the version numbers in a #. delimited string of integers. E.g. (version-numbers "2.2.1") ==> (2 2 1). If the optional ‘padded‘ parameter is included, the length of the returned list will be right-padded with zeros so that it is of length padded (the list won’t be truncated if padded is smaller than the number of version digits in the string.

Package

lift

Source

utilities.lisp (file)

Function: version< V-1 V-2
Package

lift

Source

utilities.lisp (file)

Function: version<= V-1 V-2
Package

lift

Source

utilities.lisp (file)

Function: version= V-1 V-2
Package

lift

Source

utilities.lisp (file)

Function: version> V-1 V-2
Package

lift

Source

utilities.lisp (file)

Function: version>= V-1 V-2
Package

lift

Source

utilities.lisp (file)

Function: whitespacep CHAR

Returns true if ‘char‘ is an element of [+whitespace-characters+][] and nil otherwise.

Package

lift

Source

utilities.lisp (file)

Function: with-profile-report-fn NAME STYLE FN BODY &key LOG-NAME COUNT-CALLS-P TIMEOUT DESTINATION
Package

lift

Source

port.lisp (file)

Function: wrap-encode-pre STRING &key WIDTH
Package

lift

Source

reports.lisp (file)

Function: writable-directory-p DIRECTORY
Package

lift

Source

port.lisp (file)

Function: write-log-footer STREAM RESULT
Package

lift

Source

reports.lisp (file)

Function: write-log-header STREAM RESULT ARGS
Package

lift

Source

reports.lisp (file)

Function: write-profile-report PATHNAME NAME STYLE BODY SECONDS CONSES ERROR COUNT-CALLS-P
Package

lift

Source

reports.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Generic functions

Generic Function: accumulate-problem PROBLEM RESULT
Package

lift

Source

generics.lisp (file)

Methods
Method: accumulate-problem (PROBLEM testsuite-skipped) RESULT
Source

lift.lisp (file)

Method: accumulate-problem (PROBLEM testcase-skipped) RESULT
Source

lift.lisp (file)

Method: accumulate-problem (PROBLEM test-expected-error) RESULT
Source

lift.lisp (file)

Method: accumulate-problem (PROBLEM testsuite-serious-condition) RESULT
Source

lift.lisp (file)

Method: accumulate-problem (PROBLEM test-serious-condition) RESULT
Source

lift.lisp (file)

Method: accumulate-problem (PROBLEM testsuite-error) RESULT
Source

lift.lisp (file)

Method: accumulate-problem (PROBLEM test-error-mixin) RESULT
Source

lift.lisp (file)

Method: accumulate-problem (PROBLEM test-expected-failure) RESULT
Source

lift.lisp (file)

Method: accumulate-problem (PROBLEM testsuite-failure) RESULT
Source

lift.lisp (file)

Method: accumulate-problem (PROBLEM test-failure-mixin) RESULT
Source

lift.lisp (file)

Generic Function: backtrace OBJECT
Package

lift

Methods
Method: backtrace (TEST-ERROR-MIXIN test-error-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: block-handler NAME VALUE
Package

lift

Source

generics.lisp (file)

Methods
Method: block-handler (NAME (eql random-instance)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql timeout)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql default-initargs)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql categories)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql dynamic-variables)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql log-file)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql expected-failure)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql expected-error)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql equality-test)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql run-setup)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql export-slots)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql export-p)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql documentation)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql function)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql teardown)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler (NAME (eql setup)) VALUE
Source

/home/quickref/common-lisp/quickref/bin/declt

Method: block-handler NAME VALUE
Generic Function: brief-problem-output GLITCH
Package

lift

Source

generics.lisp (file)

Methods
Method: brief-problem-output (GLITCH test-configuration-problem-mixin)
Source

reports.lisp (file)

Method: brief-problem-output (GLITCH testsuite-problem-mixin)
Source

reports.lisp (file)

Generic Function: current-method OBJECT
Generic Function: (setf current-method) NEW-VALUE OBJECT
Package

lift

Methods
Method: current-method (TEST-MIXIN test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf current-method) NEW-VALUE (TEST-MIXIN test-mixin)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: current-step OBJECT
Generic Function: (setf current-step) NEW-VALUE OBJECT
Package

lift

Methods
Method: current-step (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf current-step) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: do-testing SUITE RESULT FN
Package

lift

Source

generics.lisp (file)

Methods
Method: do-testing (SUITE test-mixin) RESULT FN
Source

test-runner.lisp (file)

Generic Function: done-dynamics? OBJECT
Package

lift

Methods
Method: done-dynamics? (TEST-MIXIN test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: done-setup? OBJECT
Package

lift

Methods
Method: done-setup? (TEST-MIXIN test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: end-report-output RESULT STREAM FORMAT
Package

lift

Source

reports.lisp (file)

Methods
Method: end-report-output RESULT STREAM (FORMAT (eql html))
Method: end-report-output RESULT STREAM FORMAT
Generic Function: end-time OBJECT
Generic Function: (setf end-time) NEW-VALUE OBJECT
Package

lift

Methods
Method: end-time (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf end-time) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: end-time-universal OBJECT
Generic Function: (setf end-time-universal) NEW-VALUE OBJECT
Package

lift

Methods
Method: end-time-universal (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf end-time-universal) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: equality-test TESTSUITE
Package

lift

Source

generics.lisp (file)

Methods
Method: equality-test (SUITE test-mixin)
Source

lift.lisp (file)

Generic Function: extra-info KIND SUITE NAME
Package

lift

Methods
Method: extra-info (KIND (eql expected-failures)) SUITE NAME
Source

reports.lisp (file)

Method: extra-info (KIND (eql expected-errors)) SUITE NAME
Source

reports.lisp (file)

Method: extra-info KIND SUITE NAME
Source

reports.lisp (file)

Generic Function: failure-documentation OBJECT
Generic Function: (setf failure-documentation) NEW-VALUE OBJECT
Package

lift

Methods
Method: failure-documentation (EXPECTED-PROBLEM-MIXIN expected-problem-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf failure-documentation) NEW-VALUE (EXPECTED-PROBLEM-MIXIN expected-problem-mixin)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: find-test-cases NAME &key ERRORP
Package

lift

Source

introspection.lisp (file)

Methods
Method: find-test-cases (NAME string) &key ERRORP
Method: find-test-cases (NAME symbol) &key ERRORP
Generic Function: finish-report-tests-by-suite FORMAT STREAM CURRENT-SUITE
Package

lift

Source

generics.lisp (file)

Methods
Method: finish-report-tests-by-suite (FORMAT (eql brief)) STREAM CURRENT-SUITE
Source

reports.lisp (file)

Method: finish-report-tests-by-suite (FORMAT (eql html)) STREAM CURRENT-SUITE
Source

reports.lisp (file)

Method: finish-report-tests-by-suite FORMAT STREAM CURRENT-SUITE
Source

reports.lisp (file)

Generic Function: flet-test-function TESTSUITE FUNCTION-NAME &rest ARGS
Package

lift

Source

generics.lisp (file)

Generic Function: generate-detailed-reports RESULT STREAM FORMAT
Package

lift

Source

reports.lisp (file)

Methods
Method: generate-detailed-reports RESULT STREAM (FORMAT (eql html))
Method: generate-detailed-reports RESULT STREAM FORMAT
Generic Function: generate-report-summary-pathname ()
Package

lift

Source

config.lisp (file)

Methods
Method: generate-report-summary-pathname ()
Generic Function: get-class THING &key ERROR?

Returns the class of thing or nil if the class cannot be found. Thing can be a class, an object representing a class or a symbol naming a class. Get-class is like find-class only not as particular.

Package

lift

Source

utilities.lisp (file)

Methods
Method: get-class (THING symbol) &key ERROR?
Method: get-class (THING standard-object) &key ERROR?
Method: get-class THING &key ERROR?
Method: get-class (THING class) &key ERROR?
Generic Function: html-header STREAM TITLE STYLE-SHEET
Package

lift

Source

reports.lisp (file)

Methods
Method: html-header STREAM TITLE STYLE-SHEET
Generic Function: log-file OBJECT
Package

lift

Methods
Method: log-file (TEST-MIXIN test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: maximum-time OBJECT
Generic Function: (setf maximum-time) NEW-VALUE OBJECT
Package

lift

Methods
Method: maximum-time (PROCESS-TEST-MIXIN process-test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf maximum-time) NEW-VALUE (PROCESS-TEST-MIXIN process-test-mixin)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: name OBJECT
Generic Function: (setf name) NEW-VALUE OBJECT
Package

lift

Methods
Method: name (TEST-MIXIN test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf name) NEW-VALUE (TEST-MIXIN test-mixin)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: print-test-problem PREFIX REPORT STREAM SHOW-CODE-P
Package

lift

Source

generics.lisp (file)

Methods
Method: print-test-problem PREFIX (REPORT test-configuration-problem-mixin) STREAM SHOW-CODE-P
Source

lift.lisp (file)

Method: print-test-problem PREFIX (REPORT testsuite-problem-mixin) STREAM SHOW-CODE-P
Source

lift.lisp (file)

Generic Function: problem-summarization PROBLEM
Package

lift

Source

generics.lisp (file)

Methods
Method: problem-summarization (PROBLEM test-configuration-problem-mixin)
Source

reports.lisp (file)

Method: problem-summarization (PROBLEM testsuite-problem-mixin)
Source

reports.lisp (file)

Generic Function: profile OBJECT
Generic Function: (setf profile) NEW-VALUE OBJECT
Package

lift

Methods
Method: profile (TEST-MIXIN test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf profile) NEW-VALUE (TEST-MIXIN test-mixin)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: real-end-time OBJECT
Generic Function: (setf real-end-time) NEW-VALUE OBJECT
Package

lift

Methods
Method: real-end-time (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf real-end-time) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: real-end-time-universal OBJECT
Generic Function: (setf real-end-time-universal) NEW-VALUE OBJECT
Package

lift

Methods
Method: real-end-time-universal (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf real-end-time-universal) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: real-start-time OBJECT
Package

lift

Methods
Method: real-start-time (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: real-start-time-universal OBJECT
Package

lift

Methods
Method: real-start-time-universal (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: report-pathname METHOD &optional RESULT
Package

lift

Source

config.lisp (file)

Methods
Method: report-pathname METHOD &optional RESULT
Method: report-pathname (METHOD (eql html)) &optional RESULT around
Generic Function: report-test-case-by-suite FORMAT STREAM SUITE TEST-NAME DATUM KIND
Package

lift

Source

generics.lisp (file)

Methods
Method: report-test-case-by-suite (FORMAT (eql brief)) STREAM (SUITE (eql configuration)) TEST-NAME DATUM KIND
Source

reports.lisp (file)

Method: report-test-case-by-suite (FORMAT (eql brief)) STREAM SUITE TEST-NAME DATUM KIND
Source

reports.lisp (file)

Method: report-test-case-by-suite (FORMAT (eql html)) STREAM (SUITE (eql configuration)) TEST-NAME DATUM KIND
Source

reports.lisp (file)

Method: report-test-case-by-suite (FORMAT (eql html)) STREAM SUITE TEST-NAME DATUM KIND
Source

reports.lisp (file)

Method: report-test-case-by-suite FORMAT STREAM SUITE TEST-NAME DATUM KIND
Source

reports.lisp (file)

Generic Function: report-test-suite-by-suite FORMAT STREAM REMAINING CURRENT-SUITE SUITE KIND
Package

lift

Source

generics.lisp (file)

Methods
Method: report-test-suite-by-suite (FORMAT (eql brief)) STREAM REMAINING CURRENT-SUITE SUITE KIND
Source

reports.lisp (file)

Method: report-test-suite-by-suite (FORMAT (eql html)) STREAM REMAINING CURRENT-SUITE SUITE KIND
Source

reports.lisp (file)

Method: report-test-suite-by-suite (FORMAT (eql html)) STREAM REMAINING CURRENT-SUITE (SUITE (eql configuration)) KIND
Source

reports.lisp (file)

Method: report-test-suite-by-suite (FORMAT (eql html)) STREAM REMAINING CURRENT-SUITE SUITE KIND around
Source

reports.lisp (file)

Method: report-test-suite-by-suite FORMAT STREAM REMAINING CURRENT-SUITE SUITE KIND
Source

reports.lisp (file)

Generic Function: result-summary-tag PROBLEM STYLE
Package

lift

Source

generics.lisp (file)

Methods
Method: result-summary-tag (PROBLEM test-expected-error) STYLE
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-expected-failure) STYLE
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-serious-condition) STYLE
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM testsuite-serious-condition) STYLE
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-error-mixin) STYLE
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-failure-mixin) STYLE
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-problem-mixin) STYLE
Source

reports.lisp (file)

Method: result-summary-tag PROBLEM STYLE
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-expected-error) (STYLE (eql brief))
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-expected-failure) (STYLE (eql brief))
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-serious-condition) (STYLE (eql brief))
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM testsuite-serious-condition) (STYLE (eql brief))
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-error-mixin) (STYLE (eql brief))
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-failure-mixin) (STYLE (eql brief))
Source

reports.lisp (file)

Method: result-summary-tag (PROBLEM test-problem-mixin) (STYLE (eql brief))
Source

reports.lisp (file)

Method: result-summary-tag PROBLEM (STYLE (eql brief))
Source

reports.lisp (file)

Generic Function: results-for OBJECT
Generic Function: (setf results-for) NEW-VALUE OBJECT
Package

lift

Methods
Method: results-for (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf results-for) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: run-setup OBJECT
Package

lift

Methods
Method: run-setup (TEST-MIXIN test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: save-configuration-file RESULT DESTINATION
Package

lift

Source

generics.lisp (file)

Methods
Method: save-configuration-file PATHNAME STREAM
Source

reports.lisp (file)

Method: save-configuration-file (RESULT test-result) DESTINATION
Source

reports.lisp (file)

Generic Function: set-test-case-options SUITE-NAME TEST-CASE-NAME
Package

lift

Source

generics.lisp (file)

Methods
Method: set-test-case-options SUITE-NAME TEST-CASE-NAME
Generic Function: skip-test-case RESULT SUITE-NAME TEST-CASE-NAME
Package

lift

Source

generics.lisp (file)

Methods
Method: skip-test-case RESULT SUITE-NAME TEST-CASE-NAME
Source

lift.lisp (file)

Generic Function: skip-testsuite RESULT SUITE-NAME
Package

lift

Source

generics.lisp (file)

Methods
Method: skip-testsuite RESULT SUITE-NAME
Source

lift.lisp (file)

Generic Function: start-report-output RESULT STREAM FORMAT
Package

lift

Source

reports.lisp (file)

Methods
Method: start-report-output RESULT STREAM (FORMAT (eql brief))
Method: start-report-output RESULT STREAM (FORMAT (eql html))
Method: start-report-output RESULT STREAM FORMAT
Generic Function: start-time OBJECT
Generic Function: (setf start-time) NEW-VALUE OBJECT
Package

lift

Methods
Method: start-time (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf start-time) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: start-time-universal OBJECT
Generic Function: (setf start-time-universal) NEW-VALUE OBJECT
Package

lift

Methods
Method: start-time-universal (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf start-time-universal) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: suites-run OBJECT
Generic Function: (setf suites-run) NEW-VALUE OBJECT
Package

lift

Methods
Method: suites-run (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf suites-run) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: summarize-test-environment RESULT STREAM FORMAT
Package

lift

Source

reports.lisp (file)

Methods
Method: summarize-test-environment RESULT STREAM (FORMAT (eql brief))
Method: summarize-test-environment RESULT STREAM (FORMAT (eql html))
Method: summarize-test-environment RESULT STREAM FORMAT
Generic Function: summarize-test-problems RESULT STREAM FORMAT
Package

lift

Source

reports.lisp (file)

Methods
Method: summarize-test-problems RESULT STREAM (FORMAT (eql brief))
Method: summarize-test-problems RESULT STREAM (FORMAT (eql html))
Method: summarize-test-problems RESULT STREAM FORMAT
Generic Function: summarize-test-problems-of-type FORMAT PROBLEMS STREAM ID HEADING NAME KIND
Package

lift

Source

reports.lisp (file)

Methods
Method: summarize-test-problems-of-type FORMAT PROBLEMS STREAM ID HEADING NAME KIND
Generic Function: summarize-test-result RESULT STREAM FORMAT
Package

lift

Source

reports.lisp (file)

Methods
Method: summarize-test-result RESULT STREAM (FORMAT (eql brief))
Method: summarize-test-result RESULT STREAM (FORMAT (eql save))
Method: summarize-test-result RESULT STREAM (FORMAT (eql describe))
Method: summarize-test-result RESULT STREAM (FORMAT (eql html))
Method: summarize-test-result RESULT STREAM FORMAT
Generic Function: summarize-tests-run RESULT STREAM FORMAT
Package

lift

Source

reports.lisp (file)

Methods
Method: summarize-tests-run RESULT STREAM (FORMAT (eql detail))
Method: summarize-tests-run RESULT STREAM (FORMAT (eql html))
Method: summarize-tests-run RESULT STREAM FORMAT
Generic Function: test-case-count TESTSUITE
Package

lift

Source

generics.lisp (file)

Methods
Method: test-case-count TESTSUITE
Source

introspection.lisp (file)

Generic Function: test-case-documentation SYMBOL
Generic Function: (setf test-case-documentation) VALUE SYMBOL
Package

lift

Source

lift.lisp (file)

Methods
Method: test-case-documentation (CLASS-NAME symbol)
Method: (setf test-case-documentation) VALUE (CLASS-NAME symbol)
Generic Function: test-case-source-file SYMBOL
Generic Function: (setf test-case-source-file) VALUE SYMBOL
Package

lift

Source

lift.lisp (file)

Methods
Method: test-case-source-file (CLASS-NAME symbol)
Method: (setf test-case-source-file) VALUE (CLASS-NAME symbol)
Generic Function: test-case-source-position SYMBOL
Generic Function: (setf test-case-source-position) VALUE SYMBOL
Package

lift

Source

lift.lisp (file)

Methods
Method: test-case-source-position (CLASS-NAME symbol)
Method: (setf test-case-source-position) VALUE (CLASS-NAME symbol)
Generic Function: test-case-teardown TESTSUITE RESULT

Tear-down a test-case. By default it does nothing.

Package

lift

Source

generics.lisp (file)

Method Combination

progn (short method combination)

Options: :most-specific-first

Methods
Method: test-case-teardown (SUITE log-results-mixin) RESULT around
Source

lift.lisp (file)

Method: test-case-teardown (TEST test-mixin) (RESULT test-result) around
Source

lift.lisp (file)

Method: test-case-teardown (TEST test-mixin) (RESULT test-result) progn
Source

lift.lisp (file)

Generic Function: test-code->name-table SYMBOL
Generic Function: (setf test-code->name-table) VALUE SYMBOL
Package

lift

Source

lift.lisp (file)

Methods
Method: test-code->name-table (CLASS-NAME symbol)
Method: (setf test-code->name-table) VALUE (CLASS-NAME symbol)
Generic Function: test-data OBJECT
Generic Function: (setf test-data) NEW-VALUE OBJECT
Package

lift

Methods
Method: test-data (TEST-MIXIN test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf test-data) NEW-VALUE (TEST-MIXIN test-mixin)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: test-interactive? OBJECT
Generic Function: (setf test-interactive?) NEW-VALUE OBJECT
Package

lift

Methods
Method: test-interactive? (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf test-interactive?) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: test-method OBJECT
Package

lift

Methods
Method: test-method (TESTSUITE-PROBLEM-MIXIN testsuite-problem-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: test-mode OBJECT
Generic Function: (setf test-mode) NEW-VALUE OBJECT
Package

lift

Methods
Method: test-mode (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf test-mode) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: test-name->code-table SYMBOL
Generic Function: (setf test-name->code-table) VALUE SYMBOL
Package

lift

Source

lift.lisp (file)

Methods
Method: test-name->code-table (CLASS-NAME symbol)
Method: (setf test-name->code-table) VALUE (CLASS-NAME symbol)
Generic Function: test-name->methods SYMBOL
Generic Function: (setf test-name->methods) VALUE SYMBOL
Package

lift

Source

lift.lisp (file)

Methods
Method: test-name->methods (CLASS-NAME symbol)
Method: (setf test-name->methods) VALUE (CLASS-NAME symbol)
Generic Function: test-problem-kind OBJECT
Package

lift

Methods
Method: test-problem-kind (PROBLEM test-configuration-error)
Source

class-defs.lisp (file)

Method: test-problem-kind (PROBLEM test-configuration-problem-mixin)
Source

class-defs.lisp (file)

Method: test-problem-kind (PROBLEM test-expected-failure)
Source

class-defs.lisp (file)

Method: test-problem-kind (TEST-PROBLEM-MIXIN test-problem-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: test-problem-message OBJECT
Package

lift

Methods
Method: test-problem-message (TEST-CONFIGURATION-PROBLEM-MIXIN test-configuration-problem-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: test-result-properties OBJECT
Generic Function: (setf test-result-properties) NEW-VALUE OBJECT
Package

lift

Methods
Method: test-result-properties (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf test-result-properties) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: test-result-report RESULT OUTPUT FORMAT &key PACKAGE &allow-other-keys
Package

lift

Source

reports.lisp (file)

Methods
Method: test-result-report RESULT OUTPUT FORMAT &rest ARGS &key PACKAGE &allow-other-keys
Generic Function: test-slots SYMBOL
Generic Function: (setf test-slots) VALUE SYMBOL
Package

lift

Source

lift.lisp (file)

Methods
Method: test-slots (CLASS-NAME symbol)
Method: (setf test-slots) VALUE (CLASS-NAME symbol)
Generic Function: test-source-file OBJECT
Generic Function: (setf test-source-file) NEW-VALUE OBJECT
Package

lift

Methods
Method: test-source-file (TEST-MIXIN test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf test-source-file) NEW-VALUE (TEST-MIXIN test-mixin)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: test-step OBJECT
Package

lift

Methods
Method: test-step (TESTSUITE-PROBLEM-MIXIN testsuite-problem-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: tests-run OBJECT
Generic Function: (setf tests-run) NEW-VALUE OBJECT
Package

lift

Methods
Method: tests-run (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf tests-run) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: testsuite OBJECT
Package

lift

Methods
Method: testsuite (TESTSUITE-PROBLEM-MIXIN testsuite-problem-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: testsuite-dynamic-variables SYMBOL
Generic Function: (setf testsuite-dynamic-variables) VALUE SYMBOL
Package

lift

Source

lift.lisp (file)

Methods
Method: testsuite-dynamic-variables (CLASS-NAME symbol)
Method: (setf testsuite-dynamic-variables) VALUE (CLASS-NAME symbol)
Generic Function: testsuite-expects-error TESTSUITE

Returns whether or not the testsuite as a whole expects an error.

Package

lift

Source

generics.lisp (file)

Methods
Method: testsuite-expects-error (TESTSUITE test-mixin)
Source

lift.lisp (file)

Generic Function: testsuite-expects-failure TESTSUITE

Returns whether or not the testsuite as a whole expects to fail.

Package

lift

Source

generics.lisp (file)

Methods
Method: testsuite-expects-failure (TESTSUITE test-mixin)
Source

lift.lisp (file)

Generic Function: testsuite-function-specs SYMBOL
Generic Function: (setf testsuite-function-specs) VALUE SYMBOL
Package

lift

Source

lift.lisp (file)

Methods
Method: testsuite-function-specs (CLASS-NAME symbol)
Method: (setf testsuite-function-specs) VALUE (CLASS-NAME symbol)
Generic Function: testsuite-initargs OBJECT
Generic Function: (setf testsuite-initargs) NEW-VALUE OBJECT
Package

lift

Methods
Method: testsuite-initargs (TESTSUITE-PROBLEM-MIXIN testsuite-problem-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Method: testsuite-initargs (TEST-RESULT test-result)

automatically generated reader method

Source

class-defs.lisp (file)

Method: (setf testsuite-initargs) NEW-VALUE (TEST-RESULT test-result)

automatically generated writer method

Source

class-defs.lisp (file)

Generic Function: testsuite-methods TESTSUITE

Returns a list of the test methods defined for test. I.e.,
the methods that should be run to do the tests for this testsuite.

Package

lift

Source

generics.lisp (file)

Methods
Method: testsuite-methods (TEST standard-class)
Source

introspection.lisp (file)

Method: testsuite-methods (TEST test-mixin)
Source

introspection.lisp (file)

Method: testsuite-methods (CLASSNAME symbol)
Source

introspection.lisp (file)

Generic Function: testsuite-name OBJECT
Package

lift

Methods
Method: testsuite-name (TEST-MIXIN test-mixin)

automatically generated reader method

Source

class-defs.lisp (file)

Generic Function: testsuite-name->method CLASS NAME
Package

lift

Source

generics.lisp (file)

Generic Function: testsuite-setup TESTSUITE RESULT

Setup at the testsuite-level

Package

lift

Source

generics.lisp (file)

Methods
Method: testsuite-setup (TESTSUITE test-mixin) (RESULT test-result) before
Source

lift.lisp (file)

Method: testsuite-setup (TESTSUITE test-mixin) (RESULT test-result)
Source

lift.lisp (file)

Generic Function: testsuite-teardown TESTSUITE RESULT

Cleanup at the testsuite level.

Package

lift

Source

generics.lisp (file)

Methods
Method: testsuite-teardown (TESTSUITE test-mixin) (RESULT test-result) after
Source

lift.lisp (file)

Method: testsuite-teardown (TESTSUITE test-mixin) (RESULT test-result)
Source

lift.lisp (file)

Generic Function: validate-report-property NAME ARGS
Package

lift

Source

config.lisp (file)

Methods
Method: validate-report-property (NAME (eql name)) ARGS
Method: validate-report-property NAME ARGS
Generic Function: write-log-test FORMAT SUITE-NAME TEST-CASE-NAME DATA &key STREAM
Package

lift

Source

reports.lisp (file)

Methods
Method: write-log-test FORMAT SUITE-NAME TEST-CASE-NAME DATA &key STREAM
Method: write-log-test FORMAT SUITE-NAME TEST-CASE-NAME DATA &key STREAM around
Generic Function: write-log-test-end FORMAT SUITE-NAME TEST-CASE-NAME DATA &key STREAM
Package

lift

Source

generics.lisp (file)

Methods
Method: write-log-test-end (FORMAT (eql save)) SUITE-NAME TEST-CASE-NAME DATA &key STREAM
Source

reports.lisp (file)

Generic Function: write-log-test-start FORMAT SUITE-NAME TEST-CASE-NAME &key STREAM
Package

lift

Source

generics.lisp (file)

Methods
Method: write-log-test-start (FORMAT (eql save)) SUITE-NAME TEST-CASE-NAME &key STREAM
Source

reports.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Conditions

Condition: lift-compile-error ()
Package

lift

Source

lift.lisp (file)

Direct superclasses

error (condition)

Direct subclasses
Direct slots
Slot: msg
Initargs

:msg

Condition: source/target-file-error ()

General condition for file errors that have a source and target.

Package

lift

Source

copy-file.lisp (file)

Direct superclasses

file-error (condition)

Direct subclasses
Direct slots
Slot: source-pathname
Initargs

:source-pathname

Slot: target-pathname
Initargs

:target-pathname

Condition: source/target-source-does-not-exist-error ()

This error is signaled when the source file does not exist.

Package

lift

Source

copy-file.lisp (file)

Direct superclasses

source/target-file-error (condition)

Condition: source/target-target-already-exists-error ()

This error is signaled when the target pathname already exists.

Package

lift

Source

copy-file.lisp (file)

Direct superclasses

source/target-file-error (condition)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.6 Classes

Class: expected-problem-mixin ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: documentation
Initargs

:documentation

Readers

failure-documentation (generic function)

Writers

(setf failure-documentation) (generic function)

Class: process-test-mixin ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

test-mixin (class)

Direct methods
Direct slots
Slot: maximum-time
Initargs

:maximum-time

Initform

lift:*test-maximum-time*

Readers

maximum-time (generic function)

Writers

(setf maximum-time) (generic function)

Class: test-configuration-error ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses
Direct methods

test-problem-kind (method)

Class: test-configuration-failure ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses
Class: test-configuration-problem-mixin ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

test-problem-mixin (class)

Direct subclasses
Direct methods
Direct slots
Slot: message
Initargs

:message

Readers

test-problem-message (generic function)

Class: test-error ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses
Direct subclasses

test-serious-condition (class)

Direct Default Initargs
InitargValue
:test-problem-kind"error"
Class: test-error-mixin ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: backtrace
Initargs

:backtrace

Readers

backtrace (generic function)

Class: test-expected-error ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses
Direct methods
Direct Default Initargs
InitargValue
:test-problem-kind"expected error"
Class: test-expected-failure ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses
Direct methods
Class: test-failure ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses
Direct subclasses

test-timeout-failure (class)

Direct Default Initargs
InitargValue
:test-problem-kind"failure"
Class: test-failure-mixin ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Class: test-problem-mixin ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: test-problem-kind
Allocation

:class

Initargs

:test-problem-kind

Readers

test-problem-kind (generic function)

Class: test-serious-condition ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

test-error (class)

Direct methods
Direct Default Initargs
InitargValue
:test-problem-kind"serious condition"
Class: test-timeout-failure ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

test-failure (class)

Direct slots
Slot: test-problem-kind
Allocation

:class

Initform

"timeout"

Class: testcase-skipped ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

testsuite-problem-mixin (class)

Direct methods

accumulate-problem (method)

Direct Default Initargs
InitargValue
:test-problem-kind"test case skipped"
Class: testsuite-error ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses
Direct subclasses

testsuite-serious-condition (class)

Direct methods

accumulate-problem (method)

Direct Default Initargs
InitargValue
:test-problem-kind"testsuite error"
Class: testsuite-failure ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses
Direct methods

accumulate-problem (method)

Direct Default Initargs
InitargValue
:test-problem-kind"testsuite failure"
Class: testsuite-problem-mixin ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

test-problem-mixin (class)

Direct subclasses
Direct methods
Direct slots
Slot: testsuite
Initargs

:testsuite

Readers

testsuite (generic function)

Slot: test-method
Initargs

:test-method

Readers

test-method (generic function)

Slot: test-condition
Initargs

:test-condition

Readers

test-condition (generic function)

Slot: test-step
Initargs

:test-step

Readers

test-step (generic function)

Slot: testsuite-initargs
Initargs

:testsuite-initargs

Readers

testsuite-initargs (generic function)

Class: testsuite-serious-condition ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

testsuite-error (class)

Direct methods
Direct Default Initargs
InitargValue
:test-problem-kind"testsuite serious condition"
Class: testsuite-skipped ()
Package

lift

Source

class-defs.lisp (file)

Direct superclasses

testsuite-problem-mixin (class)

Direct methods

accumulate-problem (method)

Direct Default Initargs
InitargValue
:test-problem-kind"testsuite skipped"

Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   M   O  
Index Entry  Section

F
File, Lisp, lift.asd: The lift<dot>asd file
File, Lisp, lift/api/generics.lisp: The lift/api/generics<dot>lisp file
File, Lisp, lift/api/port.lisp: The lift/api/port<dot>lisp file
File, Lisp, lift/dev/config.lisp: The lift/dev/config<dot>lisp file
File, Lisp, lift/dev/copy-file.lisp: The lift/dev/copy-file<dot>lisp file
File, Lisp, lift/dev/introspection.lisp: The lift/dev/introspection<dot>lisp file
File, Lisp, lift/dev/lift.lisp: The lift/dev/lift<dot>lisp file
File, Lisp, lift/dev/measuring.lisp: The lift/dev/measuring<dot>lisp file
File, Lisp, lift/dev/random-testing.lisp: The lift/dev/random-testing<dot>lisp file
File, Lisp, lift/dev/reports.lisp: The lift/dev/reports<dot>lisp file
File, Lisp, lift/dev/test-runner.lisp: The lift/dev/test-runner<dot>lisp file
File, Lisp, lift/setup/class-defs.lisp: The lift/setup/class-defs<dot>lisp file
File, Lisp, lift/setup/definitions.lisp: The lift/setup/definitions<dot>lisp file
File, Lisp, lift/setup/macros.lisp: The lift/setup/macros<dot>lisp file
File, Lisp, lift/setup/packages.lisp: The lift/setup/packages<dot>lisp file
File, Lisp, lift/setup/utilities.lisp: The lift/setup/utilities<dot>lisp file
File, Lisp, lift/timeout/package.lisp: The lift/timeout/package<dot>lisp file
File, Lisp, lift/timeout/with-timeout.lisp: The lift/timeout/with-timeout<dot>lisp file
File, other, lift/dev/notes.text: The lift/dev/notes<dot>text file

L
lift.asd: The lift<dot>asd file
lift/api: The lift/api module
lift/api/generics.lisp: The lift/api/generics<dot>lisp file
lift/api/port.lisp: The lift/api/port<dot>lisp file
lift/dev: The lift/dev module
lift/dev/config.lisp: The lift/dev/config<dot>lisp file
lift/dev/copy-file.lisp: The lift/dev/copy-file<dot>lisp file
lift/dev/introspection.lisp: The lift/dev/introspection<dot>lisp file
lift/dev/lift.lisp: The lift/dev/lift<dot>lisp file
lift/dev/measuring.lisp: The lift/dev/measuring<dot>lisp file
lift/dev/notes.text: The lift/dev/notes<dot>text file
lift/dev/random-testing.lisp: The lift/dev/random-testing<dot>lisp file
lift/dev/reports.lisp: The lift/dev/reports<dot>lisp file
lift/dev/test-runner.lisp: The lift/dev/test-runner<dot>lisp file
lift/setup: The lift/setup module
lift/setup/class-defs.lisp: The lift/setup/class-defs<dot>lisp file
lift/setup/definitions.lisp: The lift/setup/definitions<dot>lisp file
lift/setup/macros.lisp: The lift/setup/macros<dot>lisp file
lift/setup/packages.lisp: The lift/setup/packages<dot>lisp file
lift/setup/utilities.lisp: The lift/setup/utilities<dot>lisp file
lift/timeout: The lift/timeout module
lift/timeout/package.lisp: The lift/timeout/package<dot>lisp file
lift/timeout/with-timeout.lisp: The lift/timeout/with-timeout<dot>lisp file
Lisp File, lift.asd: The lift<dot>asd file
Lisp File, lift/api/generics.lisp: The lift/api/generics<dot>lisp file
Lisp File, lift/api/port.lisp: The lift/api/port<dot>lisp file
Lisp File, lift/dev/config.lisp: The lift/dev/config<dot>lisp file
Lisp File, lift/dev/copy-file.lisp: The lift/dev/copy-file<dot>lisp file
Lisp File, lift/dev/introspection.lisp: The lift/dev/introspection<dot>lisp file
Lisp File, lift/dev/lift.lisp: The lift/dev/lift<dot>lisp file
Lisp File, lift/dev/measuring.lisp: The lift/dev/measuring<dot>lisp file
Lisp File, lift/dev/random-testing.lisp: The lift/dev/random-testing<dot>lisp file
Lisp File, lift/dev/reports.lisp: The lift/dev/reports<dot>lisp file
Lisp File, lift/dev/test-runner.lisp: The lift/dev/test-runner<dot>lisp file
Lisp File, lift/setup/class-defs.lisp: The lift/setup/class-defs<dot>lisp file
Lisp File, lift/setup/definitions.lisp: The lift/setup/definitions<dot>lisp file
Lisp File, lift/setup/macros.lisp: The lift/setup/macros<dot>lisp file
Lisp File, lift/setup/packages.lisp: The lift/setup/packages<dot>lisp file
Lisp File, lift/setup/utilities.lisp: The lift/setup/utilities<dot>lisp file
Lisp File, lift/timeout/package.lisp: The lift/timeout/package<dot>lisp file
Lisp File, lift/timeout/with-timeout.lisp: The lift/timeout/with-timeout<dot>lisp file

M
Module, lift/api: The lift/api module
Module, lift/dev: The lift/dev module
Module, lift/setup: The lift/setup module
Module, lift/timeout: The lift/timeout module

O
Other File, lift/dev/notes.text: The lift/dev/notes<dot>text file

Jump to:   F   L   M   O  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

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

%
%build-ensure-comparison: Internal functions
%build-pairs: Internal functions
%run-tests-from-file: Internal functions
%start-test-case: Internal functions
%start-test-suite: Internal functions
%test-result-report-stream: Internal functions
%total-bytes-allocated: Internal functions
%valid-run-setup-values: Internal functions

(
(setf block-name): Internal functions
(setf code): Internal functions
(setf current-method): Internal generic functions
(setf current-method): Internal generic functions
(setf current-step): Internal generic functions
(setf current-step): Internal generic functions
(setf def): Internal functions
(setf end-time): Internal generic functions
(setf end-time): Internal generic functions
(setf end-time-universal): Internal generic functions
(setf end-time-universal): Internal generic functions
(setf errors): Exported generic functions
(setf errors): Exported generic functions
(setf expected-errors): Exported generic functions
(setf expected-errors): Exported generic functions
(setf expected-failures): Exported generic functions
(setf expected-failures): Exported generic functions
(setf failure-documentation): Internal generic functions
(setf failure-documentation): Internal generic functions
(setf failures): Exported generic functions
(setf failures): Exported generic functions
(setf filter): Internal functions
(setf lift-property): Exported functions
(setf maximum-time): Internal generic functions
(setf maximum-time): Internal generic functions
(setf name): Internal generic functions
(setf name): Internal generic functions
(setf operate-when): Internal functions
(setf priority): Internal functions
(setf profile): Internal generic functions
(setf profile): Internal generic functions
(setf real-end-time): Internal generic functions
(setf real-end-time): Internal generic functions
(setf real-end-time-universal): Internal generic functions
(setf real-end-time-universal): Internal generic functions
(setf report-hooks-for): Exported functions
(setf result-uuid): Exported generic functions
(setf result-uuid): Exported generic functions
(setf results-for): Internal generic functions
(setf results-for): Internal generic functions
(setf skipped-test-cases): Exported generic functions
(setf skipped-test-cases): Exported generic functions
(setf skipped-testsuites): Exported generic functions
(setf skipped-testsuites): Exported generic functions
(setf start-time): Internal generic functions
(setf start-time): Internal generic functions
(setf start-time-universal): Internal generic functions
(setf start-time-universal): Internal generic functions
(setf suites-run): Internal generic functions
(setf suites-run): Internal generic functions
(setf test-case-documentation): Internal generic functions
(setf test-case-documentation): Internal generic functions
(setf test-case-option): Internal functions
(setf test-case-source-file): Internal generic functions
(setf test-case-source-file): Internal generic functions
(setf test-case-source-position): Internal generic functions
(setf test-case-source-position): Internal generic functions
(setf test-code->name-table): Internal generic functions
(setf test-code->name-table): Internal generic functions
(setf test-data): Internal generic functions
(setf test-data): Internal generic functions
(setf test-environment-value): Internal functions
(setf test-interactive?): Internal generic functions
(setf test-interactive?): Internal generic functions
(setf test-mode): Internal generic functions
(setf test-mode): Internal generic functions
(setf test-name->code-table): Internal generic functions
(setf test-name->code-table): Internal generic functions
(setf test-name->methods): Internal generic functions
(setf test-name->methods): Internal generic functions
(setf test-result-properties): Internal generic functions
(setf test-result-properties): Internal generic functions
(setf test-result-property): Internal functions
(setf test-slots): Internal generic functions
(setf test-slots): Internal generic functions
(setf test-source-file): Internal generic functions
(setf test-source-file): Internal generic functions
(setf tests-run): Internal generic functions
(setf tests-run): Internal generic functions
(setf testsuite-dynamic-variables): Internal generic functions
(setf testsuite-dynamic-variables): Internal generic functions
(setf testsuite-function-specs): Internal generic functions
(setf testsuite-function-specs): Internal generic functions
(setf testsuite-initargs): Internal generic functions
(setf testsuite-initargs): Internal generic functions
(setf testsuite-tests): Exported generic functions
(setf testsuite-tests): Exported generic functions

A
accumulate-problem: Internal generic functions
accumulate-problem: Internal generic functions
accumulate-problem: Internal generic functions
accumulate-problem: Internal generic functions
accumulate-problem: Internal generic functions
accumulate-problem: Internal generic functions
accumulate-problem: Internal generic functions
accumulate-problem: Internal generic functions
accumulate-problem: Internal generic functions
accumulate-problem: Internal generic functions
accumulate-problem: Internal generic functions
add-code-block: Internal functions
add-report-hook-for: Exported functions
addbenchmark: Exported macros
addtest: Exported macros
append-to-report: Internal macros

B
backtrace: Internal generic functions
backtrace: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-handler: Internal generic functions
block-name: Internal functions
brief-problem-output: Internal generic functions
brief-problem-output: Internal generic functions
brief-problem-output: Internal generic functions
build-benchmark-function: Internal functions
build-issues-list: Internal functions
build-issues-report: Internal functions
build-lift-error-message: Internal functions
build-random-instances-method: Internal functions
build-setup-test-method: Internal functions
build-test-case-options: Internal functions
build-test-class: Internal functions
build-test-equality-test: Internal functions
build-test-local-functions: Internal functions
build-test-teardown-method: Internal functions
build-test-test-method: Internal functions
build-testsuite-expected-error: Internal functions
build-testsuite-expected-failure: Internal functions
build-with-timeout: Internal functions

C
cancel-testing: Internal functions
canonical-versions-numbers: Internal functions
canonize-skip-tests: Internal functions
check-for-surprises: Internal functions
check-run-setup-value: Internal functions
class-slot-names: Internal functions
cleanup-parsed-parameter: Internal functions
code: Internal functions
collect-test-cases: Internal functions
collect-testsuite-summary-for-log: Internal functions
collect-testsuites: Internal functions
compile-quickly: Internal functions
compute-superclass-inheritence: Internal functions
configuration-failures: Internal functions
containing-pathname: Internal functions
convert-clauses-into-lists: Internal functions
copy-code-block: Internal functions
copy-file: Internal functions
copy-stream: Internal functions
count-repetitions: Exported functions
current-method: Internal generic functions
current-method: Internal generic functions
current-profile-sample-count: Internal functions
current-source-position: Internal functions
current-step: Internal generic functions
current-step: Internal generic functions
current-user: Internal functions

D
date-stamp: Internal functions
def: Internal functions
defclass-property: Internal macros
defcondition: Internal macros
defconfig: Internal macros
defconfig-variable: Internal macros
defmeasure: Exported macros
defrandom-instance: Exported macros
deftest: Internal macros
deftestsuite: Exported macros
describe-test-result: Exported generic functions
describe-test-result: Exported generic functions
details-link: Internal functions
direct-subclasses: Internal functions
directory-p: Internal functions
directory-pathname-p: Internal functions
divide-cases: Internal functions
do-test: Exported generic functions
do-test: Exported generic functions
do-test: Exported generic functions
do-test: Exported generic functions
do-testing: Internal generic functions
do-testing: Internal generic functions
do-testing-in-environment: Internal functions
done-dynamics?: Internal generic functions
done-dynamics?: Internal generic functions
done-setup?: Internal generic functions
done-setup?: Internal generic functions
dotted-pair-p: Internal functions

E
empty-test-tables: Internal functions
encode-symbol: Internal functions
end-report-output: Internal generic functions
end-report-output: Internal generic functions
end-report-output: Internal generic functions
end-time: Internal generic functions
end-time: Internal generic functions
end-time-universal: Internal generic functions
end-time-universal: Internal generic functions
ensure: Exported macros
ensure-cases: Exported macros
ensure-condition: Exported macros
ensure-different: Exported macros
ensure-directory: Internal functions
ensure-error: Exported macros
ensure-function: Internal functions
ensure-list: Internal functions
ensure-no-warning: Exported macros
ensure-null: Exported macros
ensure-random-cases: Exported macros
ensure-random-cases+: Exported macros
ensure-same: Exported macros
ensure-string: Internal functions
ensure-symbol: Internal functions
ensure-warning: Exported macros
equality-test: Internal generic functions
equality-test: Internal generic functions
error-okay-p: Internal functions
errors: Exported generic functions
errors: Exported generic functions
expected-errors: Exported generic functions
expected-errors: Exported generic functions
expected-failures: Exported generic functions
expected-failures: Exported generic functions
extra-info: Internal generic functions
extra-info: Internal generic functions
extra-info: Internal generic functions
extra-info: Internal generic functions

F
failure-documentation: Internal generic functions
failure-documentation: Internal generic functions
failure-okay-p: Internal functions
failures: Exported generic functions
failures: Exported generic functions
filter: Internal functions
finalize-class-if-necessary: Internal functions
find-generic-test-configuration: Internal functions
find-test-case: Exported generic functions
find-test-case: Exported generic functions
find-test-case: Exported generic functions
find-test-case: Exported generic functions
find-test-case: Exported generic functions
find-test-case: Exported generic functions
find-test-case: Exported generic functions
find-test-cases: Internal generic functions
find-test-cases: Internal generic functions
find-test-cases: Internal generic functions
find-testsuite: Exported generic functions
find-testsuite: Exported generic functions
find-testsuite: Exported generic functions
find-testsuite: Exported generic functions
finish-report-tests-by-suite: Internal generic functions
finish-report-tests-by-suite: Internal generic functions
finish-report-tests-by-suite: Internal generic functions
finish-report-tests-by-suite: Internal generic functions
flet-test-function: Internal generic functions
form-groups: Internal functions
form-keyword: Internal functions
form-symbol: Internal functions
form-symbol-in-package: Internal functions
format-test-time-for-log: Internal functions
Function, %build-ensure-comparison: Internal functions
Function, %build-pairs: Internal functions
Function, %run-tests-from-file: Internal functions
Function, %start-test-case: Internal functions
Function, %start-test-suite: Internal functions
Function, %test-result-report-stream: Internal functions
Function, %total-bytes-allocated: Internal functions
Function, %valid-run-setup-values: Internal functions
Function, (setf block-name): Internal functions
Function, (setf code): Internal functions
Function, (setf def): Internal functions
Function, (setf filter): Internal functions
Function, (setf lift-property): Exported functions
Function, (setf operate-when): Internal functions
Function, (setf priority): Internal functions
Function, (setf report-hooks-for): Exported functions
Function, (setf test-case-option): Internal functions
Function, (setf test-environment-value): Internal functions
Function, (setf test-result-property): Internal functions
Function, add-code-block: Internal functions
Function, add-report-hook-for: Exported functions
Function, block-name: Internal functions
Function, build-benchmark-function: Internal functions
Function, build-issues-list: Internal functions
Function, build-issues-report: Internal functions
Function, build-lift-error-message: Internal functions
Function, build-random-instances-method: Internal functions
Function, build-setup-test-method: Internal functions
Function, build-test-case-options: Internal functions
Function, build-test-class: Internal functions
Function, build-test-equality-test: Internal functions
Function, build-test-local-functions: Internal functions
Function, build-test-teardown-method: Internal functions
Function, build-test-test-method: Internal functions
Function, build-testsuite-expected-error: Internal functions
Function, build-testsuite-expected-failure: Internal functions
Function, build-with-timeout: Internal functions
Function, cancel-testing: Internal functions
Function, canonical-versions-numbers: Internal functions
Function, canonize-skip-tests: Internal functions
Function, check-for-surprises: Internal functions
Function, check-run-setup-value: Internal functions
Function, class-slot-names: Internal functions
Function, cleanup-parsed-parameter: Internal functions
Function, code: Internal functions
Function, collect-test-cases: Internal functions
Function, collect-testsuite-summary-for-log: Internal functions
Function, collect-testsuites: Internal functions
Function, compile-quickly: Internal functions
Function, compute-superclass-inheritence: Internal functions
Function, configuration-failures: Internal functions
Function, containing-pathname: Internal functions
Function, convert-clauses-into-lists: Internal functions
Function, copy-code-block: Internal functions
Function, copy-file: Internal functions
Function, copy-stream: Internal functions
Function, count-repetitions: Exported functions
Function, current-profile-sample-count: Internal functions
Function, current-source-position: Internal functions
Function, current-user: Internal functions
Function, date-stamp: Internal functions
Function, def: Internal functions
Function, details-link: Internal functions
Function, direct-subclasses: Internal functions
Function, directory-p: Internal functions
Function, directory-pathname-p: Internal functions
Function, divide-cases: Internal functions
Function, do-testing-in-environment: Internal functions
Function, dotted-pair-p: Internal functions
Function, empty-test-tables: Internal functions
Function, encode-symbol: Internal functions
Function, ensure-directory: Internal functions
Function, ensure-function: Internal functions
Function, ensure-list: Internal functions
Function, ensure-string: Internal functions
Function, ensure-symbol: Internal functions
Function, error-okay-p: Internal functions
Function, failure-okay-p: Internal functions
Function, filter: Internal functions
Function, finalize-class-if-necessary: Internal functions
Function, find-generic-test-configuration: Internal functions
Function, form-groups: Internal functions
Function, form-keyword: Internal functions
Function, form-symbol: Internal functions
Function, form-symbol-in-package: Internal functions
Function, format-test-time-for-log: Internal functions
Function, generate-log-entry: Exported functions
Function, generate-platform-specific-code: Internal functions
Function, generate-profile-log-entry: Internal functions
Function, get-backtrace: Internal functions
Function, get-backtrace-as-string: Internal functions
Function, get-details-links-table: Internal functions
Function, get-test-print-length: Internal functions
Function, get-test-print-level: Internal functions
Function, get-test-real-time: Internal functions
Function, handle-configuration-problem: Internal functions
Function, handle-error-while-testing: Internal functions
Function, hostname: Internal functions
Function, html-footer: Internal functions
Function, initialize-current-definition: Internal functions
Function, last-test-status: Exported functions
Function, length-1-list-p: Internal functions
Function, lift-property: Exported functions
Function, lift-relative-pathname: Internal functions
Function, lift-report-condition: Internal functions
Function, liftpropos: Exported functions
Function, lisp-version-string: Internal functions
Function, list-tests: Exported functions
Function, looks-like-suite-name-p: Internal functions
Function, make-code-block: Internal functions
Function, make-printable: Internal functions
Function, make-profiled-function: Internal functions
Function, make-report-environment: Internal functions
Function, make-testsuite: Internal functions
Function, map-subclasses: Internal functions
Function, map-test-cases: Internal functions
Function, map-testsuites: Exported functions
Function, massage-arguments: Internal functions
Function, massage-condition-string: Internal functions
Function, maybe-add-dribble: Internal functions
Function, maybe-raise-ensure-same-condition: Internal functions
Function, maybe-raise-not-same-condition: Internal functions
Function, measure-fn: Internal functions
Function, move-file: Internal functions
Function, operate-when: Internal functions
Function, pad-version: Internal functions
Function, parse-brief-slot: Internal functions
Function, parse-test-body: Internal functions
Function, parse-test-slots: Internal functions
Function, pathname-has-device-p: Internal functions
Function, pathname-has-host-p: Internal functions
Function, pathname-sans-name+type: Internal functions
Function, print-lift-message: Internal functions
Function, print-test-result-details: Internal functions
Function, print-test-summary: Internal functions
Function, print-tests: Exported functions
Function, priority: Internal functions
Function, property-list-p: Internal functions
Function, record-end-times: Internal functions
Function, record-start-times: Internal functions
Function, relative-pathname: Internal functions
Function, remove-leading-quote: Internal functions
Function, remove-previous-definitions: Internal functions
Function, remove-test: Exported functions
Function, remove-test-case-options: Internal functions
Function, remove-test-methods: Internal functions
Function, report-hooks-for: Exported functions
Function, report-issues: Internal functions
Function, report-lift-error: Internal functions
Function, report-summary-pathname: Internal functions
Function, report-test-problem: Internal functions
Function, report-tests-by-suite: Internal functions
Function, rewrite-unreadables: Internal functions
Function, run-setup-p: Internal functions
Function, run-teardown-p: Internal functions
Function, run-test: Exported functions
Function, run-test-internal: Internal functions
Function, run-tests: Exported functions
Function, run-tests-from-file: Internal functions
Function, run-tests-internal: Internal functions
Function, safe-find-symbol: Internal functions
Function, safe-parse-integer: Internal functions
Function, set-definition: Internal functions
Function, show-call-counts: Internal functions
Function, show-call-graph: Internal functions
Function, show-flat-profile: Internal functions
Function, signal-lift-error: Internal functions
Function, skip-test-case-p: Internal functions
Function, skip-test-suite-children-p: Internal functions
Function, split: Internal functions
Function, standard-log-data: Internal functions
Function, string-trim-if: Internal functions
Function, strip-whitespace: Internal functions
Function, subclasses: Internal functions
Function, suite-tested-p: Exported functions
Function, suites-in-cases: Internal functions
Function, suites-in-portion: Internal functions
Function, suites-in-portions: Internal functions
Function, superclasses: Internal functions
Function, symbol-apply: Internal functions
Function, test-case-expects-error-p: Internal functions
Function, test-case-expects-failure-p: Internal functions
Function, test-case-expects-problem-p: Internal functions
Function, test-case-option: Internal functions
Function, test-case-p: Internal functions
Function, test-case-skipped-p: Internal functions
Function, test-case-tested-p: Internal functions
Function, test-environment-value: Internal functions
Function, test-function-name: Internal functions
Function, test-report-code: Internal functions
Function, test-result-property: Internal functions
Function, test-results: Internal functions
Function, test-successes: Internal functions
Function, testing-interactively-p: Internal functions
Function, testsuite-failures: Internal functions
Function, testsuite-run: Internal functions
Function, testsuite-test-count: Internal functions
Function, testsuites: Exported functions
Function, thing-names-generic-function-p: Internal functions
Function, total-bytes-allocated: Internal functions
Function, translate-user: Internal functions
Function, unique-directory: Internal functions
Function, unique-filename: Internal functions
Function, version-numbers: Internal functions
Function, version<: Internal functions
Function, version<=: Internal functions
Function, version=: