Skip to content

Commit fa19b45

Browse files
committed
minor #13983 Change unit test definition (l-vo)
This PR was submitted for the 3.4 branch but it was merged into the 4.4 branch instead. Discussion ---------- Change unit test definition I'm not sure about the unit test definition. Considering unit tests as testing against a single class often leads to over-mocking. What about talking of single behaviour instead ? Commits ------- 3324630 Change unit test definition
2 parents 42f77b7 + 3324630 commit fa19b45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ Symfony application.
5757
Unit Tests
5858
----------
5959

60-
A unit test is a test against a single PHP class, also called a *unit*. If you
61-
want to test the overall behavior of your application, see the section about
60+
A unit test is a test against a single behavior, also called a *unit*. If you
61+
want to test the overall way of your application, see the section about
6262
:ref:`Functional Tests <functional-tests>`.
6363

6464
Writing Symfony unit tests is no different from writing standard PHPUnit

0 commit comments

Comments
 (0)