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

From: Jos Koot (jos.koot at telefonica.net)
Date: Tue Jun 27 14:02:08 EDT 2006

May my test-module can be of some help.
((((lambda(x)((((((x x)x)x)x)x)x))
   (lambda(x)(lambda(y)(x(x y)))))
  (lambda(x)(write x)x))
 "greetings, Jos")

----- Original Message ----- 
From: "Carl Eastlund" <cce at ccs.neu.edu>
To: "wooks ." <wookiz at hotmail.com>
Cc: <plt-scheme at list.cs.brown.edu>
Sent: Tuesday, June 27, 2006 6:40 PM
Subject: Re: [plt-scheme] Test Cases and errors as expected results


> On 6/26/06, 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.
>
> If you're working in the How to Design Programs languages, it doesn't
> look like there is.  Even test cases (from the "Special" menu) don't
> seem to continue after encountering an error.  The HtDP curriculum
> considers error behavior an advanced topic and so ignores it.  For
> exercises in those languages you're probably safe just testing
> successful results of your programs.
>
> -- 
> Carl Eastlund
> "Cynical, but technically correct."
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.scm
Type: application/octet-stream
Size: 3973 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20060627/54b64f62/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-test.scm
Type: application/octet-stream
Size: 425 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20060627/54b64f62/attachment-0001.obj>

Posted on the users mailing list.