Testing Last updated May 5, 2022

TODO: ocaml_test, ppx_test guide.

Resources

Bazel Documentation:

Blog articles etc.

testing frameworks

ounit2

alcotest

ppx_inline_test

By default Bazel captures stdout and stderr; to redirect it back to stdout, use --test_output=all

To pass args on the command line use --test_arg=<arg>, e.g.:

`bazel test testing/ppx_inline_test/basic:test --test_output=all --test_arg=-help