Skip to content
This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Commit 23e778d

Browse files
committed
Edited narrative on running unit tests.
1 parent 63a9152 commit 23e778d

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,26 @@ interfaces.
3131

3232
## Running Unit Tests
3333

34-
To run the supplied skeleton unit tests, need to either choose to install
35-
MVC testing support during project creation, or to add [zend-test](https://zendframework.github.io/zend-test/)
36-
as a development dependency with
34+
To run the supplied skeleton unit tests, you need to do one of the following:
3735

38-
```bash
39-
$ composer require --dev zendframework/zend-test
40-
```
36+
- During initial project creation, select to install the MVC testing support.
37+
- After initial project creation, install [zend-test](https://zendframework.github.io/zend-test/):
4138

42-
Once installed, you can run the tests using:
39+
```bash
40+
$ composer require --dev zendframework/zend-test
41+
```
42+
43+
Once testing support is present, you can run the tests using:
4344

4445
```bash
4546
$ ./vendor/bin/phpunit
4647
```
4748

48-
If you need to make local modifications to phpunit xml configuration file,
49-
copy `phpunit.xml.dist` to `phpunit.xml`, which will take precedence by the test runner
50-
and is ignored by the repository.
51-
49+
If you need to make local modifications for the PHPUnit test setup, copy
50+
`phpunit.xml.dist` to `phpunit.xml` and edit the new file; the latter has
51+
precedence over the former when running tests, and is ignored by version
52+
control. (If you want to make the modifications permanent, edit the
53+
`phpunit.xml.dist` file.)
5254

5355
## Using Vagrant
5456

0 commit comments

Comments
 (0)