Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed the phpunit examples (using an existing component and added a n…

…ot about the phpunit.xml file) and added a blank line to start a second list
  • Loading branch information...
commit 598709d2b880752678231ecaca5508500cc082f8 1 parent 888f7b4
@coudenysj coudenysj authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 README-DEV.md
View
6 README-DEV.md
@@ -34,12 +34,13 @@ To run tests:
- Make sure you have a recent version of PHPUnit installed; 3.5.0
minimally.
- Enter the `tests/` subdirectory.
+ - Copy the `phpunit.xml.dist` file to `phpunit.xml`
- Execute PHPUnit, providing a path to a component directory for which
you wish to run tests, or a specific test class file.
```sh
- % phpunit ZendTest/Application
- % phpunit ZendTest/Application/Resource/CacheManagerTest.php
+ % phpunit Zend/Http
+ % phpunit Zend/Http/Header/EtagTest.php
```
- You may also provide the `--group` switch; in such cases, provide the
@@ -54,6 +55,7 @@ To run tests:
```sh
% phpunit --group ZF-XYZ Zend/Application
```
+
You can turn on conditional tests with the TestConfiguration.php file.
To do so:
Please sign in to comment.
Something went wrong with that request. Please try again.