Vanilla is adding unit tests and Travis-CI
We currently have our first functioning unit test along with Travis-CI integration on a feature branch. It will be making it's way onto
master branch very soon.
IMPORTANT: If you currently clone our repo directly to your web directory, we strongly recommend not deploying the
/tests directory. While we'll strive to make it as foolproof as possible, the bottom line is that it's bad security practice to have tests in a web directory, so be safe and leave it out.
Travis-CI will check all pull requests with our unit tests to make sure they don't break anything when merged in. It's going to be a very long, slow process to add unit tests over time to increase our coverage. The more coverage we have, the more unlikely it will be that we accidentally do things like introduce regression bugs or violate our PHP compatibility.
Our test coverage will include:
- PHP 5.4
- PHP 5.5
- PHP 5.6
- PHP 7.0
As a reminder, 2.2 will be the last Vanilla release to support PHP 5.3.