From: Yawar Amin <yawar.amin@gmail.com>
To: Bahman Movaqar <bahman@bahmanm.com>
Cc: Ocaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] On variants, integers and testing
Date: Mon, 19 Mar 2018 09:49:15 -0400 [thread overview]
Message-ID: <CAJbYVJJRGyi_c3_QbGxXUj1UW0ji_q04OMcoo_XqprgBC6NuSQ@mail.gmail.com> (raw)
In-Reply-To: <CAJbYVJ+BBQC7Nu3PXrW8NiP_163O+MhNkx3dvF8bF=MWGDxD=w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 698 bytes --]
Hi,
On Mon, Mar 19, 2018 at 9:27 AM, Yawar Amin <yawar.amin@gmail.com> wrote:
> [...]
>
> But, maybe sometimes you do want to have some internal functionality and
> you do want to test it. An OCaml can theoretically some of its files
> (modules) from the outside world by telling its build system to not expose
> the compiled interface (.cmi) files. This way, you can write and test these
> internal modules and still hide them from users.
>
> I haven't actually usec this technique, but certainly someone in this list
> might have.
>
Actually it looks like we're in luck: jbuilder now supports inline tests
out of the box https://discuss.ocaml.org/t/jbuilder-inline-tests/1741
Regards,
Yawar
[-- Attachment #2: Type: text/html, Size: 1276 bytes --]
next prev parent reply other threads:[~2018-03-19 13:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-16 11:12 Bahman Movaqar
2018-03-19 10:41 ` Cedric Cellier
2018-03-19 10:44 ` Cedric Cellier
2018-03-19 13:27 ` Yawar Amin
2018-03-19 13:49 ` Yawar Amin [this message]
2018-03-19 21:24 ` SP
2018-03-21 14:36 ` Lukasz Stafiniak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJbYVJJRGyi_c3_QbGxXUj1UW0ji_q04OMcoo_XqprgBC6NuSQ@mail.gmail.com \
--to=yawar.amin@gmail.com \
--cc=bahman@bahmanm.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox