Re: [racket] Online testing

2012-11-28 Thread David Van Horn
On 11/28/12 12:08 PM, Matthias Felleisen wrote: I think David is interested in an extension of the check-syntax mode. CS should report when test cases fail. I am willing to help it along by writing all test cases within (module+ test ...) for that. Yes exactly. I'd be happy to write (module+

Re: [racket] Online testing

2012-11-28 Thread J. Ian Johnson
GMT -05:00 US/Canada Eastern Subject: Re: [racket] Online testing You need to click check syntax. On Nov 28, 2012, at 12:08 PM, J. Ian Johnson wrote: > This doesn't give me a syntax error. > -Ian > - Original Message - > From: "Asumu Takikawa" > To: "

Re: [racket] Online testing

2012-11-28 Thread Matthias Felleisen
ent: Wednesday, November 28, 2012 12:06:25 PM GMT -05:00 US/Canada Eastern > Subject: Re: [racket] Online testing > > On 2012-11-28 12:04:16 -0500, Asumu Takikawa wrote: >> Also, this doesn't work if you use a `module*` or `module+`. Is that a bug? > > Oops, this obviously

Re: [racket] Online testing

2012-11-28 Thread J. Ian Johnson
This doesn't give me a syntax error. -Ian - Original Message - From: "Asumu Takikawa" To: "David Van Horn" Cc: "Racket Users" Sent: Wednesday, November 28, 2012 12:06:25 PM GMT -05:00 US/Canada Eastern Subject: Re: [racket] Online testing On 2012-1

Re: [racket] Online testing

2012-11-28 Thread Matthias Felleisen
I think David is interested in an extension of the check-syntax mode. CS should report when test cases fail. I am willing to help it along by writing all test cases within (module+ test ...) for that. -- Matthias smime.p7s Description: S/MIME cryptographic signature R

Re: [racket] Online testing

2012-11-28 Thread Asumu Takikawa
On 2012-11-28 12:04:16 -0500, Asumu Takikawa wrote: > Also, this doesn't work if you use a `module*` or `module+`. Is that a bug? Oops, this obviously doesn't work since you can't import a `module*` submodule from its parent. D'oh. Cheers, Asumu Racket Users list: http://

Re: [racket] Online testing

2012-11-28 Thread Asumu Takikawa
On 2012-11-28 11:48:45 -0500, David Van Horn wrote: > I'm sure this possible and probably not difficult, but I thought I'd > throw it out there for feedback. If you do something like this: #lang racket (module test racket (require rackunit) (check-equal? 5 2)) (begin-for-syntax

[racket] Online testing

2012-11-28 Thread David Van Horn
Something that would be useful to me is a #lang racket/test that is just like #lang racket but runs the entire module at compile time and collects test failures, reporting them as syntax errors. Then I could develop code with online compilation to give me online feedback about test cases. Onc