|
19 | 19 | *
|
20 | 20 | * <https://github.com/Codeception/symfony-demo>
|
21 | 21 | *
|
22 |
| - * ## Status |
23 |
| - * |
24 |
| - * * Maintainer: **raistlin** |
25 |
| - * * Stability: **stable** |
26 |
| - * |
27 | 22 | * ## Config
|
28 | 23 | *
|
29 |
| - * ### Symfony 2.x |
| 24 | + * ### Symfony 4.x |
30 | 25 | *
|
31 |
| - * * app_path: 'app' - specify custom path to your app dir, where bootstrap cache and kernel interface is located. |
| 26 | + * * app_path: 'src' - in Symfony 4 Kernel is located inside `src` |
32 | 27 | * * environment: 'local' - environment used for load kernel
|
33 |
| - * * debug: true - turn on/off debug mode |
34 | 28 | * * em_service: 'doctrine.orm.entity_manager' - use the stated EntityManager to pair with Doctrine Module.
|
| 29 | + * * debug: true - turn on/off debug mode |
35 | 30 | * * cache_router: 'false' - enable router caching between tests in order to [increase performance](http://lakion.com/blog/how-did-we-speed-up-sylius-behat-suite-with-blackfire)
|
36 | 31 | * * rebootable_client: 'true' - reboot client's kernel before each request
|
37 | 32 | *
|
38 |
| - * ### Example (`functional.suite.yml`) - Symfony 2.x Directory Structure |
| 33 | + * #### Example (`functional.suite.yml`) - Symfony 4 Directory Structure |
39 | 34 | *
|
40 |
| - * ``` |
41 |
| - * modules: |
42 |
| - * - Symfony: |
43 |
| - * app_path: 'app/front' |
44 |
| - * environment: 'local_test' |
45 |
| - * ``` |
| 35 | + * modules: |
| 36 | + * enabled: |
| 37 | + * - Symfony: |
| 38 | + * app_path: 'src' |
| 39 | + * environment: 'test' |
46 | 40 | *
|
47 |
| - * ### Symfony 3.x Directory Structure |
| 41 | + * |
| 42 | + * ### Symfony 3.x |
48 | 43 | *
|
49 | 44 | * * app_path: 'app' - specify custom path to your app dir, where the kernel interface is located.
|
50 | 45 | * * var_path: 'var' - specify custom path to your var dir, where bootstrap cache is located.
|
|
54 | 49 | * * cache_router: 'false' - enable router caching between tests in order to [increase performance](http://lakion.com/blog/how-did-we-speed-up-sylius-behat-suite-with-blackfire)
|
55 | 50 | * * rebootable_client: 'true' - reboot client's kernel before each request
|
56 | 51 | *
|
57 |
| - * ### Example (`functional.suite.yml`) - Symfony 3 Directory Structure |
| 52 | + * #### Example (`functional.suite.yml`) - Symfony 3 Directory Structure |
58 | 53 | *
|
59 | 54 | * modules:
|
60 | 55 | * enabled:
|
|
64 | 59 | * environment: 'local_test'
|
65 | 60 | *
|
66 | 61 | *
|
| 62 | + * ### Symfony 2.x |
| 63 | + * |
| 64 | + * * app_path: 'app' - specify custom path to your app dir, where bootstrap cache and kernel interface is located. |
| 65 | + * * environment: 'local' - environment used for load kernel |
| 66 | + * * debug: true - turn on/off debug mode |
| 67 | + * * em_service: 'doctrine.orm.entity_manager' - use the stated EntityManager to pair with Doctrine Module. |
| 68 | + * * cache_router: 'false' - enable router caching between tests in order to [increase performance](http://lakion.com/blog/how-did-we-speed-up-sylius-behat-suite-with-blackfire) |
| 69 | + * * rebootable_client: 'true' - reboot client's kernel before each request |
| 70 | + * |
| 71 | + * ### Example (`functional.suite.yml`) - Symfony 2.x Directory Structure |
| 72 | + * |
| 73 | + * ``` |
| 74 | + * modules: |
| 75 | + * - Symfony: |
| 76 | + * app_path: 'app/front' |
| 77 | + * environment: 'local_test' |
| 78 | + * ``` |
| 79 | + * |
67 | 80 | * ## Public Properties
|
68 | 81 | *
|
69 | 82 | * * kernel - HttpKernel instance
|
|
0 commit comments