Skip to content
Browse files

Updated contribution info.

  • Loading branch information...
ADmad committed Jan 25, 2014
1 parent 3491dde commit 5a1debe910391356d0a79339c40e6c2c92be0915
Showing with 11 additions and 4 deletions.
  1. +11 −4
@@ -50,22 +50,29 @@ chance of keeping on top of things.

## Testcases and codesniffer

CakePHP tests requires [PHPUnit](
CakePHP tests requires [PHPUnit](
3.5 or higher. To run the testcases locally use the following command:

./lib/Cake/Console/cake test core AllTests --stderr
phpunit --stderr tests/TestCase/

You can copy file `phpunit.xml.dist` to `phpunit.xml` and modify the database
driver settings as required to run tests for particular database.

You can also register on [Travis CI]( and from your
[profile]( page enable the service hook for your
cakephp fork on github for automated test builds.

To run the sniffs for CakePHP coding standards:

phpcs -p --extensions=php --standard=CakePHP ./lib/Cake
phpcs -p --extensions=php --standard=CakePHP ./src

Check the [cakephp-codesniffer](
repository to setup the CakePHP standard. The README contains installation info
for the sniff and phpcs.

# Additional Resources

* [CakePHP coding standards](
* [CakePHP coding standards](
* [Existing issues](
* [Development Roadmaps](
* [General GitHub documentation](

0 comments on commit 5a1debe

Please sign in to comment.
You can’t perform that action at this time.