Skip to content

Commit a85c868

Browse files
authored
Merge pull request Codeception#136 from ThomasLandauer/patch-1
Mentioning core features on top of the page
2 parents 2aa5eb2 + e222ac8 commit a85c868

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

for/symfony.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,18 @@ sidebar: |
1919
2020
---
2121

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+
2231
## Install
2332

24-
Install latest stable Codeception via Composer:
33+
Install Codeception via Composer:
2534

2635
```bash
2736
composer require codeception/codeception --dev

0 commit comments

Comments
 (0)