Cool....
Neel Krishnaswami <[email protected]> Thu, 12 Sep 2002 19:37:59 -0400 (EDT)
| Newsgroups | gmane.comp.lang.goo.general |
|---|---|
| Message-ID | <[email protected]> |
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.
(Yes, I'm planning on releasing it, just as soon as I write tests for
gunit (goo-unit?), and maybe rename the methods to clearer names.)
--
Neel Krishnaswami
[email protected]