Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [Caml-list] Any tool for unit tests as comments in OCaml source?

26 views
Skip to first unread message

Thibault Suzanne

unread,
May 14, 2012, 10:08:42 PM5/14/12
to caml...@inria.fr
Hi

I don't know if it's a « gold standard », but Batteries uses qtest. The
documentation (clear and concise in my opinion) can be found at
http://batteries.vhugot.com/qtest/.

Thibault Suzanne

Le 15/05/2012 03:48, Francois Berenger a écrit :
> Hello,
>
> What's the gold standard in OCaml to have
> unit test as comments in source code in order
> for a tool to automatically extract them
> and generate a test suite?
>
> Thanks,
> F.
>

--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Edgar Friendly

unread,
May 14, 2012, 10:09:11 PM5/14/12
to caml...@inria.fr
On 05/14/2012 09:48 PM, Francois Berenger wrote:
> Hello,
>
> What's the gold standard in OCaml to have
> unit test as comments in source code in order
> for a tool to automatically extract them
> and generate a test suite?
>
> Thanks,
> F.
>
Batteries uses a program called qtest to do this; it's within the
batteries source tree at the moment. There are plans to move it outside
for other projects to use.

Docs here: http://batteries.vhugot.com/qtest/

E.

Francois Berenger

unread,
May 14, 2012, 10:12:43 PM5/14/12
to caml-list, batteri...@lists.forge.ocamlcore.org, OCaml Beginners List
Hello,

What's the gold standard in OCaml to read/write
compressed files?

I found this: http://forge.ocamlcore.org/projects/camlzip/

Wouldn't it be possible that the Marshall module
had an option to allow compression of the marshalled
values?
Or is there a simple way to achieve this?

Thanks,
F.

Cedric Cellier

unread,
May 15, 2012, 1:41:12 AM5/15/12
to caml-list, OCaml Beginners List
There's some work going on around batteries qtest program. See for instance this wiki page on batteries tests:

https://github.com/ocaml-batteries-team/batteries-included/wiki/Developers-Guidelines
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages