This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Testcases for append! in greg style.


   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]