Browse Source

Updated contribution info.

ADmad 12 years ago
parent
commit
5a1debe910
1 changed files with 11 additions and 4 deletions
  1. 11 4
      CONTRIBUTING.md

+ 11 - 4
CONTRIBUTING.md

@@ -50,14 +50,21 @@ 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
@@ -65,7 +72,7 @@ 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/)