File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ After the library is installed, try running PHPUnit:
27
27
28
28
.. code-block :: terminal
29
29
30
- $ php ./vendor/ bin/phpunit
30
+ $ php bin/phpunit
31
31
32
32
This command automatically runs your application tests. Each test is a
33
33
PHP class ending with "Test" (e.g. ``BlogControllerTest ``) that lives in
@@ -83,18 +83,18 @@ of your application for unit tests. So, if you're testing a class in the
83
83
Autoloading is automatically enabled via the ``vendor/autoload.php `` file
84
84
(as configured by default in the ``phpunit.xml.dist `` file).
85
85
86
- You can run tests using the ``./vendor/ bin/phpunit `` command:
86
+ You can run tests using the ``bin/phpunit `` command:
87
87
88
88
.. code-block :: terminal
89
89
90
90
# run all tests of the application
91
- $ php ./vendor/ bin/phpunit
91
+ $ php bin/phpunit
92
92
93
93
# run all tests in the Form/ directory
94
- $ php ./vendor/ bin/phpunit tests/Form
94
+ $ php bin/phpunit tests/Form
95
95
96
96
# run tests for the UserType class
97
- $ php ./vendor/ bin/phpunit tests/Form/UserTypeTest.php
97
+ $ php bin/phpunit tests/Form/UserTypeTest.php
98
98
99
99
.. tip ::
100
100
You can’t perform that action at this time.
0 commit comments