Coverage report: /home/ellis/comp/core/lib/rt/proto.lisp
Kind | Covered | All | % |
expression | 0 | 14 | 0.0 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;; proto.lisp --- Test Protocols
8
(defgeneric eval-test (self)
9
(:documentation "Eval a `test'."))
11
(defgeneric compile-test (self &key &allow-other-keys)
12
(:documentation "Compile a `test'."))
14
(defgeneric locked-tests (self)
15
(:documentation "Return a list of locked tests in `test-suite' object SELF."))
17
(defgeneric push-test (self place)
19
"Push `test' SELF to the value of slot ':tests' in `test-suite' object PLACE."))
21
(defgeneric pop-test (self)
23
"Pop the first `test' from the slot-value of ':tests' in `test-suite' object SELF."))
25
(defgeneric push-result (self place)
27
"Push object SELF to the value of slot ':results' in object PLACE."))
29
(defgeneric pop-result (self)
31
"Pop the first `test-result' from the slot-value of ':tests' from object SELF."))
33
(defgeneric push-fixture (self place)
35
"Push object SELF to the value of slot ':results' in object PLACE."))
37
(defgeneric delete-test (self &key &allow-other-keys)
38
(:documentation "Delete `test' object specified by `test-object' SELF and optional keys."))
40
(defgeneric find-test (self name &key &allow-other-keys)
41
(:documentation "Find `test' object specified by name and optional keys."))
43
(defgeneric do-test (self &optional context)
44
(:documentation "Run test SELF, printing results to *standard-output*. The second
45
argument is an optional fixture.
47
SELF can also be a `test-suite', in which case the TESTS slot is
48
queried for the value of TEST. If TEST is not provided, pops the car
51
(defgeneric do-suite (self &key &allow-other-keys)
53
"Perform actions on `test-suite' object SELF with optional keys."))
55
(defgeneric make-fixture (kind &rest args &key &allow-other-keys)
57
"Make a FIXTURE object with optional init ARGS."))