fiveam.git
17 years agoAdded :fixture argument to TEST macro
Marco Baringer [Fri, 23 Mar 2007 19:41:33 +0000 (20:41 +0100)]
Added :fixture argument to TEST macro

17 years agoExport results-status
Marco Baringer [Tue, 9 Jan 2007 14:55:26 +0000 (15:55 +0100)]
Export results-status

17 years agoAdd new restart called explain which ignores the rest of the tests and expains the...
Levente Mészáros [Tue, 19 Dec 2006 13:30:12 +0000 (14:30 +0100)]
Add new restart called explain which ignores the rest of the tests and expains the current results.

17 years agoAdded :compile-at parameter for test (:run-time :definition-time)
Attila Lendvai [Wed, 20 Dec 2006 15:10:18 +0000 (16:10 +0100)]
Added :compile-at parameter for test (:run-time :definition-time)

17 years agoRebind *package* also when compiling the tests
Attila Lendvai [Sat, 9 Dec 2006 15:47:34 +0000 (16:47 +0100)]
Rebind *package* also when compiling the tests

17 years agoPrint failed tests in the order of execution
Attila Lendvai [Sat, 9 Dec 2006 15:47:15 +0000 (16:47 +0100)]
Print failed tests in the order of execution

17 years agoAdded :fiveam package nickname
Attila Lendvai [Fri, 10 Nov 2006 21:49:07 +0000 (22:49 +0100)]
Added :fiveam package nickname

17 years agoChange IS's default resaon strings to show the form which didn't
Marco Baringer [Wed, 6 Dec 2006 11:24:49 +0000 (12:24 +0100)]
Change IS's default resaon strings to show the form which didn't
provide the expected value (and, obviously, its value)

17 years agoCan't use &rest in loop destructuring. Use (expected actual . reason) instead.
Marco Baringer [Wed, 6 Dec 2006 10:54:51 +0000 (11:54 +0100)]
Can't use &rest in loop destructuring. Use (expected actual . reason) instead.

17 years agoFIX: gentree typo/unsaved file
Attila Lendvai [Thu, 9 Nov 2006 11:10:33 +0000 (12:10 +0100)]
FIX: gentree typo/unsaved file

17 years agoAdded debug! which is run! but enters the debugger on errors
Attila Lendvai [Tue, 7 Nov 2006 14:21:17 +0000 (15:21 +0100)]
Added debug! which is run! but enters the debugger on errors

17 years agoDo not warn when redefining a test
Attila Lendvai [Mon, 16 Oct 2006 20:30:13 +0000 (22:30 +0200)]
Do not warn when redefining a test

17 years agoAdded a simple gen-tree
Attila Lendvai [Mon, 16 Oct 2006 20:25:52 +0000 (22:25 +0200)]
Added a simple gen-tree

17 years agoFIX: Store *package* at definition time for tests and rebind it at runtime
Attila Lendvai [Sat, 14 Oct 2006 15:31:22 +0000 (17:31 +0200)]
FIX: Store *package* at definition time for tests and rebind it at runtime

17 years agoExtended the 'is' macro to support multiple values
Attila Lendvai [Sun, 1 Oct 2006 17:47:55 +0000 (19:47 +0200)]
Extended the 'is' macro to support multiple values

(is (equal (decode-universal-time (universal-time (encode-local-time 1 2 3 4 5 6 2008)))
           (values 2 3 4 5 6 2008 3 * *)))
the expressions' result is converted to list with mutliple-value-list and then the predicate
is applied to the two lists. *'s are replaced/setf'd to nil.

17 years agoDropped is-equal and is-string=, added is-every
Attila Lendvai [Sun, 1 Oct 2006 17:40:56 +0000 (19:40 +0200)]
Dropped is-equal and is-string=, added is-every

17 years agoAdded is-string=
Attila Lendvai [Sat, 30 Sep 2006 15:54:02 +0000 (17:54 +0200)]
Added is-string=

17 years agoAdded is-equal test
Attila Lendvai [Sat, 30 Sep 2006 15:53:53 +0000 (17:53 +0200)]
Added is-equal test

17 years agoAdded in-suite* that also defines the suite
Attila Lendvai [Sat, 30 Sep 2006 15:53:44 +0000 (17:53 +0200)]
Added in-suite* that also defines the suite

17 years agoAllow to run multiple named tests to be run at once.
Levente Mészáros [Fri, 29 Sep 2006 07:23:33 +0000 (09:23 +0200)]
Allow to run multiple named tests to be run at once.

17 years agoRebind a copy of *readtable* before running a test
Attila Lendvai [Sat, 2 Sep 2006 11:50:23 +0000 (13:50 +0200)]
Rebind a copy of *readtable* before running a test

17 years agoPrinc-ing of Unexpected Error
Kilian Sprotte [Fri, 1 Sep 2006 06:14:39 +0000 (08:14 +0200)]
Princ-ing of Unexpected Error

17 years agoSupport code limit for gen-character
Attila Lendvai [Thu, 31 Aug 2006 16:13:25 +0000 (18:13 +0200)]
Support code limit for gen-character

18 years agoAdedd gen-one-element
Marco Baringer [Sat, 8 Apr 2006 10:00:22 +0000 (12:00 +0200)]
Adedd gen-one-element

18 years agoAdded gen-buffer generator
Marco Baringer [Mon, 13 Mar 2006 21:54:03 +0000 (22:54 +0100)]
Added gen-buffer generator

18 years agoFix (signals error ...), was always passing
Donavon Keithley [Wed, 15 Feb 2006 20:11:41 +0000 (21:11 +0100)]
Fix (signals error ...), was always passing

If the body of the check didn't signal error, PROCESS-FAILURE would. So I
simply moved PROCESS-FAILURE out of the HANDLER-BIND form.

18 years agoFix IS macro's handling of the default (unknown) case
Marco Baringer [Fri, 10 Feb 2006 09:57:55 +0000 (10:57 +0100)]
Fix IS macro's handling of the default (unknown) case

In the list-match-case form we were using _? (which only matches the
symbol _?) instead of ?_ (which matches anything), so the default
clause was never being used.

18 years agoFix bug in defalut handling of IS macro
Marco Baringer [Thu, 2 Feb 2006 11:12:38 +0000 (12:12 +0100)]
Fix bug in defalut handling of IS macro

18 years agoAdded tests for FOR-ALL
Marco Baringer [Thu, 26 Jan 2006 12:10:26 +0000 (13:10 +0100)]
Added tests for FOR-ALL

18 years agoAllow for-all bindings to be lists used with destructuring-bind
Marco Baringer [Thu, 26 Jan 2006 12:09:47 +0000 (13:09 +0100)]
Allow for-all bindings to be lists used with destructuring-bind

18 years agoFix stupid bug in gen-character
Marco Baringer [Thu, 26 Jan 2006 12:04:26 +0000 (13:04 +0100)]
Fix stupid bug in gen-character

18 years agoDocument what happens when re-evaluating def-suite and make-suite.
Marco Baringer [Thu, 26 Jan 2006 11:53:38 +0000 (12:53 +0100)]
Document what happens when re-evaluating def-suite and make-suite.

18 years agoTypo: Use *run-test-when-defined* in test macro. (Reported by: Gary King <gwking...
Marco Baringer [Tue, 24 Jan 2006 15:24:45 +0000 (16:24 +0100)]
Typo: Use *run-test-when-defined* in test macro. (Reported by: Gary King <gwking@metabang.com>)

18 years agoExport *run-test-when-defined*
Marco Baringer [Tue, 24 Jan 2006 15:24:34 +0000 (16:24 +0100)]
Export *run-test-when-defined*

18 years agoAdded *run-test-when-defined* variable.
Marco Baringer [Tue, 24 Jan 2006 14:03:52 +0000 (15:03 +0100)]
Added *run-test-when-defined* variable.

This new variable causes tests to be (using run!) as soon as they are
defined. Test suites must still be run explicitly. Idea blatenly
stolen from LIFT.

18 years agoExport gen-float and gen-list
Marco Baringer [Tue, 24 Jan 2006 12:45:38 +0000 (13:45 +0100)]
Export gen-float and gen-list

18 years agoDrop us of defgenerator, document the generators.
Marco Baringer [Tue, 24 Jan 2006 12:21:32 +0000 (13:21 +0100)]
Drop us of defgenerator, document the generators.

18 years agoAdded gen-float
Marco Baringer [Tue, 24 Jan 2006 12:17:28 +0000 (13:17 +0100)]
Added gen-float

18 years agoUse defgenerator and not defun for gen-list and gen-string
Marco Baringer [Tue, 24 Jan 2006 11:53:39 +0000 (12:53 +0100)]
Use defgenerator and not defun for gen-list and gen-string

18 years agoTEST macro now recompiles the body on every run.
Marco Baringer [Tue, 24 Jan 2006 11:38:10 +0000 (12:38 +0100)]
TEST macro now recompiles the body on every run.

This idea, blatenly stolen from LispUnit, ensures that tests will
always use the latest macro definitions.

18 years agoFix thinko in test's docstring
Marco Baringer [Tue, 24 Jan 2006 11:37:54 +0000 (12:37 +0100)]
Fix thinko in test's docstring

18 years agoDefault minimum for gen-integer is most-negative-fixnum - 1, not most-negative-fixnum...
Marco Baringer [Tue, 24 Jan 2006 11:37:15 +0000 (12:37 +0100)]
Default minimum for gen-integer is most-negative-fixnum - 1, not most-negative-fixnum + 1.

18 years agoUpdate copyright notices to 2006
Marco Baringer [Mon, 23 Jan 2006 12:39:41 +0000 (13:39 +0100)]
Update copyright notices to 2006

18 years agoFix api-breakage in SIGNALS.
Marco Baringer [Sun, 22 Jan 2006 15:28:57 +0000 (16:28 +0100)]
Fix api-breakage in SIGNALS.

SIGNALS now can accept the same parameters as before plus the new
reason and reason-control parameters

18 years agoMinor qbook fixups in random.lisp
Marco Baringer [Sun, 22 Jan 2006 15:28:42 +0000 (16:28 +0100)]
Minor qbook fixups in random.lisp

18 years agoExport EXPLAIN!
Marco Baringer [Sun, 22 Jan 2006 15:28:33 +0000 (16:28 +0100)]
Export EXPLAIN!

18 years agoAdded t/examples.lisp to the qbook output
Marco Baringer [Sun, 22 Jan 2006 15:27:50 +0000 (16:27 +0100)]
Added t/examples.lisp to the qbook output

18 years agoAdded docs directory
Marco Baringer [Sun, 22 Jan 2006 15:27:29 +0000 (16:27 +0100)]
Added docs directory

18 years agoAllow SIGNALS marco to have a description
Marco Baringer [Fri, 20 Jan 2006 17:35:10 +0000 (18:35 +0100)]
Allow SIGNALS marco to have a description

18 years agoMade run!'s first argument optional (defaults to *suite*)
Marco Baringer [Fri, 20 Jan 2006 17:26:39 +0000 (18:26 +0100)]
Made run!'s first argument optional (defaults to *suite*)

18 years agoAdded :alphanumericp keyword to gen-character
Marco Baringer [Fri, 20 Jan 2006 17:26:25 +0000 (18:26 +0100)]
Added :alphanumericp keyword to gen-character

18 years agoRemoved fail-guard-conditions tset from example code
Marco Baringer [Fri, 20 Jan 2006 09:39:04 +0000 (10:39 +0100)]
Removed fail-guard-conditions tset from example code

18 years agoAdded *num-trials*, *max-trials* and checking of whether the test code is ever run...
Marco Baringer [Fri, 20 Jan 2006 09:38:15 +0000 (10:38 +0100)]
Added *num-trials*, *max-trials* and checking of whether the test code is ever run in a FOR-ALL test

18 years agoRemove silly debugging forms from example.lisp
Marco Baringer [Fri, 20 Jan 2006 09:29:56 +0000 (10:29 +0100)]
Remove silly debugging forms from example.lisp

18 years agoMispelt file in fiveam.asd
Marco Baringer [Fri, 20 Jan 2006 09:29:24 +0000 (10:29 +0100)]
Mispelt file in fiveam.asd

18 years agoInitial version of random testing
Marco Baringer [Thu, 19 Jan 2006 18:58:36 +0000 (19:58 +0100)]
Initial version of random testing

18 years agoalternative implementation of *debug-on-failure* (without spurious call frames)
Peter Gijsels [Thu, 19 Jan 2006 00:02:52 +0000 (01:02 +0100)]
alternative implementation of *debug-on-failure* (without spurious call frames)

18 years agoUNDO: Added *debug-on-failure* (Suggested by: Peter Gijsels <peter.gijsels@gmail...
Marco Baringer [Wed, 18 Jan 2006 14:42:25 +0000 (15:42 +0100)]
UNDO: Added *debug-on-failure* (Suggested by: Peter Gijsels <peter.gijsels@gmail.com>)

18 years agoAdded *debug-on-failure* (Suggested by: Peter Gijsels <peter.gijsels@gmail.com>)
Marco Baringer [Wed, 18 Jan 2006 14:42:25 +0000 (15:42 +0100)]
Added *debug-on-failure* (Suggested by: Peter Gijsels <peter.gijsels@gmail.com>)

18 years agoFix a few typos in the docs. (Reported by: Peter Gijsels <peter.gijsels@gmail.com>)
Marco Baringer [Wed, 18 Jan 2006 11:14:14 +0000 (12:14 +0100)]
Fix a few typos in the docs. (Reported by: Peter Gijsels <peter.gijsels@gmail.com>)

18 years agominor indentation fix
Marco Baringer [Wed, 18 Jan 2006 10:47:06 +0000 (11:47 +0100)]
minor indentation fix

18 years agominor qbook fixup
Marco Baringer [Wed, 18 Jan 2006 10:46:52 +0000 (11:46 +0100)]
minor qbook fixup

18 years agoSet the default-reason-args in all the various forms the IS macro handles
Marco Baringer [Wed, 18 Jan 2006 10:11:16 +0000 (11:11 +0100)]
Set the default-reason-args in all the various forms the IS macro handles

18 years agoFix annoying and hard to track down double evaluation bug in the IS macro.
Marco Baringer [Wed, 14 Dec 2005 19:01:09 +0000 (20:01 +0100)]
Fix annoying and hard to track down double evaluation bug in the IS macro.

18 years agoInitialize the test-expr slot for unexpected-error errors.
Marco Baringer [Sat, 10 Dec 2005 14:43:27 +0000 (15:43 +0100)]
Initialize the test-expr slot for unexpected-error errors.

18 years agoSupply slightly less cryptic error messages when mispelling the name of a fixture...
Marco Baringer [Sat, 10 Dec 2005 14:41:19 +0000 (15:41 +0100)]
Supply slightly less cryptic error messages when mispelling the name of a fixture passed to with-fixture

18 years agoAdd the *verbose-failures* flag
Chris Dean [Fri, 9 Dec 2005 07:38:54 +0000 (08:38 +0100)]
Add the *verbose-failures* flag

18 years agoEscape { and } chars in baring regexps
Marco Baringer [Sat, 5 Nov 2005 15:58:04 +0000 (16:58 +0100)]
Escape { and } chars in baring regexps

18 years agoremove debian/ folder
Luca Capello [Fri, 28 Oct 2005 10:42:01 +0000 (12:42 +0200)]
remove debian/ folder

The CL-Debian group decided to avoid Debian native packages.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310665

18 years agoComments talked about #+fiveame, code said #+5am. correct comments.
Marco Baringer [Wed, 17 Aug 2005 06:12:50 +0000 (08:12 +0200)]
Comments talked about #+fiveame, code said #+5am. correct comments.

18 years agoAdd :fiveam to *features*
Alan Shields [Tue, 16 Aug 2005 18:44:54 +0000 (20:44 +0200)]
Add :fiveam to *features*
I've found that I prefer to add testing code in my other code, but I dislike
adding :fiveam to my package requirements list.

This allows users of fiveam to delineate testing code with #+fiveam() - whereupon
it will be totally ignored by those who do not have fiveam.

Happiness for all and love ensue.

18 years agoFix bugs in the handling and reporting of unexpected errors
Marco Baringer [Wed, 10 Aug 2005 10:11:54 +0000 (12:11 +0200)]
Fix bugs in the handling and reporting of unexpected errors

18 years agoThe default value of *debug-on-error* should be NIL, not T
Marco Baringer [Wed, 20 Jul 2005 08:53:46 +0000 (10:53 +0200)]
The default value of *debug-on-error* should be NIL, not T

18 years agoInitial import of FiveAM code. This is exactly equal to to bese-2004@common-lisp...
Marco Baringer [Wed, 20 Jul 2005 08:43:55 +0000 (10:43 +0200)]
Initial import of FiveAM code. This is exactly equal to to bese-2004@common-lisp.net/FiveAM--dev--1.2--patch-20

18 years agoSetup the .boring file
Marco Baringer [Wed, 20 Jul 2005 08:41:43 +0000 (10:41 +0200)]
Setup the .boring file