-
-
Notifications
You must be signed in to change notification settings - Fork 74
Coding
Chris L. edited this page Jun 13, 2013
·
2 revisions
We're trying to stick to PSR-2 as closely as possible.
So if you're planning to contribute to this project (sending in PRs), please make sure to adhere to our current coding style.
To run the test suite, you need PHPUnit. Go to the project root and run:
$ phpunitTest coverage is one of the areas that need some improvement. But it's been significantly improved during the past months. Every single one of the more recent PRs has 100% code coverage. Current coverage output is included in travis build status. Locally, it can also be obtained by running phpunit --coverage-html=build/coverage. It's our preferred workflow to check the resulting build/coverage/index.html for coverage results (test driven development) and improve where necessary.