Skip to content

Commit b931a0c

Browse files
committed
updated
1 parent a55164a commit b931a0c

1 file changed

Lines changed: 7 additions & 15 deletions

File tree

for/symfony.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ title: Codeception for Symfony
44
hero: symfony_hero.html
55
sidebar: |
66
7-
## Codeception Tests
7+
## Features
88
9-
* Combine **all testing levels** (acceptance, functional, unit)
10-
* **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.
1415
1516
## Reference
1617
@@ -19,15 +20,6 @@ sidebar: |
1920
2021
---
2122

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)
30-
3123
## Install
3224

3325
Install Codeception via Composer:

0 commit comments

Comments
 (0)