hhvm / hacktest

A unit testing framework for Hack
MIT License
29 stars 13 forks source link

Run tests in travis with new runner #32

Closed wlin53 closed 6 years ago

wlin53 commented 6 years ago

8

Let's see if this works

fredemmott commented 6 years ago

Cool - how do we test the intentionally not-clean tests?

wlin53 commented 6 years ago

I was thinking of using expect(...)->toThrow(...) for uncaught throwables. For caught exceptions/errors, I will have to check that they are of the correct type. Could also do something with expected input/output as well.