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 @@ -65,7 +65,7 @@ Unit Tests
65
65
66
66
A `unit test `_ ensures that individual units of source code (e.g. a single
67
67
class or some specific method in some class) meet their design and behave
68
- as intended. Writing Symfony unit tests is no different from writing
68
+ as intended. Writing unit tests is a Symfony application no different from writing
69
69
standard PHPUnit unit tests. You can learn about it in the PHPUnit
70
70
documentation: `Writing Tests for PHPUnit `_.
71
71
@@ -75,18 +75,18 @@ of your application for unit tests. So, if you're testing a class in the
75
75
Autoloading is automatically enabled via the ``vendor/autoload.php `` file
76
76
(as configured by default in the ``phpunit.xml.dist `` file).
77
77
78
- You can run tests using the ``bin/phpunit `` command:
78
+ You can run tests using the ``./vendor/ bin/phpunit `` command:
79
79
80
80
.. code-block :: terminal
81
81
82
82
# run all tests of the application
83
- $ php bin/phpunit
83
+ $ php ./vendor/ bin/phpunit
84
84
85
85
# run all tests in the Util/ directory
86
- $ php bin/phpunit tests/Util
86
+ $ php ./vendor/ bin/phpunit tests/Util
87
87
88
88
# run tests for the Calculator class
89
- $ php bin/phpunit tests/Util/CalculatorTest.php
89
+ $ php ./vendor/ bin/phpunit tests/Util/CalculatorTest.php
90
90
91
91
Integration Tests
92
92
-----------------
You can’t perform that action at this time.
0 commit comments