File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 56
56
use function sprintf ;
57
57
58
58
/**
59
- * This module uses Symfony Crawler and HttpKernel to emulate requests and test response.
59
+ * This module uses [Symfony's DomCrawler](https://symfony.com/doc/current/components/dom_crawler.html)
60
+ * and [HttpKernel Component](https://symfony.com/doc/current/components/http_kernel.html) to emulate requests and test response.
61
+ *
62
+ * * Access Symfony services through the dependency injection container: [`$I->grabService(...)`](#grabService)
63
+ * * Use Doctrine to test against the database: `$I->seeInRepository(...)` - see [Doctrine Module](https://codeception.com/docs/modules/Doctrine2)
64
+ * * Assert that emails would have been sent: [`$I->seeEmailIsSent()`](#seeEmailIsSent)
65
+ * * Tests are wrapped into Doctrine transaction to speed them up.
66
+ * * Symfony Router can be cached between requests to speed up testing.
60
67
*
61
68
* ## Demo Project
62
69
*
You can’t perform that action at this time.
0 commit comments