Kaputt
 
    Introduction     Status     Examples     Manual     API     Downloads      
         
 

Abstract   
Licence   
Help   

 
Abstract
Kaputt is a unit testing tool for the OCaml language. Kaputt features four kinds of tests:
  • assertion-based tests, inspired by the xUnit tools;
  • specification-based tests, inspired by the QuickCheck tool;
  • enumeration-based tests, inspired by the SmallCheck tool;
  • shell-based tests.

When writing assertion-based tests, the developer encodes input values and checks that output values satisfy given assertions. When writing specification-or enumeration-based tests, the developer encodes the specification of the tested function and then requests the library to generate random values to be tested against the specification. Finally, shell-based are barely a replacement for shell script executing programs and comparing their outputs to a previously checked reference.

Licence
Kaputt is released under the GPL v3.
It is copyright (c) 2008-2012 Xavier Clerc.

Help
In order to improve the project, I am primarily looking for testers and bug reporters. Pointing errors in documentation and indicating where it should be enhanced is also very helpful.
The darcs repository is http://kaputt.x9c.fr (read-only, useful to always get the last version).