You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* **Fast**: Tests are wrapped into Doctrine transaction
11
-
* **Scenario-Driven**: described in easy to get PHP DSL
12
-
* Provide common actions and assertions
13
-
* Great for **REST** and SOAP API testing
9
+
* Access Symfony services through the dependecy injection container: `$I->grabService('my_service');`
10
+
* Use Doctrine to access the database (in combination with Codeception's [Doctrine2 Module](http://codeception.com/docs/modules/Doctrine2)): `$I->seeInRepository('AppBundle:User', array('name' => 'davert'));`
11
+
* Assert that emails would have been sent: `$I->seeEmailIsSent();`
12
+
* It's possible to have different Codeception setups for each Symfony bundle.
13
+
* Tests are wrapped into Doctrine transaction to speed them up.
14
+
* Symfony Router can be cached between requests to speed up testing.
14
15
15
16
## Reference
16
17
@@ -19,15 +20,6 @@ sidebar: |
19
20
20
21
---
21
22
22
-
## Features of Codeception's Symfony Module
23
-
24
-
* Access Symfony services through the dependecy injection container: `$I->grabService('my_service');`
25
-
* Use Doctrine to access the database (in combination with Codeception's [Doctrine2 Module](http://codeception.com/docs/modules/Doctrine2)): `$I->seeInRepository('AppBundle:User', array('name' => 'davert'));`
26
-
* Assert that emails would have been sent: `$I->seeEmailIsSent();`
27
-
* It's possible to have different Codeception setups for each Symfony bundle
28
-
29
-
[Full reference of the Symfony Module] (http://codeception.com/docs/modules/Symfony)
0 commit comments