Re: Cool....
Neel Krishnaswami <[email protected]> Thu, 12 Sep 2002 20:57:32 -0400 (EDT)
| Newsgroups | gmane.comp.lang.goo.general |
|---|---|
| Message-ID | <[email protected]> |
Jonathan Bachrach writes: > Neel Krishnaswami <[email protected]> writes: > > > > I tried porting the Kent Beck testing framework to GOO, and was really > > surprised at how easy the thing is in goo, contrasted with JUnit. Here > > is a test I just wrote: > > > > (add-test strutil-tests > > name "Test to-upper #1" > > action {. (assert-= (to-upper "foobar") "FOOBAR") }) > > > > This takes about 2 more lines than writing a little expression to test > > in the REPL, and now it's permanent. > > have you looked at ``goo/src/tests/*.goo''? it's a testing > framework that i cooked up based on dylan's testworks. for > instance, it allow protocol-based testing. let me know what you > think. i've been trying to add a bunch more tests to it. No, I didn't even know it existed until just this moment. I'll definitely takke a look at it. -- Neel Krishnaswami [email protected]