There was an error while loading. Please reload this page.
2 parents 66d4b8f + 4757e8c commit 2ededbbCopy full SHA for 2ededbb
book/testing.rst
@@ -71,11 +71,17 @@ Running tests for a given file or directory is also very easy:
71
72
.. code-block:: bash
73
74
+ # run all tests for the Controller
75
+ $ phpunit -c app src/Sensio/HelloBundle/Tests/Controller/
76
+
77
# run all tests for the Model
- $ phpunit -c app Acme/HelloBundle/Tests/Model/
78
+ $ phpunit -c app src/Sensio/HelloBundle/Tests/Model/
79
80
# run tests for the Article class
- $ phpunit -c app Acme/HelloBundle/Tests/Model/ArticleTest.php
81
+ $ phpunit -c app src/Sensio/HelloBundle/Tests/Model/ArticleTest.php
82
83
+ # run all tests for the entire Bundle
84
+ $ phpunit -c app src/Sensio/HelloBundle/
85
86
.. index::
87
single: Tests; Functional Tests
0 commit comments