projects/fiveam/fiveam.git
5 months agoBetter pretty-printing of failed test result values master
Matthew Curry [Sun, 18 Nov 2012 04:43:41 +0000] 
Better pretty-printing of failed test result values

5 months agoUse package locks on SBCL
Stelian Ionescu [Sun, 18 Nov 2012 04:42:41 +0000] 
Use package locks on SBCL

5 months agoBetter variable name
Stelian Ionescu [Sun, 18 Nov 2012 04:42:30 +0000] 
Better variable name

5 months agoReturn list of failed tests as second value of RUN
Robert Goldman [Sun, 18 Nov 2012 04:40:33 +0000] 
Return list of failed tests as second value of RUN

5 months agoRemove redundant lambda
Stelian Ionescu [Sun, 18 Nov 2012 04:38:54 +0000] 
Remove redundant lambda

8 months agoFix typos.
Olof-Joachim Frahm [Thu, 23 Aug 2012 17:59:53 +0000] 
Fix typos.

9 months agoMove most of the expansion of DEF-TEST into the function REGISTER-TEST
Stelian Ionescu [Sun, 29 Jul 2012 20:27:19 +0000] 
Move most of the expansion of DEF-TEST into the function REGISTER-TEST

That should reduce the size of FASLs containing tests

9 months agoRemove unnecessary REM-FIXTURE in the test suite
Stelian Ionescu [Sun, 29 Jul 2012 20:25:42 +0000] 
Remove unnecessary REM-FIXTURE in the test suite

9 months agoUse DEF-TEST in internal test suite
Stelian Ionescu [Sun, 29 Jul 2012 17:05:18 +0000] 
Use DEF-TEST in internal test suite

9 months agoAdd macro DEF-TEST with a different arglist than TEST and deprecate TEST
Stelian Ionescu [Sun, 29 Jul 2012 17:04:03 +0000] 
Add macro DEF-TEST with a different arglist than TEST and deprecate TEST

LP #1024777

9 months agoRemove warning about fixture redefinition
Stelian Ionescu [Sun, 29 Jul 2012 17:02:20 +0000] 
Remove warning about fixture redefinition

9 months agoFix typo
Stelian Ionescu [Sun, 29 Jul 2012 16:56:53 +0000] 
Fix typo

9 months agoBetter arglists for DEF-FIXTURE and WITH-FIXTURE
Stelian Ionescu [Sun, 29 Jul 2012 16:56:45 +0000] 
Better arglists for DEF-FIXTURE and WITH-FIXTURE

9 months agoFix typo
Stelian Ionescu [Sun, 29 Jul 2012 15:51:47 +0000] 
Fix typo

9 months agoCreate named test lambdas
Stelian Ionescu [Sun, 29 Jul 2012 15:38:51 +0000] 
Create named test lambdas

LP #1024772

11 months agoRelease 1.0 v1.0
Stelian Ionescu [Fri, 1 Jun 2012 20:27:26 +0000] 
Release 1.0

12 months agoFix typo
Stelian Ionescu [Wed, 25 Apr 2012 20:39:35 +0000] 
Fix typo

12 months agoUse keywords with LOOP
Stelian Ionescu [Mon, 23 Apr 2012 10:56:52 +0000] 
Use keywords with LOOP

12 months agoFix typo
Stelian Ionescu [Mon, 23 Apr 2012 10:53:56 +0000] 
Fix typo

12 months agoEXPLAIN: call TERPRI on the actual argument
Stelian Ionescu [Mon, 23 Apr 2012 10:53:26 +0000] 
EXPLAIN: call TERPRI on the actual argument

12 months agoAdd docstring to EXPLAIN
Stelian Ionescu [Mon, 23 Apr 2012 10:53:11 +0000] 
Add docstring to EXPLAIN

12 months agoUse ROTATEF
Stelian Ionescu [Mon, 23 Apr 2012 10:53:01 +0000] 
Use ROTATEF

12 months agoFix modelines
Stelian Ionescu [Mon, 23 Apr 2012 10:44:50 +0000] 
Fix modelines

12 months agoRename packages.lisp to package.lisp
Stelian Ionescu [Mon, 23 Apr 2012 10:43:18 +0000] 
Rename packages.lisp to package.lisp

12 months agoReplace mailing-list address with the new one
Stelian Ionescu [Sat, 21 Apr 2012 19:58:33 +0000] 
Replace mailing-list address with the new one

12 months agoUse DEFGENERIC
Stelian Ionescu [Sat, 21 Apr 2012 14:58:41 +0000] 
Use DEFGENERIC

12 months agoDrop dependency on Arnesi, use Alexandria instead
Stelian Ionescu [Sat, 21 Apr 2012 14:44:52 +0000] 
Drop dependency on Arnesi, use Alexandria instead

Disable collection of profiling info until a portable library can be used

12 months agoUse lowercase-only characters for package names to fix compilation on Allegro
Stelian Ionescu [Sat, 21 Apr 2012 14:43:33 +0000] 
Use lowercase-only characters for package names to fix compilation on Allegro

12 months agoFix indentation, whitespace
Stelian Ionescu [Sat, 21 Apr 2012 14:38:26 +0000] 
Fix indentation, whitespace

4 years agosilence redefining fixture warning
Henrik Hjelte [Tue, 14 Apr 2009 16:03:38 +0000] 
silence redefining fixture warning

5 years agomake gen-character more robust
Kilian Sprotte [Thu, 20 Mar 2008 09:49:11 +0000] 
make gen-character more robust
code-char is allowed to return NIL for a given code.
gen-character now checks for this, so that it will always
return a character.

5 years agoDon't inline package object in ECL (breaks compilation).
Maciek Pasternacki [Sun, 10 Feb 2008 17:12:24 +0000] 
Don't inline package object in ECL (breaks compilation).

5 years agoadded :before depends-on option
Henrik Hjelte [Thu, 1 Nov 2007 08:15:14 +0000] 
added :before depends-on option
to be used when you really want to safeguard
that some other test has not run first.

5 years agodepends-on with single symbol resolves dependencies ok
Henrik Hjelte [Wed, 31 Oct 2007 08:50:10 +0000] 
depends-on with single symbol resolves dependencies ok

5 years agobugfixed test of depends on symbol
Henrik Hjelte [Wed, 31 Oct 2007 08:45:16 +0000] 
bugfixed test of depends on symbol

5 years agotests for dependencies with symbol
Henrik Hjelte [Wed, 31 Oct 2007 08:32:15 +0000] 
tests for dependencies with symbol

6 years ago Platform-independent pathnames in make-qbook
Henrik Hjelte [Mon, 21 Aug 2006 08:29:48 +0000] 
 Platform-independent pathnames in make-qbook

5 years agoadd an (eval-when ...) when defining a test suite
Luca Capello [Sun, 21 Oct 2007 20:10:56 +0000] 
add an (eval-when ...) when defining a test suite

5 years agodef-suite should expand into an (eval-when (:always) ...) not a progn
Marco Baringer [Tue, 14 Aug 2007 17:36:09 +0000] 
def-suite should expand into an (eval-when (:always) ...) not a progn

5 years agoRemoved the default-test-args slot from test-suite.
Marco Baringer [Tue, 26 Jun 2007 11:48:05 +0000] 
Removed the default-test-args slot from test-suite.

This slot doesn't really do what it's says it does (redefining it
doesn't change things the way you'd expect) and it causes no end of
headaches by confusing compile-time definitions with run-time
definitions.

5 years agoThere is no fixture named foo, wtf?
Marco Baringer [Tue, 26 Jun 2007 11:49:14 +0000] 
There is no fixture named foo, wtf?

5 years agoDon't put a literal suite object into a test form's macro expnsion.
Marco Baringer [Tue, 26 Jun 2007 11:49:00 +0000] 
Don't put a literal suite object into a test form's macro expnsion.

Use either *SUITE* or (GET-TEST NAME)

5 years agoAdd support for collecting profiling information during test runs.
Marco Baringer [Tue, 26 Jun 2007 10:59:18 +0000] 
Add support for collecting profiling information during test runs.

5 years agoAvoid dobule evaluation of IS-FALSE's argument
Marco Baringer [Tue, 26 Jun 2007 10:54:43 +0000] 
Avoid dobule evaluation of IS-FALSE's argument

6 years agoAdded def-suite* macro
Marco Baringer [Sat, 24 Mar 2007 16:43:10 +0000] 
Added def-suite* macro

6 years agoDrop spurious newline
Marco Baringer [Fri, 23 Mar 2007 19:59:18 +0000] 
Drop spurious newline

6 years agoAdded :default-test-args parameter to def-suite.
Marco Baringer [Fri, 23 Mar 2007 19:56:25 +0000] 
Added :default-test-args parameter to def-suite.

6 years agoAdded :fixture argument to TEST macro
Marco Baringer [Fri, 23 Mar 2007 19:41:33 +0000] 
Added :fixture argument to TEST macro

6 years agoExport results-status
Marco Baringer [Tue, 9 Jan 2007 14:55:26 +0000] 
Export results-status

6 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] 
Add new restart called explain which ignores the rest of the tests and expains the current results.

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

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

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

6 years agoAdded :fiveam package nickname
Attila Lendvai [Fri, 10 Nov 2006 21:49:07 +0000] 
Added :fiveam package nickname

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

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

6 years agoFIX: gentree typo/unsaved file
Attila Lendvai [Thu, 9 Nov 2006 11:10:33 +0000] 
FIX: gentree typo/unsaved file

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

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

6 years agoAdded a simple gen-tree
Attila Lendvai [Mon, 16 Oct 2006 20:25:52 +0000] 
Added a simple gen-tree

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

6 years agoExtended the 'is' macro to support multiple values
Attila Lendvai [Sun, 1 Oct 2006 17:47:55 +0000] 
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.

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

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

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

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

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

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

6 years agoPrinc-ing of Unexpected Error
Kilian Sprotte [Fri, 1 Sep 2006 06:14:39 +0000] 
Princ-ing of Unexpected Error

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

7 years agoAdedd gen-one-element
Marco Baringer [Sat, 8 Apr 2006 10:00:22 +0000] 
Adedd gen-one-element

7 years agoAdded gen-buffer generator
Marco Baringer [Mon, 13 Mar 2006 21:54:03 +0000] 
Added gen-buffer generator

7 years agoFix (signals error ...), was always passing
Donavon Keithley [Wed, 15 Feb 2006 20:11:41 +0000] 
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.

7 years agoFix IS macro's handling of the default (unknown) case
Marco Baringer [Fri, 10 Feb 2006 09:57:55 +0000] 
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.

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

7 years agoAdded tests for FOR-ALL
Marco Baringer [Thu, 26 Jan 2006 12:10:26 +0000] 
Added tests for FOR-ALL

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

7 years agoFix stupid bug in gen-character
Marco Baringer [Thu, 26 Jan 2006 12:04:26 +0000] 
Fix stupid bug in gen-character

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

7 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] 
Typo: Use *run-test-when-defined* in test macro. (Reported by: Gary King <gwking@metabang.com>)

7 years agoExport *run-test-when-defined*
Marco Baringer [Tue, 24 Jan 2006 15:24:34 +0000] 
Export *run-test-when-defined*

7 years agoAdded *run-test-when-defined* variable.
Marco Baringer [Tue, 24 Jan 2006 14:03:52 +0000] 
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.

7 years agoExport gen-float and gen-list
Marco Baringer [Tue, 24 Jan 2006 12:45:38 +0000] 
Export gen-float and gen-list

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

7 years agoAdded gen-float
Marco Baringer [Tue, 24 Jan 2006 12:17:28 +0000] 
Added gen-float

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

7 years agoTEST macro now recompiles the body on every run.
Marco Baringer [Tue, 24 Jan 2006 11:38:10 +0000] 
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.

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

7 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] 
Default minimum for gen-integer is most-negative-fixnum - 1, not most-negative-fixnum + 1.

7 years agoUpdate copyright notices to 2006
Marco Baringer [Mon, 23 Jan 2006 12:39:41 +0000] 
Update copyright notices to 2006

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

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

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

7 years agoExport EXPLAIN!
Marco Baringer [Sun, 22 Jan 2006 15:28:33 +0000] 
Export EXPLAIN!

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

7 years agoAdded docs directory
Marco Baringer [Sun, 22 Jan 2006 15:27:29 +0000] 
Added docs directory

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

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

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

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

7 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] 
Added *num-trials*, *max-trials* and checking of whether the test code is ever run in a FOR-ALL test