~~ Robert.
_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
---------- Forwarded message ----------
From: Jeff Meister <nan...@gmail.com>
Date: Aug 17, 2007 2:52 PM
Subject: Re: [Caml-list] Unit Testing
To: Robert Fischer <rob...@fischerventure.com>
There's OUnit, but I don't know if it's actively maintained. You'd
have to ask Mr. Zeeman.
http://www.xs4all.nl/~mmzeeman/ocaml/ounit-doc/OUnit.html
I believe the Iinteractive people actively use TestSimple internally,
but they haven't updated the project website to show 0.02, which I have
a copy of, and there may exist more recent versions as well.
Announcement:
http://yquem.inria.fr/pipermail/caml-announce/2007-January/000009.html
Webpage:
http://www.iinteractive.com/ocaml/
Maybe this message will provoke an update.
E.
Even if the project isn't very active, I would still recommend OUnit.
I've been using it for a few months and it works well. I've had to
integrate it with my build scripts and logging system for it to feel
seemless, but I'd have done that with any package. At this point I use
it just as I previously used junit in java.
This might be as good a time as any to ask: has anyone done any
research on when unit tests are necessary in ocaml? I used to do true
unit testing (for every function), but it seems b/c of the type-
checking almost all of them pass every time. I now only do tests at
what I would call the subsystem level, but I'm still figuring out
what's really necessary.
Peter