Skip to content

Commit a1465a0

Browse files
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 section
2 parents 696c423 + 4f72e6a commit a1465a0

File tree

4 files changed

+340
-441
lines changed

4 files changed

+340
-441
lines changed

_build/redirection_map

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,3 +510,4 @@
510510
/messenger/message-recorder messenger/dispatch_after_current_bus
511511
/components/stopwatch https://github.com/symfony/stopwatch
512512
/service_container/3.3-di-changes https://symfony.com/doc/3.4/service_container/3.3-di-changes.html
513+
/testing/functional_tests_assertions /testing#testing-application-assertions

0 commit comments

Comments
 (0)