From: Brian H. <bri...@ql...> - 2003-06-02 22:24:11
|
On Mon, 2 Jun 2003, Nicolas Cannasse wrote: > > I think it would be a good idea to add unit tests to all the library > > functions using OUnit: > > http://home.wanadoo.nl/maas/ocaml/ > > > > I think unit tests are *less* necessary in Ocaml due to our wonderful type > > system, but they're still a good idea. > > I agree, but I'm not familiar enough with others langages Unit tests library > to see if this implementation is a convenient way of doing unit tests. Maybe > we could write a library mixing unit and benchmarks tests ? ( something > similar to Doug Bagley's one ). Theses two should stick well together. > My preference would be to be able to compile the library *without* the unit testing code in it. This will require some thought, and probably some makefile hacking. Brian |