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>= 2.0.0&2.2.0
re
Availableocaml-version >= "4.03.0"
PublishedJun 25, 2017
Source [http] https://bitbucket.org/camlspotter/ppx_test/get/1.5.0.tar.gz
8c852e5a3c5201783150730833fd7d58
StatisticsInstalled 3 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_test/ppx_test.1.5.0/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