caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] testing platform
@ 2014-11-04 19:18 Roelof Wobben
  2014-11-04 21:00 ` Paolo Donadeo
  0 siblings, 1 reply; 3+ messages in thread
From: Roelof Wobben @ 2014-11-04 19:18 UTC (permalink / raw)
  To: caml-list

Hello,

Does Ocaml has a testing platform where I can write test like this way I 
can do in clojure:


(facts "about `pr134`"
   (fact "it normally return true if the key exist and the value is nil"
     (pr134 :a {:a nil :b 2})  => true
     (pr134 :b {:a nil :b 2})  => false
     (pr134 :c {:a nil :b 2})  => false
         ))


Roelof



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] testing platform
  2014-11-04 19:18 [Caml-list] testing platform Roelof Wobben
@ 2014-11-04 21:00 ` Paolo Donadeo
  2014-11-04 23:38   ` Milan Stanojević
  0 siblings, 1 reply; 3+ messages in thread
From: Paolo Donadeo @ 2014-11-04 21:00 UTC (permalink / raw)
  To: OCaml mailing ist

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

Did you considered qtest?

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


-- 
*Paolo*

[-- Attachment #2: Type: text/html, Size: 303 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] testing platform
  2014-11-04 21:00 ` Paolo Donadeo
@ 2014-11-04 23:38   ` Milan Stanojević
  0 siblings, 0 replies; 3+ messages in thread
From: Milan Stanojević @ 2014-11-04 23:38 UTC (permalink / raw)
  To: Paolo Donadeo; +Cc: OCaml mailing ist

There is also pa_ounit,
https://github.com/janestreet/pa_ounit

On Tue, Nov 4, 2014 at 4:00 PM, Paolo Donadeo <p.donadeo@gmail.com> wrote:
> Did you considered qtest?
>
> http://batteries.vhugot.com/qtest/
>
>
> --
> Paolo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-04 23:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-04 19:18 [Caml-list] testing platform Roelof Wobben
2014-11-04 21:00 ` Paolo Donadeo
2014-11-04 23:38   ` Milan Stanojević

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).