Commit a1465a0
committed
minor #15304 [Testing] Application testing in Symfony is fun! Let's document the modern features (wouterj)
This PR was merged into the 4.4 branch.
Discussion
----------
[Testing] Application testing in Symfony is fun! Let's document the modern features
This PR continues the efforts of restructuring the Testing docs:
- Focus more on Arrange, Act, Assert
- Advertise modern testing features (assertions). Somehow, we didn't mention any easy to use assertion in the main guide, but instead explained the complex dom crawler API.
- Reduce some "duplication". There is an astonishing number of ways to fill in and submit a form (we documented at least 4 different APIs in the main guide!). I've reduced this to two: a plain and short one, and a longer one for more complex form submissions.
Todo, preferably in a follow-up PR: combine the `testing/dom_crawler` and `components/dom_crawler` feature documentation into `testing/dom_crawler`.
cc `@Nyholm`
Commits
-------
4f72e6a [Testing] Restructure Application Tests sectionFile tree
4 files changed
+340
-441
lines changed- _build
- testing
4 files changed
+340
-441
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| 513 | + | |
0 commit comments