The testiere Reference Manual

This is the testiere Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sat Dec 03 23:28:57 2022 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 testiere

Up Front Testing for DEFUN and DEFMETHOD

Author

Colin Okay <>

License

GPLv3

Version

0.1.0

Dependency

trivia (system).

Source

testiere.asd.

Child Components

3 Files

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


3.1 Lisp


3.1.1 testiere/testiere.asd

Source

testiere.asd.

Parent Component

testiere (system).

ASDF Systems

testiere.


3.1.2 testiere/package.lisp

Source

testiere.asd.

Parent Component

testiere (system).

Packages

testiere.


3.1.3 testiere/testiere.lisp

Dependency

package.lisp (file).

Source

testiere.asd.

Parent Component

testiere (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 testiere

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

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


5.1 Public Interface


5.1.1 Macros

Macro: defun/t (name lambda-list &body body)

Like regular DEFUN, but with embedded unit tests. If those tests would fail, the function fails to be defined.

Package

testiere.

Source

testiere.lisp.

Macro: with-stub ((name lambda-list &body body) &body forms)

Runs forms in a context where NAME is temporarily rebound to a different function. If NAME is not FBOUNDP then it is temporarily defined.

Package

testiere.

Source

testiere.lisp.

Macro: with-stubs (redefinitions &body forms)

Like WITH-STUB, but REDEFINITIONS is a list of (NAME LAMBDA-LIST . BODY) list, suitable for defining a function.

Package

testiere.

Source

testiere.lisp.


5.2 Internals


5.2.1 Ordinary functions

Function: build-test (name spec)
Package

testiere.

Source

testiere.lisp.

Function: extract-tests (name body)
Package

testiere.

Source

testiere.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables