Permalink
Browse files

Updated contribution info.

  • Loading branch information...
1 parent 3491dde commit 5a1debe910391356d0a79339c40e6c2c92be0915 @ADmad ADmad committed Jan 25, 2014
Showing with 11 additions and 4 deletions.
  1. +11 −4 CONTRIBUTING.md
View
@@ -50,22 +50,29 @@ chance of keeping on top of things.
## Testcases and codesniffer
-CakePHP tests requires [PHPUnit](http://www.phpunit.de/manual/current/en/installation.html)
+CakePHP tests requires [PHPUnit](http://phpunit.de/manual/current/en/installation.html)
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](https://travis-ci.org/) and from your
+[profile](https://travis-ci.org/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](https://github.com/cakephp/cakephp-codesniffer)
repository to setup the CakePHP standard. The README contains installation info
for the sniff and phpcs.
# Additional Resources
-* [CakePHP coding standards](http://book.cakephp.org/2.0/en/contributing/cakephp-coding-conventions.html)
+* [CakePHP coding standards](http://book.cakephp.org/3.0/en/contributing/cakephp-coding-conventions.html)
* [Existing issues](https://github.com/cakephp/cakephp/issues)
* [Development Roadmaps](https://github.com/cakephp/cakephp/wiki#roadmaps)
* [General GitHub documentation](https://help.github.com/)

0 comments on commit 5a1debe

Please sign in to comment.