On 28/08/11 17:49, Ashar Voultoiz wrote:
On 28/08/11 03:20, Brion Vibber wrote:
What that really needs is test cases!
Not sure how easy to wrangle though...
OCaml has an implementation for unit testing. I have spend a bit of time on it and eventually gave up since:
- I lack Ocaml skill.
- our math code is not commented
The testing suite I tried was OUnit: http://ounit.forge.ocamlcore.org/
We might want to have a look at it again. I will try to get some university contacts to have a look at it, some of them know about those academics languages (lisp, caml, ada ...). Nothing granted though.
We could do black-box testing. Just launch texvc repeatedly with different inputs.