projects
/
fiveam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not warn when redefining a test
[fiveam.git]
/
src
/
classes.lisp
diff --git
a/src/classes.lisp
b/src/classes.lisp
index
ada97da
..
964b8db
100644
(file)
--- a/
src/classes.lisp
+++ b/
src/classes.lisp
@@
-25,7
+25,7
@@
((tests :accessor tests :initform (make-hash-table :test 'eql)
:documentation "The hash table mapping names to test
objects in this suite. The values in this hash table
((tests :accessor tests :initform (make-hash-table :test 'eql)
:documentation "The hash table mapping names to test
objects in this suite. The values in this hash table
- can be eitehr test-cases of other test-suites."))
+ can be either test-cases or other test-suites."))
(:documentation "A test suite is a collection of tests or test suites.
Test suites serve to organize tests into groups so that the
(:documentation "A test suite is a collection of tests or test suites.
Test suites serve to organize tests into groups so that the
@@
-41,7
+41,9
@@
suite) in the suite."))
(defclass test-case (testable-object)
((test-lambda :initarg :test-lambda :accessor test-lambda
(defclass test-case (testable-object)
((test-lambda :initarg :test-lambda :accessor test-lambda
- :documentation "The function to run."))
+ :documentation "The function to run.")
+ (runtime-package :initarg :runtime-package :accessor runtime-package
+ :documentation "By default it stores *package* from the time this test was defined (macroexpanded)."))
(:documentation "A test case is a single, named, collection of
checks.
(:documentation "A test case is a single, named, collection of
checks.