Skip to content

Commit 1c4b14d

Browse files
committed
auto updated documentation
1 parent 14fa6d5 commit 1c4b14d

File tree

4 files changed

+49
-1
lines changed

4 files changed

+49
-1
lines changed

_includes/extensions.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,37 @@ extensions:
103103

104104

105105

106+
## RunBefore
107+
108+
[See Source](https://github.com/Codeception/Codeception/blob/2.4/ext/RunBefore.php)
109+
110+
Extension for execution of some processes before running tests.
111+
112+
Processes can be independent and dependent.
113+
Independent processes run independently of each other.
114+
Dependent processes run sequentially one by one.
115+
116+
Can be configured in suite config:
117+
118+
```yaml
119+
# acceptance.suite.yml
120+
extensions:
121+
enabled:
122+
- Codeception\Extension\RunBefore:
123+
- independent_process_1
124+
-
125+
- dependent_process_1_1
126+
- dependent_process_1_2
127+
- independent_process_2
128+
-
129+
- dependent_process_2_1
130+
- dependent_process_2_2
131+
```
132+
133+
HINT: you can use different configurations per environment.
134+
135+
136+
106137
## RunFailed
107138

108139
[See Source](https://github.com/Codeception/Codeception/blob/2.4/ext/RunFailed.php)

changelog.markdown

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ title: Codeception Changelog
77

88
# Changelog
99

10+
#### 2.4.5
11+
12+
* Fixed PHPUnit 7.2 compatibility.
13+
* Introduced **RunBefore** extension to execute scripts before running tests. See [#5049](https://github.com/Codeception/Codeception/issues/5049) by **[aashmelev](https://github.com/aashmelev)**.
14+
* **[Db]** Added two options for MySQL by **[bangertz](https://github.com/bangertz)**
15+
* `ssl_cipher` - list of one or more permissible ciphers to use for SSL encryption
16+
* `ssl_verify_server_cert` - disables certificate CN verification
17+
* **[Db]** Always disconnect before connect when `reconnect` is set. By **[ashnazg](https://github.com/ashnazg)**
18+
* **[Db]** More explicit PDO closing upon destruction and close opened transactions by **[ashnazg](https://github.com/ashnazg)**.
19+
* [Recorder Extension] Improved error logging by **[OneEyedSpaceFish](https://github.com/OneEyedSpaceFish)**. See [#5101](https://github.com/Codeception/Codeception/issues/5101)
20+
* **[Lumen]** Fixed file uploads via REST module. By **[retnek](https://github.com/retnek)**.
21+
* Fixed: function getMetadata() may not exist, results in fatal error. See [#4913](https://github.com/Codeception/Codeception/issues/4913) by **[marcovtwout](https://github.com/marcovtwout)**
22+
1023
#### 2.4.4
1124

1225
* Recently added `extends` property in the `codeception.yml` and `*.suite.yml` files now support absolute paths; by **[silverfire](https://github.com/silverfire)**

docs/08-Customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ Learn from the examples above to build a custom Installation Template. Here are
409409
* Use methods like `say`, `saySuccess`, `sayWarning`, `sayError`, `ask`, to interact with a user.
410410
* Use `createDirectoryFor`, `createEmptyDirectory` methods to create directories
411411
* Use `createHelper`, `createActor` methods to create helpers and actors.
412-
* Use [Codeception generators](https://github.com/Codeception/Codeception/tree/2.3/src/Codeception/Lib/Generator) to create other support classes.
412+
* Use [Codeception generators](https://github.com/Codeception/Codeception/tree/2.4/src/Codeception/Lib/Generator) to create other support classes.
413413

414414
## Conclusion
415415

docs/modules/Db.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ if you run into problems loading dumps and cleaning databases.
4848
* ssl_key - path to the SSL key (MySQL specific, @see http://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-key)
4949
* ssl_cert - path to the SSL certificate (MySQL specific, @see http://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-ssl-cert)
5050
* ssl_ca - path to the SSL certificate authority (MySQL specific, @see http://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-ssl-ca)
51+
* ssl_verify_server_cert - disables certificate CN verification (MySQL specific, @see http://php.net/manual/de/ref.pdo-mysql.php)
52+
* ssl_cipher - list of one or more permissible ciphers to use for SSL encryption (MySQL specific, @see http://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-cipher)
5153

5254
### Example
5355

@@ -65,6 +67,8 @@ if you run into problems loading dumps and cleaning databases.
6567
ssl_key: '/path/to/client-key.pem'
6668
ssl_cert: '/path/to/client-cert.pem'
6769
ssl_ca: '/path/to/ca-cert.pem'
70+
ssl_verify_server_cert: false
71+
ssl_cipher: 'AES256-SHA'
6872

6973
### SQL data dump
7074

0 commit comments

Comments
 (0)