|
17 | 17 |
|
18 | 18 | /** |
19 | 19 | * Extension to start and stop processes per suite. |
20 | | - * Can be used to start/stop selenium server, chromedriver,[MailCatcher](https://mailcatcher.me/),etc. |
| 20 | + * Can be used to start/stop selenium server, chromedriver, etc. |
21 | 21 | * Each command is executed only once, at the beginning of the test suite. To execute a command before each test, see [Before/After Attributes](https://codeception.com/docs/AdvancedUsage#BeforeAfter-Attributes). |
22 | 22 | * |
23 | 23 | * Can be enabled in suite config: |
|
43 | 43 | * |
44 | 44 | * In the end of a suite all launched processes will be stopped. |
45 | 45 | * |
46 | | - * To wait for the process to be launched use `sleep` option. In this case you need configuration to be specified as object: |
| 46 | + * To wait for the process to be launched usethe`sleep` option. In this case you need configuration to be specified as object: |
47 | 47 | * |
48 | 48 | * ```yaml |
49 | 49 | * extensions: |
50 | 50 | * enabled: |
51 | 51 | * - Codeception\Extension\RunProcess: |
52 | | - * 0:java -jar ~/selenium-server.jar |
53 | | - * 1:mailcatcher |
54 | | - * sleep: 5 # wait 5 seconds for processes to boot |
| 52 | + * 0:php -S 127.0.0.1:8000 -t tests/data/app |
| 53 | + * 1:java -jar ~/selenium-server.jar |
| 54 | + * sleep: 5 # wait 5 seconds fortheprocesses to boot |
55 | 55 | * ``` |
56 | 56 | * |
57 | 57 | * HINT: You can use different configurations per environment. |
|