From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q4F28ODa014632 for ; Tue, 15 May 2012 04:08:28 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhQCAGK6sU9KfVK2kGdsb2JhbABEgx6wUwgiAQEBAQkJDQcUBCOCFgEBBBICHgEFCAEbHAIDDAYFCxYWDwkDAgECARERAQUBHBMIAQEeh10BAwsEB5xGCQOMJIJzhQsKGScNV4h2AQUMiwYFglWDJgSVfYERhGSIaz2EDg X-IronPort-AV: E=Sophos;i="4.75,590,1330902000"; d="scan'208";a="158380739" Received: from mail-we0-f182.google.com ([74.125.82.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-MD5; 15 May 2012 04:08:27 +0200 Received: by werg1 with SMTP id g1so4754300wer.27 for ; Mon, 14 May 2012 19:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=H67cPuq9R0ibZzeBZ6foIA1IBPt/JLEOalGj6t/TAhE=; b=rBiawJESss/Ti3ppIUrdfWf7lQH9w1chk21bOmRaaCWJoVIyDTwM+2WsZ9OLcE++qI YmOkAFOj2+iNRZQSMTi8n2P0I1bjijUhqYAydbqKPiHWiYcw+JooDRUYU2U8FF4LBFB7 RBFxRrs5RQ4eH4GUSBB38EeqVQKMcXiKl0CnHJ3kozDAtU7pCOUqrlPmbSLUgCTWddB3 d7utYYDqVg4gyu2EZlV2INm/ULuJEmsEXLCJbkw0mdSvXUD0P+nVc8os2O53R4gyOqRQ iGeqo25hkFNNkfAntTJLZqShOZsqTzbFXVKf/lxEG1d3eacQAp5wsv2JSosnwdj7FlLb RtfQ== Received: by 10.180.100.2 with SMTP id eu2mr25312134wib.1.1337047707566; Mon, 14 May 2012 19:08:27 -0700 (PDT) Received: from [10.69.8.215] (suze.rez-metz.supelec.fr. [193.48.225.215]) by mx.google.com with ESMTPS id ex2sm61253709wib.8.2012.05.14.19.08.26 (version=SSLv3 cipher=OTHER); Mon, 14 May 2012 19:08:27 -0700 (PDT) Message-ID: <4FB1BA9A.3010300@gmail.com> Date: Tue, 15 May 2012 04:08:26 +0200 From: Thibault Suzanne User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: caml-list@inria.fr References: <4FB1B5F3.3080908@riken.jp> In-Reply-To: <4FB1B5F3.3080908@riken.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] Any tool for unit tests as comments in OCaml source? Hi I don't know if it's a « gold standard », but Batteries uses qtest. The documentation (clear and concise in my opinion) can be found at http://batteries.vhugot.com/qtest/. Thibault Suzanne Le 15/05/2012 03:48, Francois Berenger a écrit : > Hello, > > What's the gold standard in OCaml to have > unit test as comments in source code in order > for a tool to automatically extract them > and generate a test suite? > > Thanks, > F. >