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
re
Availableocaml-version >= "4.02.0" & ocaml-version < "4.03.0"
PublishedFeb 18, 2015
Source [http] https://bitbucket.org/camlspotter/ppx_test/get/1.1.0.tar.gz
42daac2991bfa5ed88547643c3a3bb30
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_test/ppx_test.1.1.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
3.0.0