From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 0033C7FACD for ; Mon, 29 Sep 2014 01:19:24 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of ivg@ieee.org) identity=pra; client-ip=209.85.216.54; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ivg@ieee.org"; x-sender="ivg@ieee.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of ivg@ieee.org designates 209.85.216.54 as permitted sender) identity=mailfrom; client-ip=209.85.216.54; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ivg@ieee.org"; x-sender="ivg@ieee.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-qa0-f54.google.com) identity=helo; client-ip=209.85.216.54; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ivg@ieee.org"; x-sender="postmaster@mail-qa0-f54.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AggEAPeWKFTRVdg2m2dsb2JhbABgDoNTg1izFgaCcZEKh04CfBYBEQEBAQEBBgsLCRQshAQBAQQEDg5OCxAJAg4XITQBBQEKEgYTEgkHiAgDEQUIjQiQLm6LJQiOCAOHKgEXCoEghGiJWTMHgnY4gR0BBIUUBZEGhwmBYoVwjBlBhFRcUIJKAQEB X-IPAS-Result: AggEAPeWKFTRVdg2m2dsb2JhbABgDoNTg1izFgaCcZEKh04CfBYBEQEBAQEBBgsLCRQshAQBAQQEDg5OCxAJAg4XITQBBQEKEgYTEgkHiAgDEQUIjQiQLm6LJQiOCAOHKgEXCoEghGiJWTMHgnY4gR0BBIUUBZEGhwmBYoVwjBlBhFRcUIJKAQEB X-IronPort-AV: E=Sophos;i="5.04,616,1406584800"; d="scan'208";a="81198373" Received: from mail-qa0-f54.google.com ([209.85.216.54]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 29 Sep 2014 01:19:24 +0200 Received: by mail-qa0-f54.google.com with SMTP id n8so8003832qaq.27 for ; Sun, 28 Sep 2014 16:19:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:in-reply-to:mime-version :content-transfer-encoding:content-type:message-id:cc:from:subject :date:to; bh=HB5jvlWoX2ofc2GQmsIyvXECMLCTi6sEnnI5oZFjpn4=; b=lPS/yjtcDci3jBsRTpsznzVNu8NobUeeIfOadRTKcPE5tTgEJfjc3vkaJ9AygF4gZ0 HTwOd/sRT9C5//5ws0zO7o6LqCgjZUiZscUTKmarlWKHtBDgRsSZNd5VUK4xd1Jzml6B P+R76G3UNkv6Komvukv6eqMQLz5Aoqsfw7v10Ba6xwolRpC3vNo3D60uZpFM8uuIxU7E vc+2zBqxLBpyjpTKrWBHHrUCkiu1iiqGf6oXOQUguCT2OBh0nYvEkHSk7+8UD2wU0o8a jEbApSGbdlrb0tV6KGWAIyz0SOdedxwJ0z5Z8kAOh3R/Zm03U33JPf8GcorISlLEqvHl VM1g== X-Gm-Message-State: ALoCoQmqBAeN+E/Ya7ZG1uFw0Pj5yH99gRZQ1pTEfDJVVyRPqvswZc1KA//zMcOTbIKpqVnnwuVd X-Received: by 10.140.46.102 with SMTP id j93mr26991325qga.5.1411946362449; Sun, 28 Sep 2014 16:19:22 -0700 (PDT) Received: from [192.168.1.99] (mobile-166-171-056-107.mycingular.net. [166.171.56.107]) by mx.google.com with ESMTPSA id y9sm9957367qaf.15.2014.09.28.16.19.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 28 Sep 2014 16:19:20 -0700 (PDT) References: <20140928230638.GT2829@cooper-siegel.org> <20140928231226.GU2829@cooper-siegel.org> In-Reply-To: <20140928231226.GU2829@cooper-siegel.org> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=koi8-r Message-Id: <1A19D7BF-1148-4CEE-9C72-863566EF16B7@ieee.org> Cc: "caml-list@inria.fr" X-Mailer: iPad Mail (11D257) From: Ivan Gotovchits Date: Sun, 28 Sep 2014 19:19:18 -0400 To: Eric Cooper Subject: Re: [Caml-list] testing private functions with oUnit A common solution is to combine all internal modules tests in one function = inside the module, and to export it, so that it can be called from ounit. On 28 =D3=C5=CE=D4. 2014 =C7., at 19:12, Eric Cooper wrote: >> [...] preferably integrated with ocamlmake + findlib? >=20 > s/ocamlmake/ocamlbuild/ >=20 > --=20 > Eric Cooper e c c @ c m u . e d u >=20 > --=20 > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs