This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Testcases for append! in greg style.
- To: dirk at ida dot ing dot tu-bs dot de
- Subject: Re: Testcases for append! in greg style.
- From: thi <ttn at revel dot glug dot org>
- Date: Thu, 23 Mar 2000 17:27:04 -0800
- CC: guile at sourceware dot cygnus dot com
- References: <Pine.LNX.4.21.0003240150190.15201-100000@marvin.ida.ing.tu-bs.de>
- Reply-to: ttn at glug dot org
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Date: Fri, 24 Mar 2000 01:57:33 +0100 (MET)
[...]
so, instead of
(pass-if "test-name" ...)
you write
(greg-testcase "test-name" #t (lambda () (...))
to indicate that the test is expected to pass. #f means that the test
is expected to fail.
(pass-if-not "test-name" ...)
thus has to be written
(greg-testcase "test-name" #t (lambda () (not (...)))
[...]
So if you are interested, take a look at the test cases and greg. If
you can provide a macro that would allow to use this test suite even
with guile's current test-suite lib, this would be great, because the
tests could be put into the test suite without modification then.
probably it's a better investment to move the current test suite to a
standard framework (greg) as one-time burden. is the greg-based test
suite online somewhere? (if not, may i request a copy by email?)
thi