Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Add sanity check that loads homepage and checks for errors and warnings #116

Open
westonruter opened this issue Nov 4, 2015 · 1 comment
Assignees

Comments

@westonruter
Copy link
Contributor

In addition to PHPUnit tests, we can have a general sanity check which would be especially relevant to themes that may lack unit tests: we can fire up PHP to load the homepage of the site. The presence of an error should block pre-commit and it should cause the Travis build to fail.

@westonruter
Copy link
Contributor Author

We can re-use the database drop-in used by the PHPUnit tests.

@westonruter westonruter self-assigned this Jan 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant