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
omake
pcre
Availableocaml-version >= "4.02.0" & ocaml-version < "4.03.0"
PublishedSep 18, 2014
Source [http] https://bitbucket.org/camlspotter/ppx_test/get/0.0.1.tar.gz
27395baf72ee855c2ff23cf2be686f9b
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_test/ppx_test.0.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
spotlib
&>= 2.4.1
3.0.0