ppx_test

AuthorJun Furuse
Homepagehttp://bitbucket.org/camlspotter/ppx_test
Issue Trackerhttps://bitbucket.org/camlspotter/ppx_test/issues?status=new&status=open
Maintainerjun.furuse@gmail.com
Dependencies
&ocamlfind>= 1.5.2
omake
pcre
Availableocaml-version >= "4.02.0" & ocaml-version < "4.03.0"
PublishedNov 4, 2014
Source [http] https://bitbucket.org/camlspotter/ppx_test/get/1.0.1.tar.gz
d92c407be0625e4aaa4a193a5dd0e388
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_test/ppx_test.1.0.1/opam

A ppx replacement of pa_ounit.

ppx_test tries to replace pa_ounit. It provides the following syntax sugars:

  • with_location e, returns e and its source code location
  • module_path, returns the current module path name
  • let %TEST name = e, a replacement of TEST name = e
  • let %TEST_UNIT name = e, a replacement of TEST_UNIT name = e
Necessary for
levenshtein
>= 1.1.0
spotlib
&>= 2.4.1
3.0.0