This is the cl-fuzz Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:55:24 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-fuzz
A Fuzz Testing Framework
Neil T. Dantam
BSD-2
0.0.1
alexandria
(system).
fuzz.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-fuzz/fuzz.lisp
cl-fuzz
(system).
do-test
(macro).
run-tests
(function).
test-eq
(function).
test-eql
(function).
test-equal
(function).
test-equalp
(function).
test-false
(function).
test-predicate
(function).
test-true
(function).
test=
(function).
*fuzz-counts*
(special variable).
*fuzz-input*
(special variable).
*fuzz-log*
(special variable).
*fuzz-random*
(special variable).
*fuzz-trail*
(special variable).
*fuzz-var*
(special variable).
do-operations
(macro).
Packages are listed by definition order.
cl-fuzz
fuzz
common-lisp
.
do-test
(macro).
run-tests
(function).
test-eq
(function).
test-eql
(function).
test-equal
(function).
test-equalp
(function).
test-false
(function).
test-predicate
(function).
test-true
(function).
test=
(function).
*fuzz-counts*
(special variable).
*fuzz-input*
(special variable).
*fuzz-log*
(special variable).
*fuzz-random*
(special variable).
*fuzz-trail*
(special variable).
*fuzz-var*
(special variable).
do-operations
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Compares the result of ‘EXPECTED-EXPRESSION’ and ‘TEST-EXPRESSION’ using ‘TEST’.
NAME: A name for this test.
TEST: (lambda (expected-value actual-value)) => (or t nil).
Perform a series of fuzz tests.
GENERATOR: (lambda ()) => fuzz.
TESTER: (lambda (fuzz)) => nil, performs one set of fuzz tests.
Call EXPECTED-FUNCTION and TEST-FUNCTION and test if results are #’EQ.
Call EXPECTED-FUNCTION and TEST-FUNCTION and test if results are #’EQL.
Call EXPECTED-FUNCTION and TEST-FUNCTION and test if results are #’EQUAL.
Call EXPECTED-FUNCTION and TEST-FUNCTION and test if results are #’EQUALP.
Call TEST-FUNCTION and test if result is false.
Test if PREDICATE applied to the results other arguments is T.
PREDICATE: (or (lambda (a b)) (lambda (a)))
RESULT-FUNCTIONS: (lambda ()) – returns the arguments for predicate
Call TEST-FUNCTION with no arguments. If result is true, mark
successful test. If result is false, print an error message.
NAME: name of this test
TEST-FUNCTION: (lambda ()) => (or nil RESULT)
RESULT: the result of TEST-FUNCTION
Call EXPECTED-FUNCTION and TEST-FUNCTION and test if results are #’=.
Perform a series of operations on the fuzz.
Each case should return the value after processing the current
operation, or NIL if the test failed. INITIAL and the true result of
each of CASES will be DESTRUCTURING-BIND’ed to VAR-LAMBDA-LIST.
FUZZ: (list (list &rest operation))
CASES: ((destructuring-case-lambda-list) &body body) => result
Jump to: | D F M R T |
---|
Jump to: | D F M R T |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | C F P S |
---|
Jump to: | C F P S |
---|