Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Simon Cruanes <simon.cruanes.2007@m4x.org>
To: Francois Berenger <berenger@riken.jp>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] QCheck 0.1
Date: Mon, 7 Oct 2013 10:50:07 +0200	[thread overview]
Message-ID: <20131007085007.GC22920@emmental.inria.fr> (raw)
In-Reply-To: <52527452.8010202@riken.jp>

[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]

Le Mon, 07 Oct 2013, Francois Berenger a écrit :

> On 10/07/2013 05:35 PM, Simon Cruanes wrote:
> >Hello,
> >
> >I'm happy to announce the first release of a small QuickCheck
> >implementation for OCaml, named `QCheck`. It consists in writing
> >invariants as function t -> bool for some type t, and then checking that
> >the invariant holds on randomly generated instances of t.
> >
> >QCheck is designed so that writing tests is as easy as possible[1],
> >especially for Arbitrary instances (the part where you generate random
> >values of a type) where it provides many combinators.
> 
> Is it supported by qtest?

I don't think so, but it would be great for people who like to write
tests near the code. I'm not familiar with qtest, so I'm not going to
implement it now (patchs welcome ^^), but it would definitely be
interesting to have the invariants close to the algorithms!

> 
> I.e. can some qtest tests in comments use this QCheck library?
> 
> Best regards,
> Francois Berenger.

-- 
Simon

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2013-10-07  8:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-07  8:35 Simon Cruanes
2013-10-07  8:44 ` Francois Berenger
2013-10-07  8:50   ` Simon Cruanes [this message]

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=20131007085007.GC22920@emmental.inria.fr \
    --to=simon.cruanes.2007@m4x.org \
    --cc=berenger@riken.jp \
    --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