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 993487FACD for ; Mon, 29 Sep 2014 01:06:45 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of ecc@cmu.edu) identity=pra; client-ip=128.2.217.201; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ecc@cooper-siegel.org"; x-sender="ecc@cmu.edu"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of ecc@cooper-siegel.org) identity=mailfrom; client-ip=128.2.217.201; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ecc@cooper-siegel.org"; x-sender="ecc@cooper-siegel.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp02.srv.cs.cmu.edu) identity=helo; client-ip=128.2.217.201; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ecc@cooper-siegel.org"; x-sender="postmaster@smtp02.srv.cs.cmu.edu"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAEAD2TKFSAAtnJnGdsb2JhbABguk8GnEcWAREBAQEBAQgLCQkULIREezQFKIhymiWeJIZhhhKKKYQ1BZ0nmV2DGgEBAQ X-IPAS-Result: AgAEAD2TKFSAAtnJnGdsb2JhbABguk8GnEcWAREBAQEBAQgLCQkULIREezQFKIhymiWeJIZhhhKKKYQ1BZ0nmV2DGgEBAQ X-IronPort-AV: E=Sophos;i="5.04,616,1406584800"; d="scan'208";a="81197946" Received: from smtp02.srv.cs.cmu.edu ([128.2.217.201]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Sep 2014 01:06:43 +0200 Received: from cooper-siegel.org (pool-96-236-128-79.pitbpa.fios.verizon.net [96.236.128.79]) (authenticated bits=0) by smtp02.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id s8SN6dEM027004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 28 Sep 2014 19:06:40 -0400 (EDT) Received: from ecc (uid 1000) (envelope-from ecc@cooper-siegel.org) id 1d06007 by cooper-siegel.org (DragonFly Mail Agent v0.9); Sun, 28 Sep 2014 19:06:38 -0400 Date: Sun, 28 Sep 2014 19:06:38 -0400 From: Eric Cooper To: caml-list@inria.fr Message-ID: <20140928230638.GT2829@cooper-siegel.org> Mail-Followup-To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: mimedefang-cmuscs on 128.2.217.201 Subject: [Caml-list] testing private functions with oUnit I'd like to write unit tests for functions not exported in a .mli file. The only way I can see is to remove the .mli file while building the test, so the whole .ml file is visible. Is there a better way, preferably integrated with ocamlmake + findlib? -- Eric Cooper e c c @ c m u . e d u