Created
October 30, 2017 19:32
-
-
Save copy/320c5129fcfa85eea8fda98214454aca to your computer and use it in GitHub Desktop.
Expect tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (library | |
| ((name foo) | |
| (modules foo) | |
| (library_flags (-linkall)) | |
| (libraries (ppx_inline_test.runtime-lib ppx_expect.collector)) | |
| (preprocess (pps (ppx_jane ppx_driver.runner))))) | |
| (executable | |
| ((name test_runner) | |
| (modules (test_runner)) | |
| (libraries (foo ppx_expect.evaluator ppx_inline_test.runner.lib)))) | |
| (alias | |
| ((name runtest) | |
| (deps (test_runner.exe)) | |
| (action (run ${<} inline-test-runner foo)))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let () = Ppx_inline_test_lib.Runtime.exit () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment