[plt-scheme] Test Cases and errors as expected results

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Tue Jun 27 10:46:51 EDT 2006

How are you writing and running the test suite?  If you're
using SchemeUnit there is check-exn.  If your test suite is
just a bunch of expressions check the exception has been
thrown.  Something like this:

(with-handlers [(exn? (lambda (e) (display "Caught
  (/ 1 0)
  (display "No exception thrown"))


--- "wooks ." <wookiz at hotmail.com> wrote:

> Is there a way to ensure that DrScheme continues to
> execute your test cases 
> after it encounters an error. After all it may be the
> expected result of a 
> test in which case it would  make sense to continue
> execution.

Email: noelwelsh <at> yahoo <dot> com   noel <at> untyped <dot> com
AIM: noelhwelsh
Blogs: http://monospaced.blogspot.com/  http://www.untyped.com/untyping/

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

Posted on the users mailing list.