• Simon Welsh's avatar
    Add the framework for running a test · e40589b6
    Simon Welsh authored
    Follows a PHPT-esque style of test definition. At the moment, the only
    supported parts are FILE (required) and PASS (1 or 0, if set). The FILE
    part is written to a temp file, hh_server --check is run, then the file
    is deleted.
    PASS is currently checked based on the exit code of hh_server, with 0
    being passed, 1 being failed to typecheck and anything else being a
HHITest.php 1.73 KB