Skip to content
Snippets Groups Projects
Commit eab40e85 authored by Klaus Purer's avatar Klaus Purer
Browse files

Improved README to explain PHPUnit execution.

parent 92543d76
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,12 @@ review standards.
Built-in support for:
- Drupal Coding Standards - http://drupal.org/node/318
- Handle text in a secure fashion - http://drupal.org/node/28984
- Converting 4.6.x modules to 4.7.x - http://drupal.org/node/22218
- Converting 4.7.x modules to 5.x - http://drupal.org/node/64279
Coder Sniffer
-------------
See the README.txt file in the coder_sniffer directory.
Installation
------------
......@@ -16,6 +20,20 @@ Copy coder.module to your module directory and then enable on the admin
modules page. Enable the modules that admin/config/development/coder/settings
works on, then view the coder results page at coder.
Automated Testing (PHPUnit)
---------------------------
Coder Sniffer comes with a PHPUnit test suite to make sure the sniffs work correctly.
Use Composer to install the dependencies:
composer install
Then execute the tests:
./vendor/bin/phpunit
Author
------
Doug Green
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment