-
Website
http://skydeck.com/blog -
Original page
http://skydeck.com/blog/programming/unit-test-in-ocaml-with-ounit -
Subscribe
All Comments -
Community
-
Top Commenters
-
Rick Chopra
1 comment · 1 points
-
jaked
1 comment · 1 points
-
Gustaf Alstromer
1 comment · 1 points
-
JeffGosto
1 comment · 1 points
-
Michael Riley
1 comment · 1 points
-
-
Popular Threads
-
Skydeck for BlackBerry is now a premium service
1 week ago · 1 comment
-
Skydeck for BlackBerry is now a premium service
let test_my_condition () =
let s = "not empty string" in
OUnit.assert_string s
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).
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.
Thus I merge both code (make_suite and your ocamlbuild plugin) to create run_test.ml ... which does make_suite + actions of ocamlbuild plugin.
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.
Anyway, main point is: thanks for code and inspiration!