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
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.
>
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.
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
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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: