File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed
Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -28,17 +28,31 @@ Via `composer.json`:
2828
2929## Config
3030
31- Put this on your ` codeception.yml ` 's ` modules.config ` , or on your ` tests/functional.suite.yml ` 's
32- ` modules.enabled ` .
31+ Put this on your ` codeception.yml `
3332
3433``` yaml
35- \Herloct\Codeception\Module\Slim :
36- container : path/to/container.php
34+ modules :
35+ config :
36+ \Herloct\Codeception\Module\Slim :
37+ container : path/to/container.php
38+ REST :
39+ depends : \Herloct\Codeception\Module\Slim
3740` ` `
3841
39- The ` container` properties is a relative path to file which returns your App's Container.
42+ Or on your ` tests/functional.suite.yml`
4043
41- Minimum `container.php` contents.
44+ ` ` ` yaml
45+ modules:
46+ enabled:
47+ - \H elper\F unctional
48+ - \H erloct\C odeception\M odule\S lim:
49+ container: path/to/container.php
50+ - REST:
51+ depends: \H erloct\C odeception\M odule\S lim
52+ ` ` `
53+
54+ The `container` properties is a relative path to file which returns your App's Container.
55+ Here is the minimum `container.php` contents.
4256
4357` ` ` php
4458require __DIR__.'/vendor/autoload.php';
You can’t perform that action at this time.
0 commit comments