File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ it has its own excellent `documentation`_.
19
19
20
20
Symfony2 works with PHPUnit 3.5.11 or later, though version 3.6.4 is
21
21
needed to test the Symfony core code itself.
22
+
22
23
23
24
Each test - whether it's a unit test or a functional test - is a PHP class
24
25
that should live in the ``Tests/ `` subdirectory of your bundles. If you follow
@@ -29,6 +30,18 @@ command:
29
30
30
31
# specify the configuration directory on the command line
31
32
$ phpunit -c app/
33
+
34
+ .. note ::
35
+
36
+ If have the ``No tests executed! ``
37
+ message in, specify the "src" directory at the
38
+ end of the command.
39
+
40
+ .. code-block :: bash
41
+
42
+ # specify the configuration directory on the command line
43
+ $ phpunit -c app/ arc/
44
+
32
45
33
46
The ``-c `` option tells PHPUnit to look in the ``app/ `` directory for a configuration
34
47
file. If you're curious about the PHPUnit options, check out the ``app/phpunit.xml.dist ``
You can’t perform that action at this time.
0 commit comments