From a03a3663a16ee9afdc6fa790c453567a9330977c Mon Sep 17 00:00:00 2001 From: "Thomas M. Hermann" Date: Sun, 7 Oct 2012 23:53:26 -0500 Subject: [PATCH] Version 0.8.0 Update some comments to reflect the new documentation. --- lisp-unit.asd | 2 +- lisp-unit.lisp | 27 +++++++-------------------- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/lisp-unit.asd b/lisp-unit.asd index 78edf0a..2de9efd 100644 --- a/lisp-unit.asd +++ b/lisp-unit.asd @@ -26,7 +26,7 @@ (defsystem :lisp-unit :description "Common Lisp library that supports unit testing." - :version "0.7.0" + :version "0.8.0" :author "Thomas M. Hermann " :license "MIT" :components diff --git a/lisp-unit.lisp b/lisp-unit.lisp index dfefa73..c7e781c 100644 --- a/lisp-unit.lisp +++ b/lisp-unit.lisp @@ -20,25 +20,17 @@ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -|# - -;;; A test suite package, modelled after JUnit. -;;; Author: Chris Riesbeck -;;; -;;; Update history: -;;; - -#| How to use ---------- -1. Read the documentation in lisp-unit.html. +1. Read the documentation at: + https://github.com/OdonataResearchLLC/lisp-unit/wiki 2. Make a file of DEFINE-TEST's. See exercise-tests.lisp for many -examples. If you want, start your test file with (REMOVE-TESTS) to -clear any previously defined tests. +examples. If you want, start your test file with (REMOVE-TESTS :ALL) +to clear any previously defined tests. 2. Load this file. @@ -46,22 +38,17 @@ clear any previously defined tests. 3. Load your code file and your file of tests. -4. Test your code with (RUN-TESTS test-name1 test-name2 ...) -- no quotes! -- -or simply (RUN-TESTS) to run all defined tests. +4. Test your code with (RUN-TESTS '(test-name1 test-name2 ...)) or +simply (RUN-TESTS :ALL) to run all defined tests. -A summary of how many tests passed and failed will be printed, -with details on the failures. +A summary of how many tests passed and failed will be printed. Note: Nothing is compiled until RUN-TESTS is expanded. Redefining functions or even macros does not require reloading any tests. -For more information, see lisp-unit.html. - |# -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Packages -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (in-package :cl-user) -- 2.11.4.GIT