This is the lift Reference Manual, version 1.7.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:37:12 2024 GMT+0.
lift/lift.asd
lift/timeout/package.lisp
lift/timeout/with-timeout.lisp
lift/setup/packages.lisp
lift/setup/utilities.lisp
lift/setup/macros.lisp
lift/setup/definitions.lisp
lift/setup/class-defs.lisp
lift/api/generics.lisp
lift/api/port.lisp
lift/dev/lift.lisp
lift/dev/copy-file.lisp
lift/dev/random-testing.lisp
lift/dev/measuring.lisp
lift/dev/config.lisp
lift/dev/reports.lisp
lift/dev/introspection.lisp
lift/dev/test-runner.lisp
The main system appears first, followed by any subsystem dependency.
lift
LIsp Framework for Testing
Gary Warren King <gwking@metabang.com>
Gary Warren King <gwking@metabang.com>
MIT Style License; see file COPYING for details
LIFT is an SUnit variant and much much more.
1.7.1
Modules are listed depth-first from the system components tree.
lift/timeout
lift
(system).
package.lisp
(file).
with-timeout.lisp
(file).
lift/setup
timeout
(module).
lift
(system).
packages.lisp
(file).
utilities.lisp
(file).
macros.lisp
(file).
definitions.lisp
(file).
class-defs.lisp
(file).
lift/api
setup
(module).
lift
(system).
generics.lisp
(file).
port.lisp
(file).
lift/dev
lift
(system).
notes.text
(file).
lift.lisp
(file).
copy-file.lisp
(file).
random-testing.lisp
(file).
measuring.lisp
(file).
config.lisp
(file).
reports.lisp
(file).
introspection.lisp
(file).
test-runner.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
lift/lift.asd
lift/timeout/package.lisp
lift/timeout/with-timeout.lisp
lift/setup/packages.lisp
lift/setup/utilities.lisp
lift/setup/macros.lisp
lift/setup/definitions.lisp
lift/setup/class-defs.lisp
lift/api/generics.lisp
lift/api/port.lisp
lift/dev/lift.lisp
lift/dev/copy-file.lisp
lift/dev/random-testing.lisp
lift/dev/measuring.lisp
lift/dev/config.lisp
lift/dev/reports.lisp
lift/dev/introspection.lisp
lift/dev/test-runner.lisp
lift/timeout/with-timeout.lisp
package.lisp
(file).
timeout
(module).
timeout-error
(condition).
with-timeout
(macro).
build-with-timeout
(function).
generate-platform-specific-code
(function).
lift/setup/utilities.lisp
packages.lisp
(file).
definitions.lisp
(file).
setup
(module).
*lift-debug-output*
(special variable).
*test-print-test-case-names*
(special variable).
*test-print-testsuite-names*
(special variable).
%build-ensure-comparison
(function).
%start-test-case
(function).
%start-test-suite
(function).
+whitespace-characters+
(special variable).
canonical-versions-numbers
(function).
class-slot-names
(function).
cleanup-parsed-parameter
(function).
containing-pathname
(function).
convert-clauses-into-lists
(function).
date-stamp
(function).
def
(function).
(setf def)
(function).
direct-subclasses
(function).
directory-p
(function).
directory-pathname-p
(function).
dotted-pair-p
(function).
encode-symbol
(function).
ensure-function
(function).
ensure-list
(function).
ensure-string
(function).
finalize-class-if-necessary
(function).
form-groups
(function).
form-keyword
(function).
form-symbol
(function).
form-symbol-in-package
(function).
format-test-time-for-log
(function).
get-class
(generic function).
hostname
(function).
length-1-list-p
(function).
lisp-version-string
(function).
make-printable
(function).
map-subclasses
(function).
pad-version
(function).
parse-brief-slot
(function).
pathname-has-device-p
(function).
pathname-has-host-p
(function).
pathname-sans-name+type
(function).
print-lift-message
(function).
relative-pathname
(function).
remove-leading-quote
(function).
safe-find-symbol
(function).
safe-parse-integer
(function).
split
(function).
string-trim-if
(function).
strip-whitespace
(function).
subclasses
(function).
superclasses
(function).
symbol-apply
(function).
test-function-name
(function).
unique-directory
(function).
unique-filename
(function).
version-numbers
(function).
version<
(function).
version<=
(function).
version=
(function).
version>
(function).
version>=
(function).
whitespacep
(function).
lift/setup/macros.lisp
packages.lisp
(file).
utilities.lisp
(file).
definitions.lisp
(file).
setup
(module).
defmeasure
(macro).
ensure
(macro).
ensure-cases
(macro).
ensure-condition
(macro).
ensure-different
(macro).
ensure-error
(macro).
ensure-no-warning
(macro).
ensure-null
(macro).
ensure-same
(macro).
ensure-warning
(macro).
undefmeasure
(macro).
while-counting-events
(macro).
while-counting-events*
(macro).
while-counting-repetitions
(macro).
while-counting-repetitions*
(macro).
while-measuring
(macro).
with-profile-report
(macro).
append-to-report
(macro).
compile-quickly
(function).
defclass-property
(macro).
defcondition
(macro).
defconfig
(macro).
defconfig-variable
(macro).
muffle-redefinition-warnings
(macro).
newlinify
(macro).
while-measuring-1
(macro).
with-test-slots
(macro).
lift/setup/definitions.lisp
packages.lisp
(file).
setup
(module).
*break-on-redefinition*
(special variable).
*count-calls-p*
(special variable).
*current-test*
(special variable).
*lift-dribble-pathname*
(special variable).
*lift-equality-test*
(special variable).
*lift-report-pathname*
(special variable).
*log-path*
(special variable).
*log-tag*
(special variable).
*profile-style*
(special variable).
*test-break-on-errors?*
(special variable).
*test-break-on-failures?*
(special variable).
*test-describe-if-not-successful?*
(special variable).
*test-evaluate-when-defined?*
(special variable).
*test-ignore-warnings?*
(special variable).
*test-maximum-error-count*
(special variable).
*test-maximum-failure-count*
(special variable).
*test-maximum-time*
(special variable).
*test-notepad*
(special variable).
*test-print-length*
(special variable).
*test-print-level*
(special variable).
*test-print-when-defined?*
(special variable).
*test-result*
(special variable).
*test-scratchpad*
(special variable).
*test-show-code-p*
(special variable).
*test-show-details-p*
(special variable).
*test-show-expected-p*
(special variable).
*code-blocks*
(special variable).
*current-definition*
(special variable).
*current-test-case-name*
(special variable).
*current-testsuite-name*
(special variable).
*current-user*
(special variable).
*deftest-clauses*
(special variable).
*functions-to-profile*
(special variable).
*hostname*
(special variable).
*last-test-case-name*
(special variable).
*last-testsuite-name*
(special variable).
*lift-if-dribble-exists*
(special variable).
*lift-standard-output*
(special variable).
*measures*
(special variable).
*profiling-threshold*
(special variable).
*skip-tests*
(special variable).
*test-is-being-compiled?*
(special variable).
*test-is-being-defined?*
(special variable).
*test-is-being-executed?*
(special variable).
*test-is-being-loaded?*
(special variable).
*test-metadata*
(special variable).
*test-run-subsuites?*
(special variable).
*testsuite-test-count*
(special variable).
+lift-confused-about-arguments+
(special variable).
+lift-could-not-find-test+
(special variable).
+lift-no-current-test-class+
(special variable).
+lift-test-class-not-found+
(special variable).
+lift-test-name-not-supplied-with-test-class+
(special variable).
+lift-unable-to-parse-test-name-and-class+
(special variable).
+run-tests-null-test-case+
(special variable).
lift/setup/class-defs.lisp
definitions.lisp
(file).
setup
(module).
errors
(reader method).
(setf errors)
(writer method).
expected-errors
(reader method).
(setf expected-errors)
(writer method).
expected-failures
(reader method).
(setf expected-failures)
(writer method).
failures
(reader method).
(setf failures)
(writer method).
log-results-mixin
(class).
print-object
(method).
print-object
(method).
print-object
(method).
result-uuid
(reader method).
(setf result-uuid)
(writer method).
skipped-test-cases
(reader method).
(setf skipped-test-cases)
(writer method).
skipped-testsuites
(reader method).
(setf skipped-testsuites)
(writer method).
test-condition
(reader method).
test-mixin
(class).
test-result
(class).
backtrace
(reader method).
configuration-failures
(function).
current-method
(reader method).
(setf current-method)
(writer method).
current-step
(reader method).
(setf current-step)
(writer method).
done-dynamics?
(reader method).
done-setup?
(reader method).
end-time
(reader method).
(setf end-time)
(writer method).
end-time-universal
(reader method).
(setf end-time-universal)
(writer method).
expected-problem-mixin
(class).
failure-documentation
(reader method).
(setf failure-documentation)
(writer method).
log-file
(reader method).
maximum-time
(reader method).
(setf maximum-time)
(writer method).
name
(reader method).
(setf name)
(writer method).
process-test-mixin
(class).
profile
(reader method).
(setf profile)
(writer method).
real-end-time
(reader method).
(setf real-end-time)
(writer method).
real-end-time-universal
(reader method).
(setf real-end-time-universal)
(writer method).
real-start-time
(reader method).
real-start-time-universal
(reader method).
results-for
(reader method).
(setf results-for)
(writer method).
run-setup
(reader method).
start-time
(reader method).
(setf start-time)
(writer method).
start-time-universal
(reader method).
(setf start-time-universal)
(writer method).
suites-run
(reader method).
(setf suites-run)
(writer method).
test-configuration-error
(class).
test-configuration-failure
(class).
test-configuration-problem-mixin
(class).
test-data
(reader method).
(setf test-data)
(writer method).
test-error
(class).
test-error-mixin
(class).
test-expected-error
(class).
test-expected-failure
(class).
test-failure
(class).
test-failure-mixin
(class).
test-interactive?
(reader method).
(setf test-interactive?)
(writer method).
test-method
(reader method).
test-mode
(reader method).
(setf test-mode)
(writer method).
test-problem-kind
(method).
test-problem-kind
(method).
test-problem-kind
(method).
test-problem-kind
(reader method).
test-problem-message
(reader method).
test-problem-mixin
(class).
test-result-properties
(reader method).
(setf test-result-properties)
(writer method).
test-serious-condition
(class).
test-source-file
(reader method).
(setf test-source-file)
(writer method).
test-step
(reader method).
test-timeout-failure
(class).
testcase-skipped
(class).
tests-run
(reader method).
(setf tests-run)
(writer method).
testsuite
(reader method).
testsuite-error
(class).
testsuite-failure
(class).
testsuite-failures
(function).
testsuite-initargs
(reader method).
testsuite-initargs
(reader method).
(setf testsuite-initargs)
(writer method).
testsuite-name
(reader method).
testsuite-problem-mixin
(class).
testsuite-serious-condition
(class).
testsuite-skipped
(class).
lift/api/generics.lisp
api
(module).
describe-test-result
(generic function).
do-test
(generic function).
make-test-result
(generic function).
setup-test
(generic function).
testsuite-log-data
(generic function).
testsuite-p
(generic function).
write-profile-information
(generic function).
accumulate-problem
(generic function).
block-handler
(generic function).
brief-problem-output
(generic function).
do-testing
(generic function).
equality-test
(generic function).
finish-report-tests-by-suite
(generic function).
flet-test-function
(generic function).
print-test-problem
(generic function).
problem-summarization
(generic function).
report-test-case-by-suite
(generic function).
report-test-suite-by-suite
(generic function).
result-summary-tag
(generic function).
save-configuration-file
(generic function).
set-test-case-options
(generic function).
skip-test-case
(generic function).
skip-testsuite
(generic function).
test-case-count
(generic function).
test-case-teardown
(generic function).
testsuite-expects-error
(generic function).
testsuite-expects-failure
(generic function).
testsuite-methods
(generic function).
testsuite-name->method
(generic function).
testsuite-setup
(generic function).
testsuite-teardown
(generic function).
write-log-test-end
(generic function).
write-log-test-start
(generic function).
lift/api/port.lisp
api
(module).
%total-bytes-allocated
(function).
current-profile-sample-count
(function).
ensure-directory
(function).
get-backtrace
(function).
get-backtrace-as-string
(function).
get-test-real-time
(function).
show-call-counts
(function).
show-call-graph
(function).
show-flat-profile
(function).
total-bytes-allocated
(function).
with-profile-report-fn
(function).
writable-directory-p
(function).
lift/dev/lift.lisp
measuring.lisp
(file).
dev
(module).
addbenchmark
(macro).
addtest
(macro).
deftestsuite
(macro).
describe-object
(method).
describe-test-result
(method).
do-test
(method).
do-test
(method).
ensure-cases-failure
(condition).
ensure-expected-condition
(condition).
ensure-expected-no-warning-condition
(condition).
ensure-failed-error
(condition).
ensure-not-same
(condition).
ensure-null-failed-error
(condition).
ensure-same
(condition).
failed-comparison-condition
(condition).
initialize-instance
(method).
lift-property
(function).
(setf lift-property)
(function).
make-test-result
(method).
print-object
(method).
print-object
(method).
remove-test
(function).
setup-test
(method).
setup-test
(method).
setup-test
(method).
setup-test
(method).
test-case-ambiguous
(condition).
test-case-not-defined
(condition).
test-condition
(condition).
test-timeout-condition
(condition).
testsuite-ambiguous
(condition).
testsuite-log-data
(method).
testsuite-log-data
(method).
testsuite-not-defined
(condition).
testsuite-tests
(generic function).
(setf testsuite-tests)
(generic function).
unexpected-success-failure
(condition).
write-profile-information
(method).
%build-pairs
(function).
%valid-run-setup-values
(function).
*test-case-options*
(special variable).
accumulate-problem
(method).
accumulate-problem
(method).
accumulate-problem
(method).
accumulate-problem
(method).
accumulate-problem
(method).
accumulate-problem
(method).
accumulate-problem
(method).
accumulate-problem
(method).
accumulate-problem
(method).
accumulate-problem
(method).
add-code-block
(function).
block-name
(function).
(setf block-name)
(function).
build-benchmark-function
(function).
build-lift-error-message
(function).
build-setup-test-method
(function).
build-test-case-options
(function).
build-test-class
(function).
build-test-equality-test
(function).
build-test-local-functions
(function).
build-test-teardown-method
(function).
build-test-test-method
(function).
build-testsuite-expected-error
(function).
build-testsuite-expected-failure
(function).
cancel-testing
(function).
canonize-skip-tests
(function).
check-for-surprises
(function).
check-run-setup-value
(function).
code
(function).
(setf code)
(function).
compute-superclass-inheritence
(function).
current-source-position
(function).
deftest
(macro).
empty-test-tables
(function).
equality-test
(method).
error-okay-p
(function).
failure-okay-p
(function).
filter
(function).
(setf filter)
(function).
get-test-print-length
(function).
get-test-print-level
(function).
initialize-current-definition
(function).
lift-compile-error
(condition).
lift-report-condition
(function).
looks-like-suite-name-p
(function).
make-code-block
(function).
make-testsuite
(function).
maybe-raise-ensure-same-condition
(function).
maybe-raise-not-same-condition
(function).
operate-when
(function).
(setf operate-when)
(function).
parse-test-body
(function).
parse-test-slots
(function).
print-test-problem
(method).
print-test-problem
(method).
print-test-result-details
(function).
print-test-summary
(function).
priority
(function).
(setf priority)
(function).
property-list-p
(function).
record-end-times
(function).
record-start-times
(function).
remove-previous-definitions
(function).
remove-test-case-options
(function).
remove-test-methods
(function).
report-lift-error
(function).
report-test-problem
(function).
run-setup-p
(function).
run-teardown-p
(function).
set-definition
(function).
signal-lift-error
(function).
skip-test-case
(method).
skip-test-case-p
(function).
skip-test-suite-children-p
(function).
skip-testsuite
(method).
test-case-documentation
(generic function).
(setf test-case-documentation)
(generic function).
test-case-expects-error-p
(function).
test-case-expects-failure-p
(function).
test-case-expects-problem-p
(function).
test-case-option
(function).
(setf test-case-option)
(function).
test-case-source-file
(generic function).
(setf test-case-source-file)
(generic function).
test-case-source-position
(generic function).
(setf test-case-source-position)
(generic function).
test-case-teardown
(method).
test-case-teardown
(method).
test-case-teardown
(method).
test-code->name-table
(generic function).
(setf test-code->name-table)
(generic function).
test-environment-value
(function).
(setf test-environment-value)
(function).
test-name->code-table
(generic function).
(setf test-name->code-table)
(generic function).
test-name->methods
(generic function).
(setf test-name->methods)
(generic function).
test-report-code
(function).
test-result-property
(function).
(setf test-result-property)
(function).
test-slots
(generic function).
(setf test-slots)
(generic function).
testing-interactively-p
(function).
testsuite-dynamic-variables
(generic function).
(setf testsuite-dynamic-variables)
(generic function).
testsuite-expects-error
(method).
testsuite-expects-failure
(method).
testsuite-function-specs
(generic function).
(setf testsuite-function-specs)
(generic function).
testsuite-setup
(method).
testsuite-setup
(method).
testsuite-teardown
(method).
testsuite-teardown
(method).
lift/dev/copy-file.lisp
dev
(module).
*stream-buffer-size*
(special variable).
copy-file
(function).
copy-stream
(function).
move-file
(function).
source/target-file-error
(condition).
source/target-source-does-not-exist-error
(condition).
source/target-target-already-exists-error
(condition).
lift/dev/random-testing.lisp
lift.lisp
(file).
dev
(module).
a-double-float
(class).
a-single-float
(class).
a-symbol
(class).
an-integer
(class).
defrandom-instance
(macro).
ensure-random-cases
(macro).
ensure-random-cases+
(macro).
ensure-random-cases-failure
(condition).
random-element
(generic function).
random-instance-for-suite
(generic function).
random-number
(generic function).
+a-double-float+
(special variable).
+a-single-float+
(special variable).
+a-symbol+
(special variable).
+an-integer+
(special variable).
build-random-instances-method
(function).
lift/dev/measuring.lisp
dev
(module).
count-repetitions
(function).
generate-log-entry
(function).
measure-conses
(macro).
measure-time
(macro).
generate-profile-log-entry
(function).
make-profiled-function
(function).
measure
(macro).
measure-fn
(function).
measure-time-and-conses
(macro).
standard-log-data
(function).
with-measuring
(macro).
lift/dev/config.lisp
lift.lisp
(file).
dev
(module).
*current-asdf-system-name*
(special variable).
handle-config-preference
(generic function).
%run-tests-from-file
(function).
*config-dribble-pathname*
(special variable).
*current-configuration-stream*
(special variable).
current-user
(function).
find-generic-test-configuration
(function).
generate-report-summary-pathname
(generic function).
handle-configuration-problem
(function).
lift-relative-pathname
(function).
massage-arguments
(function).
report-pathname
(generic function).
report-summary-pathname
(function).
run-tests-from-file
(function).
translate-user
(function).
validate-report-property
(generic function).
lift/dev/reports.lisp
lift.lisp
(file).
copy-file.lisp
(file).
dev
(module).
*log-detail-hooks*
(special variable).
*log-footer-hooks*
(special variable).
*log-header-hooks*
(special variable).
add-report-hook-for
(function).
report-hooks-for
(function).
(setf report-hooks-for)
(function).
%test-result-report-stream
(function).
*html-meta*
(special variable).
*report-environment*
(special variable).
*report-hooks*
(special variable).
brief-problem-output
(method).
brief-problem-output
(method).
build-issues-report
(function).
collect-testsuite-summary-for-log
(function).
details-link
(function).
end-report-output
(generic function).
ensure-symbol
(function).
extra-info
(method).
extra-info
(method).
extra-info
(method).
finish-report-tests-by-suite
(method).
finish-report-tests-by-suite
(method).
finish-report-tests-by-suite
(method).
generate-detailed-reports
(generic function).
get-details-links-table
(function).
html-footer
(function).
html-header
(generic function).
make-report-environment
(function).
problem-summarization
(method).
problem-summarization
(method).
report-test-case-by-suite
(method).
report-test-case-by-suite
(method).
report-test-case-by-suite
(method).
report-test-case-by-suite
(method).
report-test-case-by-suite
(method).
report-test-suite-by-suite
(method).
report-test-suite-by-suite
(method).
report-test-suite-by-suite
(method).
report-test-suite-by-suite
(method).
report-test-suite-by-suite
(method).
report-tests-by-suite
(function).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
result-summary-tag
(method).
save-configuration-file
(method).
save-configuration-file
(method).
start-report-output
(generic function).
summarize-test-environment
(generic function).
summarize-test-problems
(generic function).
summarize-test-problems-of-type
(generic function).
summarize-test-result
(generic function).
summarize-tests-run
(generic function).
test-case-skipped-p
(function).
test-result-report
(generic function).
thing-names-generic-function-p
(function).
wrap-encode-pre
(function).
write-log-footer
(function).
write-log-header
(function).
write-log-test
(generic function).
write-log-test-end
(method).
write-log-test-start
(method).
write-profile-report
(function).
lift/dev/introspection.lisp
lift.lisp
(file).
dev
(module).
find-test-case
(generic function).
find-testsuite
(generic function).
last-test-status
(function).
liftpropos
(function).
list-tests
(function).
map-testsuites
(function).
print-tests
(function).
suite-tested-p
(function).
testsuite-p
(method).
testsuite-p
(method).
testsuite-p
(method).
testsuites
(function).
build-issues-list
(function).
collect-test-cases
(function).
collect-testsuites
(function).
divide-cases
(function).
find-test-cases
(generic function).
map-test-cases
(function).
massage-condition-string
(function).
report-issues
(function).
rewrite-unreadables
(function).
suites-in-cases
(function).
suites-in-portion
(function).
suites-in-portions
(function).
test-case-count
(method).
test-case-p
(function).
test-case-tested-p
(function).
test-results
(function).
test-successes
(function).
testsuite-methods
(method).
testsuite-methods
(method).
testsuite-methods
(method).
testsuite-test-count
(function).
lift/dev/test-runner.lisp
lift.lisp
(file).
dev
(module).
*in-middle-of-failure?*
(special variable).
do-testing
(method).
do-testing-in-environment
(function).
handle-error-while-testing
(function).
maybe-add-dribble
(function).
run-test-internal
(function).
run-tests-internal
(function).
testsuite-run
(function).
Packages are listed by definition order.
lift
com.metabang.trivial-timeout
.
common-lisp
.
*break-on-redefinition*
(special variable).
*count-calls-p*
(special variable).
*current-asdf-system-name*
(special variable).
*current-test*
(special variable).
*lift-debug-output*
(special variable).
*lift-dribble-pathname*
(special variable).
*lift-equality-test*
(special variable).
*lift-report-pathname*
(special variable).
*log-detail-hooks*
(special variable).
*log-footer-hooks*
(special variable).
*log-header-hooks*
(special variable).
*log-path*
(special variable).
*log-tag*
(special variable).
*profile-style*
(special variable).
*test-break-on-errors?*
(special variable).
*test-break-on-failures?*
(special variable).
*test-describe-if-not-successful?*
(special variable).
*test-evaluate-when-defined?*
(special variable).
*test-ignore-warnings?*
(special variable).
*test-maximum-error-count*
(special variable).
*test-maximum-failure-count*
(special variable).
*test-maximum-time*
(special variable).
*test-notepad*
(special variable).
*test-print-length*
(special variable).
*test-print-level*
(special variable).
*test-print-test-case-names*
(special variable).
*test-print-testsuite-names*
(special variable).
*test-print-when-defined?*
(special variable).
*test-result*
(special variable).
*test-scratchpad*
(special variable).
*test-show-code-p*
(special variable).
*test-show-details-p*
(special variable).
*test-show-expected-p*
(special variable).
a-double-float
(class).
a-single-float
(class).
a-symbol
(class).
add-report-hook-for
(function).
addbenchmark
(macro).
addtest
(macro).
an-integer
(class).
count-repetitions
(function).
defmeasure
(macro).
defrandom-instance
(macro).
deftestsuite
(macro).
describe-test-result
(generic function).
do-test
(generic function).
ensure
(macro).
ensure-cases
(macro).
ensure-cases-failure
(condition).
ensure-condition
(macro).
ensure-different
(macro).
ensure-error
(macro).
ensure-expected-condition
(condition).
ensure-expected-no-warning-condition
(condition).
ensure-failed-error
(condition).
ensure-no-warning
(macro).
ensure-not-same
(condition).
ensure-null
(macro).
ensure-null-failed-error
(condition).
ensure-random-cases
(macro).
ensure-random-cases+
(macro).
ensure-random-cases-failure
(condition).
ensure-same
(macro).
ensure-same
(condition).
ensure-warning
(macro).
errors
(generic reader).
(setf errors)
(generic writer).
expected-errors
(generic reader).
(setf expected-errors)
(generic writer).
expected-failures
(generic reader).
(setf expected-failures)
(generic writer).
failed-comparison-condition
(condition).
failures
(generic reader).
(setf failures)
(generic writer).
find-test-case
(generic function).
find-testsuite
(generic function).
generate-log-entry
(function).
handle-config-preference
(generic function).
last-test-status
(function).
lift-property
(function).
(setf lift-property)
(function).
liftpropos
(function).
list-tests
(function).
log-results-mixin
(class).
make-test-result
(generic function).
map-testsuites
(function).
measure-conses
(macro).
measure-time
(macro).
print-tests
(function).
random-element
(generic function).
random-instance-for-suite
(generic function).
random-number
(generic function).
remove-test
(function).
report-hooks-for
(function).
(setf report-hooks-for)
(function).
result-uuid
(generic reader).
(setf result-uuid)
(generic writer).
run-test
(function).
run-tests
(function).
setup-test
(generic function).
skipped-test-cases
(generic reader).
(setf skipped-test-cases)
(generic writer).
skipped-testsuites
(generic reader).
(setf skipped-testsuites)
(generic writer).
suite-tested-p
(function).
test-case-ambiguous
(condition).
test-case-not-defined
(condition).
test-condition
(generic reader).
test-condition
(condition).
test-mixin
(class).
test-result
(class).
test-timeout-condition
(condition).
testsuite-ambiguous
(condition).
testsuite-log-data
(generic function).
testsuite-not-defined
(condition).
testsuite-p
(generic function).
testsuite-tests
(generic function).
(setf testsuite-tests)
(generic function).
testsuites
(function).
undefmeasure
(macro).
unexpected-success-failure
(condition).
while-counting-events
(macro).
while-counting-events*
(macro).
while-counting-repetitions
(macro).
while-counting-repetitions*
(macro).
while-measuring
(macro).
with-profile-report
(macro).
write-profile-information
(generic function).
%build-ensure-comparison
(function).
%build-pairs
(function).
%run-tests-from-file
(function).
%start-test-case
(function).
%start-test-suite
(function).
%test-result-report-stream
(function).
%total-bytes-allocated
(function).
%valid-run-setup-values
(function).
*code-blocks*
(special variable).
*config-dribble-pathname*
(special variable).
*current-configuration-stream*
(special variable).
*current-definition*
(special variable).
*current-test-case-name*
(special variable).
*current-testsuite-name*
(special variable).
*current-user*
(special variable).
*deftest-clauses*
(special variable).
*functions-to-profile*
(special variable).
*hostname*
(special variable).
*html-meta*
(special variable).
*in-middle-of-failure?*
(special variable).
*last-test-case-name*
(special variable).
*last-testsuite-name*
(special variable).
*lift-if-dribble-exists*
(special variable).
*lift-standard-output*
(special variable).
*measures*
(special variable).
*profiling-threshold*
(special variable).
*report-environment*
(special variable).
*report-hooks*
(special variable).
*skip-tests*
(special variable).
*stream-buffer-size*
(special variable).
*test-case-options*
(special variable).
*test-is-being-compiled?*
(special variable).
*test-is-being-defined?*
(special variable).
*test-is-being-executed?*
(special variable).
*test-is-being-loaded?*
(special variable).
*test-metadata*
(special variable).
*test-run-subsuites?*
(special variable).
*testsuite-test-count*
(special variable).
+a-double-float+
(special variable).
+a-single-float+
(special variable).
+a-symbol+
(special variable).
+an-integer+
(special variable).
+lift-confused-about-arguments+
(special variable).
+lift-could-not-find-test+
(special variable).
+lift-no-current-test-class+
(special variable).
+lift-test-class-not-found+
(special variable).
+lift-test-name-not-supplied-with-test-class+
(special variable).
+lift-unable-to-parse-test-name-and-class+
(special variable).
+run-tests-null-test-case+
(special variable).
+whitespace-characters+
(special variable).
accumulate-problem
(generic function).
add-code-block
(function).
append-to-report
(macro).
backtrace
(generic reader).
block-handler
(generic function).
block-name
(function).
(setf block-name)
(function).
brief-problem-output
(generic function).
build-benchmark-function
(function).
build-issues-list
(function).
build-issues-report
(function).
build-lift-error-message
(function).
build-random-instances-method
(function).
build-setup-test-method
(function).
build-test-case-options
(function).
build-test-class
(function).
build-test-equality-test
(function).
build-test-local-functions
(function).
build-test-teardown-method
(function).
build-test-test-method
(function).
build-testsuite-expected-error
(function).
build-testsuite-expected-failure
(function).
cancel-testing
(function).
canonical-versions-numbers
(function).
canonize-skip-tests
(function).
check-for-surprises
(function).
check-run-setup-value
(function).
class-slot-names
(function).
cleanup-parsed-parameter
(function).
code
(function).
(setf code)
(function).
collect-test-cases
(function).
collect-testsuite-summary-for-log
(function).
collect-testsuites
(function).
compile-quickly
(function).
compute-superclass-inheritence
(function).
configuration-failures
(function).
containing-pathname
(function).
convert-clauses-into-lists
(function).
copy-code-block
(function).
copy-file
(function).
copy-stream
(function).
current-method
(generic reader).
(setf current-method)
(generic writer).
current-profile-sample-count
(function).
current-source-position
(function).
current-step
(generic reader).
(setf current-step)
(generic writer).
current-user
(function).
date-stamp
(function).
def
(function).
(setf def)
(function).
defclass-property
(macro).
defcondition
(macro).
defconfig
(macro).
defconfig-variable
(macro).
deftest
(macro).
details-link
(function).
direct-subclasses
(function).
directory-p
(function).
directory-pathname-p
(function).
divide-cases
(function).
do-testing
(generic function).
do-testing-in-environment
(function).
done-dynamics?
(generic reader).
done-setup?
(generic reader).
dotted-pair-p
(function).
empty-test-tables
(function).
encode-symbol
(function).
end-report-output
(generic function).
end-time
(generic reader).
(setf end-time)
(generic writer).
end-time-universal
(generic reader).
(setf end-time-universal)
(generic writer).
ensure-directory
(function).
ensure-function
(function).
ensure-list
(function).
ensure-string
(function).
ensure-symbol
(function).
equality-test
(generic function).
error-okay-p
(function).
expected-problem-mixin
(class).
extra-info
(generic function).
failure-documentation
(generic reader).
(setf failure-documentation)
(generic writer).
failure-okay-p
(function).
filter
(function).
(setf filter)
(function).
finalize-class-if-necessary
(function).
find-generic-test-configuration
(function).
find-test-cases
(generic function).
finish-report-tests-by-suite
(generic function).
flet-test-function
(generic function).
form-groups
(function).
form-keyword
(function).
form-symbol
(function).
form-symbol-in-package
(function).
format-test-time-for-log
(function).
generate-detailed-reports
(generic function).
generate-profile-log-entry
(function).
generate-report-summary-pathname
(generic function).
get-backtrace
(function).
get-backtrace-as-string
(function).
get-class
(generic function).
get-details-links-table
(function).
get-test-print-length
(function).
get-test-print-level
(function).
get-test-real-time
(function).
handle-configuration-problem
(function).
handle-error-while-testing
(function).
hostname
(function).
html-footer
(function).
html-header
(generic function).
initialize-current-definition
(function).
length-1-list-p
(function).
lift-compile-error
(condition).
lift-relative-pathname
(function).
lift-report-condition
(function).
lisp-version-string
(function).
log-file
(generic reader).
looks-like-suite-name-p
(function).
make-code-block
(function).
make-printable
(function).
make-profiled-function
(function).
make-report-environment
(function).
make-testsuite
(function).
map-subclasses
(function).
map-test-cases
(function).
massage-arguments
(function).
massage-condition-string
(function).
maximum-time
(generic reader).
(setf maximum-time)
(generic writer).
maybe-add-dribble
(function).
maybe-raise-ensure-same-condition
(function).
maybe-raise-not-same-condition
(function).
measure
(macro).
measure-fn
(function).
measure-time-and-conses
(macro).
move-file
(function).
muffle-redefinition-warnings
(macro).
name
(generic reader).
(setf name)
(generic writer).
newlinify
(macro).
operate-when
(function).
(setf operate-when)
(function).
pad-version
(function).
parse-brief-slot
(function).
parse-test-body
(function).
parse-test-slots
(function).
pathname-has-device-p
(function).
pathname-has-host-p
(function).
pathname-sans-name+type
(function).
print-lift-message
(function).
print-test-problem
(generic function).
print-test-result-details
(function).
print-test-summary
(function).
priority
(function).
(setf priority)
(function).
problem-summarization
(generic function).
process-test-mixin
(class).
profile
(generic reader).
(setf profile)
(generic writer).
property-list-p
(function).
real-end-time
(generic reader).
(setf real-end-time)
(generic writer).
real-end-time-universal
(generic reader).
(setf real-end-time-universal)
(generic writer).
real-start-time
(generic reader).
real-start-time-universal
(generic reader).
record-end-times
(function).
record-start-times
(function).
relative-pathname
(function).
remove-leading-quote
(function).
remove-previous-definitions
(function).
remove-test-case-options
(function).
remove-test-methods
(function).
report-issues
(function).
report-lift-error
(function).
report-pathname
(generic function).
report-summary-pathname
(function).
report-test-case-by-suite
(generic function).
report-test-problem
(function).
report-test-suite-by-suite
(generic function).
report-tests-by-suite
(function).
result-summary-tag
(generic function).
results-for
(generic reader).
(setf results-for)
(generic writer).
rewrite-unreadables
(function).
run-setup
(generic reader).
run-setup-p
(function).
run-teardown-p
(function).
run-test-internal
(function).
run-tests-from-file
(function).
run-tests-internal
(function).
safe-find-symbol
(function).
safe-parse-integer
(function).
save-configuration-file
(generic function).
set-definition
(function).
set-test-case-options
(generic function).
show-call-counts
(function).
show-call-graph
(function).
show-flat-profile
(function).
signal-lift-error
(function).
skip-test-case
(generic function).
skip-test-case-p
(function).
skip-test-suite-children-p
(function).
skip-testsuite
(generic function).
source/target-file-error
(condition).
source/target-source-does-not-exist-error
(condition).
source/target-target-already-exists-error
(condition).
split
(function).
standard-log-data
(function).
start-report-output
(generic function).
start-time
(generic reader).
(setf start-time)
(generic writer).
start-time-universal
(generic reader).
(setf start-time-universal)
(generic writer).
string-trim-if
(function).
strip-whitespace
(function).
subclasses
(function).
suites-in-cases
(function).
suites-in-portion
(function).
suites-in-portions
(function).
suites-run
(generic reader).
(setf suites-run)
(generic writer).
summarize-test-environment
(generic function).
summarize-test-problems
(generic function).
summarize-test-problems-of-type
(generic function).
summarize-test-result
(generic function).
summarize-tests-run
(generic function).
superclasses
(function).
symbol-apply
(function).
test-case-count
(generic function).
test-case-documentation
(generic function).
(setf test-case-documentation)
(generic function).
test-case-expects-error-p
(function).
test-case-expects-failure-p
(function).
test-case-expects-problem-p
(function).
test-case-option
(function).
(setf test-case-option)
(function).
test-case-p
(function).
test-case-skipped-p
(function).
test-case-source-file
(generic function).
(setf test-case-source-file)
(generic function).
test-case-source-position
(generic function).
(setf test-case-source-position)
(generic function).
test-case-teardown
(generic function).
test-case-tested-p
(function).
test-code->name-table
(generic function).
(setf test-code->name-table)
(generic function).
test-configuration-error
(class).
test-configuration-failure
(class).
test-configuration-problem-mixin
(class).
test-data
(generic reader).
(setf test-data)
(generic writer).
test-environment-value
(function).
(setf test-environment-value)
(function).
test-error
(class).
test-error-mixin
(class).
test-expected-error
(class).
test-expected-failure
(class).
test-failure
(class).
test-failure-mixin
(class).
test-function-name
(function).
test-interactive?
(generic reader).
(setf test-interactive?)
(generic writer).
test-method
(generic reader).
test-mode
(generic reader).
(setf test-mode)
(generic writer).
test-name->code-table
(generic function).
(setf test-name->code-table)
(generic function).
test-name->methods
(generic function).
(setf test-name->methods)
(generic function).
test-problem-kind
(generic function).
test-problem-message
(generic reader).
test-problem-mixin
(class).
test-report-code
(function).
test-result-properties
(generic reader).
(setf test-result-properties)
(generic writer).
test-result-property
(function).
(setf test-result-property)
(function).
test-result-report
(generic function).
test-results
(function).
test-serious-condition
(class).
test-slots
(generic function).
(setf test-slots)
(generic function).
test-source-file
(generic reader).
(setf test-source-file)
(generic writer).
test-step
(generic reader).
test-successes
(function).
test-timeout-failure
(class).
testcase-skipped
(class).
testing-interactively-p
(function).
tests-run
(generic reader).
(setf tests-run)
(generic writer).
testsuite
(generic reader).
testsuite-dynamic-variables
(generic function).
(setf testsuite-dynamic-variables)
(generic function).
testsuite-error
(class).
testsuite-expects-error
(generic function).
testsuite-expects-failure
(generic function).
testsuite-failure
(class).
testsuite-failures
(function).
testsuite-function-specs
(generic function).
(setf testsuite-function-specs)
(generic function).
testsuite-initargs
(generic reader).
(setf testsuite-initargs)
(generic writer).
testsuite-methods
(generic function).
testsuite-name
(generic reader).
testsuite-name->method
(generic function).
testsuite-problem-mixin
(class).
testsuite-run
(function).
testsuite-serious-condition
(class).
testsuite-setup
(generic function).
testsuite-skipped
(class).
testsuite-teardown
(generic function).
testsuite-test-count
(function).
thing-names-generic-function-p
(function).
total-bytes-allocated
(function).
translate-user
(function).
unique-directory
(function).
unique-filename
(function).
validate-report-property
(generic function).
version-numbers
(function).
version<
(function).
version<=
(function).
version=
(function).
version>
(function).
version>=
(function).
while-measuring-1
(macro).
whitespacep
(function).
with-measuring
(macro).
with-profile-report-fn
(function).
with-test-slots
(macro).
wrap-encode-pre
(function).
writable-directory-p
(function).
write-log-footer
(function).
write-log-header
(function).
write-log-test
(generic function).
write-log-test-end
(generic function).
write-log-test-start
(generic function).
write-profile-report
(function).
com.metabang.trivial-timeout
trivial-timeout
common-lisp
.
lift
.
timeout-error
(condition).
with-timeout
(macro).
build-with-timeout
(function).
generate-platform-specific-code
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
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.
lift
.
Messages from LIFT will be sent to this stream. It can set to nil or to an output stream. It defaults to *debug-io*.
lift
.
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.
lift
.
The function used in ensure-same to test if two things are equal. If metatilities is loaded, then you might want to use samep.
lift
.
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 ...
lift
.
lift
.
If set, this is used to tag generated log information.
lift
.
Sets the default profiling style to :time, :space, or nil (for no profiling).
lift
.
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.
lift
.
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.
lift
.
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\*][].
lift
.
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\*][].
lift
.
Maximum number of seconds a process test is allowed to run before we give up.
lift
.
Another place to put things (see {ref *test-scratchpad*}).
lift
.
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*‘.
lift
.
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.
lift
.
If true, LIFT will print the name of each test-case before it runs. See also: *test-print-testsuite-names*.
lift
.
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*.
lift
.
Set to the most recent test result by calls to run-test or run-tests.
lift
.
A place to put things. This is set to nil before every test.
lift
.
Adds a single new test-benchmark to testsuite suite-name.
Adds a single new test-case to the most recently defined testsuite.
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.
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)
lift
.
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.
lift
.
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.
lift
.
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
lift
.
Ensure-error evaluates its body. If the body does *not* signal an error, then ensure-error will generate a test failure.
lift
.
This macro is used to make sure that body produces no warning.
lift
.
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.
lift
.
lift
.
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
lift
.
Ensure-warning evaluates its body. If the body does *not* signal a warning, then ensure-warning will generate a test failure.
lift
.
Returns the count of the number of times ‘did-event‘ was called during ‘delay‘ seconds. See also: [while-counting-repetitions][].
lift
.
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.
lift
.
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.
lift
.
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.
lift
.
lift
.
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.
lift
.
Returns a list of testsuites whose name contains ‘string‘.
lift
.
Lists all of the defined test classes from :start-at on down.
lift
.
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.
lift
.
Prints all of the defined test classes from :start-at on down.
lift
.
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.
lift
.
Run all of the tests in a suite.
lift
.
Returns a list of testsuite classes. The optional parameter provides control over where in the test hierarchy the search begins.
lift
.
lift
.
lift
.
test-mixin
) name result) ¶process-test-mixin
) name result) ¶test-mixin
) name result) ¶lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
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][].
lift
.
standard-class
) (name string
) &key errorp) ¶test-mixin
) (name string
) &key errorp) ¶standard-class
) (name symbol
) &key errorp) ¶test-mixin
) name &key errorp) ¶null
) name &key errorp) ¶symbol
) name &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.
lift
.
string
) &key errorp) ¶symbol
) &key errorp) ¶test-mixin
) &key errorp) ¶lift
.
(eql :skip-tests)
) args) ¶(eql :skip-testsuites)
) args) ¶(eql :skip-tests-reset)
) args) ¶(eql :untrace)
) args) ¶(eql :trace)
) args) ¶(eql :build-report)
) args) ¶(eql :profile-style)
) args) ¶(eql :maximum-error-count)
) args) ¶(eql :maximum-errors)
) args) ¶(eql :maximum-failure-count)
) args) ¶(eql :maximum-failures)
) args) ¶(eql :log-pathname)
) args) ¶(eql :count-calls-p)
) args) ¶(eql :profiling-threshold)
) args) ¶(eql :report-property)
) args) ¶(eql :if-dribble-exists)
) args) ¶(eql :print-test-case-names)
) args) ¶(eql :print-suite-names)
) args) ¶(eql :print-level)
) args) ¶(eql :print-length)
) args) ¶(eql :equality-test)
) args) ¶(eql :do-children?)
) args) ¶(eql :break-on-failures?)
) args) ¶(eql :break-on-errors?)
) args) ¶(eql :standard-output)
) args) ¶(eql :debug-output)
) args) ¶(eql :dribble)
) args) ¶(eql :log-tag)
) args) ¶(eql :include)
) args) ¶lift
.
a-symbol
) (suite test-mixin
)) ¶a-double-float
) (suite test-mixin
)) ¶a-single-float
) (suite test-mixin
)) ¶an-integer
) (suite test-mixin
)) ¶lift
.
test-result
)) ¶automatically generated reader method
uuid
.
lift
.
test-result
)) ¶automatically generated writer method
uuid
.
Setup for a test-case. By default it does nothing.
lift
.
test-mixin
)) ¶test-mixin
)) ¶test-mixin
)) ¶lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
testsuite-problem-mixin
)) ¶automatically generated reader method
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.
test-result
) stream) ¶test-mixin
) &rest initargs &key &allow-other-keys) ¶test-mixin
) stream) ¶test-result
) stream) ¶test-configuration-problem-mixin
) stream) ¶testsuite-problem-mixin
) stream) ¶test-problem-mixin
) stream) ¶An error signaled when the duration specified in the [with-timeout][] is exceeded.
error
.
A test suite
lift
.
(setf current-method)
.
current-method
.
do-test
.
do-test
.
do-testing
.
done-dynamics?
.
done-setup?
.
equality-test
.
find-test-case
.
find-test-case
.
find-testsuite
.
initialize-instance
.
log-file
.
(setf name)
.
name
.
print-object
.
(setf profile)
.
profile
.
random-instance-for-suite
.
random-instance-for-suite
.
random-instance-for-suite
.
random-instance-for-suite
.
run-setup
.
setup-test
.
setup-test
.
setup-test
.
test-case-teardown
.
test-case-teardown
.
(setf test-data)
.
test-data
.
(setf test-source-file)
.
test-source-file
.
testsuite-expects-error
.
testsuite-expects-failure
.
testsuite-methods
.
testsuite-name
.
testsuite-setup
.
testsuite-setup
.
testsuite-teardown
.
testsuite-teardown
.
Initarg | Value |
---|---|
:run-setup | once-per-test-case |
:name
This slot is read-only.
This slot is read-only.
:test-source-file
lift:*profile-style*
:profile
A ‘test-result‘ instance contains all of the information collectd by LIFT during a test run.
lift
.
(setf current-step)
.
current-step
.
describe-object
.
(setf end-time)
.
end-time
.
(setf end-time-universal)
.
end-time-universal
.
(setf errors)
.
errors
.
(setf expected-errors)
.
expected-errors
.
(setf expected-failures)
.
expected-failures
.
(setf failures)
.
failures
.
print-object
.
(setf real-end-time)
.
real-end-time
.
(setf real-end-time-universal)
.
real-end-time-universal
.
real-start-time
.
real-start-time-universal
.
(setf result-uuid)
.
result-uuid
.
(setf results-for)
.
results-for
.
save-configuration-file
.
(setf skipped-test-cases)
.
skipped-test-cases
.
(setf skipped-testsuites)
.
skipped-testsuites
.
(setf start-time)
.
start-time
.
(setf start-time-universal)
.
start-time-universal
.
(setf suites-run)
.
suites-run
.
test-case-teardown
.
test-case-teardown
.
(setf test-interactive?)
.
test-interactive?
.
(setf test-mode)
.
test-mode
.
(setf test-result-properties)
.
test-result-properties
.
(setf tests-run)
.
tests-run
.
(setf testsuite-initargs)
.
testsuite-initargs
.
testsuite-setup
.
testsuite-setup
.
testsuite-teardown
.
testsuite-teardown
.
Initarg | Value |
---|---|
:test-interactive? | *test-is-being-defined?* |
:real-start-time | (get-test-real-time) |
:real-start-time-universal | (get-universal-time) |
:results-for
:single
:test-mode
:test-interactive?
:real-start-time
This slot is read-only.
:real-start-time-universal
This slot is read-only.
:created
:testsuite-initargs
:uuid
An associative-container which saves interesting information about the thing being defined.
lift
.
Specifies what to do to any existing file at *lift-dribble-pathname*. It can be :supersede, :append, or :error.
lift
.
Output from tests will be sent to this stream. If can set to nil or to an output stream. It defaults to *standard-output*.
lift
.
A lift of test-suites and (testsuite test-case) pairs that LIFT will ignore during calls to run-tests.
lift
.
Temporary variable used to ’communicate’ between deftestsuite and addtest.
lift
.
A list of characters that should be treated as whitespace. See, for example, [whitespacep][].
lift
.
Create getter and setter methods for ’property’ on symbol’s property lists.
lift
.
lift
.
The ‘deftest‘ form is obsolete, see [deftestsuite][].
Evaluate the body so that redefinition warnings will not be signaled. (suppored in Allegro, Clozure CL, CLisp, and Lispworks)
lift
.
lift
.
Returns a list of cons-pairs of testsuites and testcases. The optional parameter provides control over where in the test hierarchy the search begins.
lift
.
Compile body with as much extra stuff as possible turned ‘off‘.
For example, compile without cross-reference information.
lift
.
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/"
lift
.
lift
.
Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.
lift
.
copy-seq
.
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.
lift
.
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.
lift
.
lift
.
Returns the immediate subclasses of thing. Thing can be a class, object or symbol naming a class.
lift
.
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.
lift
.
Finalizes thing if necessary. Thing can be a class, object or symbol naming a class. Returns the class of thing.
lift
.
Finds or interns a symbol in the current package whose name is formed by concatenating the pretty printed representation of the names together.
lift
.
Finds or interns a symbol in the current package whose name is formed by concatenating the pretty printed representation of the names together.
lift
.
Finds or interns a symbol in package whose name is formed by concatenating the pretty printed representation of the names together.
lift
.
lift
.
lift
.
lift
.
Merges pathname with either the path to the currently loading system (if there is one) or the *default-pathname-defaults*.
lift
.
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.
lift
.
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.
lift
.
Returns a new pathname with same HOST, DEVICE, DIRECTORY as PATHNAME, and NIL NAME and TYPE components
lift
.
Removes the first quote from a list if one is there.
lift
.
Remove the methods of this class and all its subclasses.
Returns all of the subclasses of the class including the class itself.
lift
.
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.
lift
.
lift
.
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.
lift
.
Returns true if ‘char‘ is an element of [+whitespace-characters+][] and nil otherwise.
lift
.
lift
.
lift
.
lift
.
testsuite-skipped
) result) ¶testcase-skipped
) result) ¶test-expected-error
) result) ¶testsuite-serious-condition
) result) ¶test-serious-condition
) result) ¶testsuite-error
) result) ¶test-error-mixin
) result) ¶test-expected-failure
) result) ¶testsuite-failure
) result) ¶test-failure-mixin
) result) ¶lift
.
test-error-mixin
)) ¶automatically generated reader method
lift
.
test-configuration-problem-mixin
)) ¶testsuite-problem-mixin
)) ¶lift
.
test-mixin
)) ¶automatically generated reader method
lift
.
test-mixin
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-mixin
) result fn) ¶lift
.
test-mixin
)) ¶automatically generated reader method
lift
.
test-mixin
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-mixin
)) ¶lift
.
expected-problem-mixin
)) ¶automatically generated reader method
lift
.
expected-problem-mixin
)) ¶automatically generated writer method
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.
lift
.
test-mixin
)) ¶automatically generated reader method
lift
.
process-test-mixin
)) ¶automatically generated reader method
lift
.
process-test-mixin
)) ¶automatically generated writer method
lift
.
test-mixin
)) ¶automatically generated reader method
name
.
lift
.
test-mixin
)) ¶automatically generated writer method
name
.
lift
.
test-configuration-problem-mixin
) stream show-code-p) ¶testsuite-problem-mixin
) stream show-code-p) ¶lift
.
test-configuration-problem-mixin
)) ¶testsuite-problem-mixin
)) ¶lift
.
test-mixin
)) ¶automatically generated reader method
lift
.
test-mixin
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
(eql :brief)
) stream (suite (eql :configuration)
) test-name datum kind) ¶(eql :brief)
) stream suite test-name datum kind) ¶(eql :html)
) stream (suite (eql :configuration)
) test-name datum kind) ¶(eql :html)
) stream suite test-name datum kind) ¶lift
.
(eql :brief)
) stream remaining current-suite suite kind) ¶(eql :html)
) stream remaining current-suite suite kind) ¶(eql :html)
) stream remaining current-suite (suite (eql :configuration)
) kind) ¶(eql :html)
) stream remaining current-suite suite kind) ¶lift
.
test-expected-error
) style) ¶test-expected-failure
) style) ¶test-serious-condition
) style) ¶testsuite-serious-condition
) style) ¶test-error-mixin
) style) ¶test-failure-mixin
) style) ¶test-problem-mixin
) style) ¶test-expected-error
) (style (eql :brief)
)) ¶test-expected-failure
) (style (eql :brief)
)) ¶test-serious-condition
) (style (eql :brief)
)) ¶testsuite-serious-condition
) (style (eql :brief)
)) ¶test-error-mixin
) (style (eql :brief)
)) ¶test-failure-mixin
) (style (eql :brief)
)) ¶test-problem-mixin
) (style (eql :brief)
)) ¶(eql :brief)
)) ¶lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-mixin
)) ¶automatically generated reader method
lift
.
test-result
) destination) ¶lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
(eql :brief)
)) ¶(eql :save)
)) ¶(eql :describe)
)) ¶(eql :html)
)) ¶Tear-down a test-case. By default it does nothing.
lift
.
progn
.
:most-specific-first
log-results-mixin
) result) ¶test-mixin
) (result test-result
)) ¶test-mixin
) (result test-result
)) ¶lift
.
test-mixin
)) ¶automatically generated reader method
lift
.
test-mixin
)) ¶automatically generated writer method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
testsuite-problem-mixin
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-configuration-error
)) ¶test-configuration-problem-mixin
)) ¶test-expected-failure
)) ¶test-problem-mixin
)) ¶automatically generated reader method
lift
.
test-configuration-problem-mixin
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
test-mixin
)) ¶automatically generated reader method
lift
.
test-mixin
)) ¶automatically generated writer method
lift
.
testsuite-problem-mixin
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
lift
.
testsuite-problem-mixin
)) ¶automatically generated reader method
Returns whether or not the testsuite as a whole expects an error.
lift
.
test-mixin
)) ¶Returns whether or not the testsuite as a whole expects to fail.
lift
.
test-mixin
)) ¶lift
.
testsuite-problem-mixin
)) ¶automatically generated reader method
test-result
)) ¶automatically generated reader method
lift
.
test-result
)) ¶automatically generated writer method
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.
lift
.
standard-class
)) ¶test-mixin
)) ¶symbol
)) ¶lift
.
test-mixin
)) ¶automatically generated reader method
name
.
Setup at the testsuite-level
lift
.
test-mixin
) (result test-result
)) ¶test-mixin
) (result test-result
)) ¶Cleanup at the testsuite level.
lift
.
test-mixin
) (result test-result
)) ¶test-mixin
) (result test-result
)) ¶General condition for file errors that have a source and target.
This error is signaled when the source file does not exist.
lift
.
This error is signaled when the target pathname already exists.
lift
.
lift
.
Initarg | Value |
---|---|
:test-problem-kind | error |
lift
.
Initarg | Value |
---|---|
:test-problem-kind | expected error |
lift
.
Initarg | Value |
---|---|
:test-problem-kind | failure |
lift
.
Initarg | Value |
---|---|
:test-problem-kind | serious condition |
lift
.
Initarg | Value |
---|---|
:test-problem-kind | test case skipped |
lift
.
Initarg | Value |
---|---|
:test-problem-kind | testsuite error |
lift
.
Initarg | Value |
---|---|
:test-problem-kind | testsuite failure |
lift
.
:test-method
This slot is read-only.
:test-condition
This slot is read-only.
:testsuite-initargs
This slot is read-only.
lift
.
Initarg | Value |
---|---|
:test-problem-kind | testsuite serious condition |
lift
.
Initarg | Value |
---|---|
:test-problem-kind | testsuite skipped |
Jump to: | %
(
A B C D E F G H I L M N O P R S T U V W |
---|
Jump to: | %
(
A B C D E F G H I L M N O P R S T U V W |
---|
Jump to: | *
+
A B C D E F L M N P R S T U V |
---|
Jump to: | *
+
A B C D E F L M N P R S T U V |
---|
Jump to: | A C D E F G I L M N P R S T U W |
---|
Jump to: | A C D E F G I L M N P R S T U W |
---|