From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=AWL,SPF_PASS autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 7F09CBC0B for ; Sun, 28 Jan 2007 02:14:39 +0100 (CET) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l0S1Eckh008825 for ; Sun, 28 Jan 2007 02:14:39 +0100 Received: by wx-out-0506.google.com with SMTP id i31so1178659wxd for ; Sat, 27 Jan 2007 17:14:37 -0800 (PST) Received: by 10.70.44.4 with SMTP id r4mr9572161wxr.1169946877237; Sat, 27 Jan 2007 17:14:37 -0800 (PST) Received: from ?10.0.1.4? ( [71.234.68.135]) by mx.google.com with ESMTP id 3sm8810437wrh.2007.01.27.17.14.36; Sat, 27 Jan 2007 17:14:37 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: Caml List From: Stevan Little Subject: ANNOUNCE: TestSimple - A simple unit testing framework Date: Sat, 27 Jan 2007 20:14:50 -0500 X-Mailer: Apple Mail (2.752.2) X-Miltered: at discorde with ID 45BBF8FE.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 wikipedia:01 wiki:01 topfind:01 o'caml:01 foo:01 foo:01 0.01:98 int:01 int:01 output:02 string:02 string:02 float:03 Hello all, I would like to announce the first release of our new unit testing framework for OCaml. It can be downloaded from our website here: http://www.iinteractive.com/ocaml/ It is based heavily on the Perl unit testing framework of the same name, and produces TAP output (http://en.wikipedia.org/wiki/ Test_Anything_Protocol) which can be read and analyzed by a wide range of existing Perl tools. The goal of this framework is to make writing unit tests as simple and as easy as possible (hence the name). Here is a basic example taken from the TestSimple test suite itself. #use "topfind";; #require "testSimple";; open TestSimple;; plan 9;; diag "... testing O'Caml TestSimple v0.01 ";; ok true "... ok passed";; is 2 2 "... is passed";; is 2. 2. "... is passed";; is "foo" "foo" "... is passed";; is [] [] "... is <'a list> <'a list> passed";; is [1;2;3] [1;2;3] "... is passed";; is ["foo";"bar"] ["foo";"bar"] "... is passed";; is (1,"foo") (1,"foo") "... is passed";; is TAPDocument.Ok TAPDocument.Ok "... is passed";; As this is our first released OCaml library, any and all feedback is very much appreciated. Thanks, Stevan Little ---------------------------------------- Senior Developer - Infinity Interactive http://www.iinteractive.com/ ----------------------------------------