Class Test-Mixin

A test suite

Part of:

package lift, class process-test-mixin

Default initargs

:run-setup → #

Direct Subclass

process-test-mixin

Slot

current-methodAccessors:current-method.
current-stepInitform:created; Accessors:current-step.
current-valuesAccessors:current-values.
done-dynamics?Reader:done-dynamics?.
done-setup?Reader:done-setup?.
expected-error-pInitargs::expected-error-p; Reader:expected-error-p.
expected-failure-pInitargs::expected-failure-p; Reader:expected-failure-p.
expected-problem-pInitargs::expected-problem-p; Reader:expected-problem-p.
log-fileInitargs::log-file; Reader:log-file.
nameInitargs::name; Accessors:name; Additional Reader:testsuite-name.
profileAccessors:profile.
prototypesInitform:(list (list)); Accessors:prototypes.
prototypes-initialized?Reader:prototypes-initialized?.
run-setupInitargs::run-setup; Reader:run-setup.
save-equality-testReader:save-equality-test.
suite-initargsAccessors:suite-initargs.
test-dataAccessors:test-data.
test-slot-namesInitargs::test-slot-names; Reader:test-slot-names.

Direct Method

do-testing
do-testing-in-environment
end-test
equality-test
find-test-case
initialize-prototypes

Creates lists of all prototype sets.

initialize-test
lift-test
make-single-prototype
more-prototypes-p

Returns true if another prototype set exists for the case.

next-prototype

Ensures that the test environment has the values of the next prototype set.

random-instance-for-suite
run-test-internal
run-tests-internal
setup-test

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

start-test
teardown-test

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

test-report-code
testsuite-expects-error

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

testsuite-expects-failure

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

testsuite-methods

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

testsuite-run

Run the cases in this suite and it's children.

testsuite-setup

Setup at the testsuite-level

testsuite-teardown

Cleanup at the testsuite level.