caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Berenger <francois.berenger@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] OCaml projects with tests
Date: Thu, 8 Oct 2015 10:10:40 +0200	[thread overview]
Message-ID: <56162500.7040501@inria.fr> (raw)
In-Reply-To: <20151008074315.GA1466@pl-59055.rocqadm.inria.fr>

On 10/08/2015 09:43 AM, Sébastien Hinderer wrote:
> Dear all,
>
> Recently the topic was discussed here and several testing frameworks were
> mentionned.
>
> I am wondering whether there are well established projects that actually
> use tests (unit tests and others) and that could be used as sources of
> inspiration?

In batteries there are:

https://raw.githubusercontent.com/ocaml-batteries-team/\
batteries-included/master/src/batList.mlv

Look for $T in the file for unit tests.
Or $Q for tests a la Haskell quickcheck.

> Thanks,
>
> Sébastien.
>
>

-- 
Regards,
Francois.
"When in doubt, use more types"

  reply	other threads:[~2015-10-08  8:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-08  7:43 Sébastien Hinderer
2015-10-08  8:10 ` Francois Berenger [this message]
2015-10-08  8:21 ` Gabriel Scherer
2015-10-08  8:34   ` Hendrik Boom
2015-10-08  9:18   ` Jeremie Dimino
2015-10-08  8:26 ` Hendrik Boom
2015-10-08 15:04 ` Leonid Rozenberg
2015-10-08 15:56   ` Thomas Gazagnaire
2015-10-09 12:29 ` Richard W.M. Jones
2015-10-09 12:37   ` Richard W.M. Jones

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=56162500.7040501@inria.fr \
    --to=francois.berenger@inria.fr \
    --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;
as well as URLs for NNTP newsgroup(s).