<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Skydeck Blog - Latest Comments in Unit test in OCaml with OUnit</title><link>http://skydeck.disqus.com/</link><description>Mobile Caller ID</description><atom:link href="https://skydeck.disqus.com/unit_test_in_ocaml_with_ounit/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 12 Mar 2008 13:32:24 -0000</lastBuildDate><item><title>Re: Unit test in OCaml with OUnit</title><link>http://skydeck.com/blog/programming/unit-test-in-ocaml-with-ounit#comment-10293340</link><description>&lt;p&gt;Ooops! my previous comment is not clear ... my run_test do not run the test (no dynamic evaluation) but embed the code from myocamlbuild to search for files ... that's all!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">khigia</dc:creator><pubDate>Wed, 12 Mar 2008 13:32:24 -0000</pubDate></item><item><title>Re: Unit test in OCaml with OUnit</title><link>http://skydeck.com/blog/programming/unit-test-in-ocaml-with-ounit#comment-10293339</link><description>&lt;p&gt;Thanks for this code, greatly appreciated!&lt;/p&gt;&lt;p&gt;I have been using some other plugin to build make_suite itself (to put make_suite in the source of my project, not as external tools).&lt;/p&gt;&lt;p&gt;But then, it was difficult to add rule in ocamlbuild to first build the tool, then use it to create the executable to run the  suite.&lt;/p&gt;&lt;p&gt;Thus I merge both code (make_suite and your ocamlbuild plugin) to create &lt;a href="http://run_test.ml" rel="nofollow noopener" target="_blank" title="run_test.ml"&gt;run_test.ml&lt;/a&gt; ... which does make_suite + actions of ocamlbuild plugin.&lt;/p&gt;&lt;p&gt;Not bad, but of course it doesn't enable to share the make_suite tools between project ... however we could share a library which ease to write the run_suite in each project.&lt;/p&gt;&lt;p&gt;Anyway, main point is: thanks for code and inspiration!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">khigia</dc:creator><pubDate>Wed, 12 Mar 2008 12:25:19 -0000</pubDate></item><item><title>Re: Unit test in OCaml with OUnit</title><link>http://skydeck.com/blog/programming/unit-test-in-ocaml-with-ounit#comment-10293338</link><description>&lt;p&gt;Alfie Barr: the files in input of make_suite are regular ocaml source code, containing functions whose name begin with "test", requiring no argument and containing any OUnit tests, like following example:&lt;br&gt;let test_my_condition () =&lt;br&gt;    let s = "not empty string" in&lt;br&gt;    OUnit.assert_string s&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">khigia</dc:creator><pubDate>Wed, 12 Mar 2008 12:16:21 -0000</pubDate></item><item><title>Re: Unit test in OCaml with OUnit</title><link>http://skydeck.com/blog/programming/unit-test-in-ocaml-with-ounit#comment-10293337</link><description>&lt;p&gt;Can you give examples of input files to be used with your make_suite code?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alfie Barr</dc:creator><pubDate>Sat, 01 Dec 2007 17:23:54 -0000</pubDate></item></channel></rss>