New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite section for failures #131

Open
byorgey opened this Issue Aug 1, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@byorgey
Copy link
Member

byorgey commented Aug 1, 2018

Right now, intentionally failing things (i.e. things that should throw a runtime exception, fail to type check, etc.) are tested just by including them in the normal regression test suite and expecting a verbatim error message. It would be much better to put expected failures in a different directory and test them by simply making sure that they fail, but not comparing their output to some golden standard (since error message output is very likely to change in the future).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment