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.6
omake
ppxx>= 1.4.0&1.5.0
re
Availableocaml-version >= "4.03.0"
PublishedApr 11, 2017
Source [http] https://bitbucket.org/camlspotter/ppx_test/get/1.4.2.tar.gz
e91cbb5626d292ca4431154fa54571b0
StatisticsInstalled 7 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_test/ppx_test.1.4.2/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
4.0.1