This is the stefil+ Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 06:47:11 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
stefil+
Simple Test Framework in Lisp
GrammaTech
Public Domain
asdf-package-system
(system).
stefil+/stefil+
(system).
Files are sorted by type and then listed depth-first from the systems components trees.
stefil+/stefil+/file-type.lisp
stefil+/stefil+
(system).
*long-tests*
(special variable).
*success*
(special variable).
*time-threshold*
(special variable).
defroot
(macro).
defsuite
(macro).
deftest
(macro).
long-running-p
(function).
run-batch
(function).
with-each-fixture
(macro).
with-retries
(macro).
*root-suite*
(special variable).
+long-suite-suffix+
(constant).
check-time
(macro).
find-long-running-suite
(function).
mov-test
(function).
run-child-tests-of
(function).
test-exceeds-threshold-name
(reader method).
test-exceeds-threshold-time
(reader method).
test-exceeds-time-threshold
(condition).
Packages are listed by definition order.
stefil+
gt/full
.
metabang.bind
.
*long-tests*
(special variable).
*success*
(special variable).
*time-threshold*
(special variable).
defroot
(macro).
defsuite
(macro).
deftest
(macro).
long-running-p
(function).
run-batch
(function).
with-each-fixture
(macro).
with-retries
(macro).
*root-suite*
(special variable).
+long-suite-suffix+
(constant).
check-time
(macro).
find-long-running-suite
(function).
mov-test
(function).
run-child-tests-of
(function).
test-exceeds-threshold-name
(generic reader).
test-exceeds-threshold-time
(generic reader).
test-exceeds-time-threshold
(condition).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Control execution of slow tests.
Hold success of the last ‘run-batch’ run.
Time threshold for tests (in seconds).
Define NAME with DOCUMENTATION.
Optional TEST-PRE-CHECK if present should be one of the following:
:SILENT — silently skip this test suite
NIL ——- skip this test suite with the default warning
Otherwise - test-pre-check will be invoked at runtime
return non-nil when the test suite should be run and nil otherwise.
Expands on STEFIL::DEFTEST in these ways:
- Accepts (<test-name> :LONG-RUNNING) in place of <test-name> for the name
- When the test is executed, if the execution time (real time) is longer
than *TIME-THRESHOLD* seconds, a warning is output.
Run BODY with each of multiple fixtures.
Try BODY NUMBER times. If no try returns then return FAILURE. Body is executed inside of an ‘iter’ form, so iteration forms may be present.
Suffix for version of suite which contains long running tests.
Default suite in which ‘sel-suite*’ should define tests.
If elapsed real time of test exceeds *time-threshold*, a warning
is output. In any case, this macro executes BODY and returns any resulting
values.
Determine the name of the long-running suite associated with the passed suite name. If the passed suite name ends with +long-suite-suffix+ it returns the argument.
Move a child test to a different parent.
test-exceeds-time-threshold
)) ¶name
.
test-exceeds-time-threshold
)) ¶time
.
Jump to: | C D F G L M R T W |
---|
Jump to: | C D F G L M R T W |
---|
Jump to: | *
+
C N S T |
---|
Jump to: | *
+
C N S T |
---|
Jump to: | C F P S T |
---|
Jump to: | C F P S T |
---|