Skip to content

Commit bd28a64

Browse files
committed
minors
1 parent b0d51cf commit bd28a64

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

testing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Unit Tests
6565

6666
A `unit test`_ ensures that individual units of source code (e.g. a single
6767
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
6969
standard PHPUnit unit tests. You can learn about it in the PHPUnit
7070
documentation: `Writing Tests for PHPUnit`_.
7171

@@ -75,18 +75,18 @@ of your application for unit tests. So, if you're testing a class in the
7575
Autoloading is automatically enabled via the ``vendor/autoload.php`` file
7676
(as configured by default in the ``phpunit.xml.dist`` file).
7777

78-
You can run tests using the ``bin/phpunit`` command:
78+
You can run tests using the ``./vendor/bin/phpunit`` command:
7979

8080
.. code-block:: terminal
8181
8282
# run all tests of the application
83-
$ php bin/phpunit
83+
$ php ./vendor/bin/phpunit
8484
8585
# run all tests in the Util/ directory
86-
$ php bin/phpunit tests/Util
86+
$ php ./vendor/bin/phpunit tests/Util
8787
8888
# run tests for the Calculator class
89-
$ php bin/phpunit tests/Util/CalculatorTest.php
89+
$ php ./vendor/bin/phpunit tests/Util/CalculatorTest.php
9090
9191
Integration Tests
9292
-----------------

0 commit comments

Comments
 (0)