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