commit 73d3d545e8080185a526f99e8b328b197f255ebd parent c3e84ff2f286987d18a8861840ef29eb0a1a21b8 Author: Felicitus <felicitus@felicitus.org> Date: Wed, 16 Sep 2015 17:27:53 +0200 Updated docs about unit testing Diffstat:
A | documentation/developer/UNIT-TESTS.md | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/documentation/developer/UNIT-TESTS.md b/documentation/developer/UNIT-TESTS.md @@ -0,0 +1,12 @@ +# Functional / Unit Testing + +Unit tests are usually ran by calling `phpunit -c app/`. This also generates a coverage report in the directory +`reports/coverage`. + +If you need to run individual tests, you can do so by using the following command: + +`phpunit -c app/ <yourtestcase>` + +Full example: + +`phpunit -c app/ src/PartKeepr/AuthBundle/Tests/Controller/DefaultControllerTest`