Skip to content

Commit dce8c32

Browse files
committed
Update changelog and module documentation
1 parent 7f2bf95 commit dce8c32

File tree

5 files changed

+153
-78
lines changed

5 files changed

+153
-78
lines changed

changelog.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ title: Codeception Changelog
88
# Changelog
99

1010

11+
#### 4.1.5
12+
13+
* Fixed docker images
14+
* Fix indentation in generated Actor class, by **[cebe](https://github.com/cebe)**
15+
* Added addToAssertionCount method to AssertionCounter trait, [#5918](https://github.com/Codeception/Codeception/issues/5918) by **[Archanium](https://github.com/Archanium)**
16+
1117
#### 4.1.4
1218

1319
* Build: Fix bug with void type not being picked up correctly [#5880](https://github.com/Codeception/Codeception/issues/5880) by **[Jamesking56](https://github.com/Jamesking56)**

docs/modules/Asserts.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ Checks that haystack contains needle
6666
* `param` $description
6767

6868

69+
#### assertDoesNotMatchRegularExpression
70+
71+
Checks that string not match with pattern
72+
73+
Alias of assertNotRegExp
74+
* `param string` $pattern
75+
* `param string` $string
76+
* `param string` $message
77+
78+
6979
#### assertEmpty
7080

7181
Checks that variable is empty.
@@ -104,6 +114,15 @@ Checks that condition is negative.
104114
* `param string` $message
105115

106116

117+
#### assertFileDoesNotExist
118+
119+
Checks if file doesn't exist
120+
121+
Alias of assertFileNotExists
122+
* `param string` $filename
123+
* `param string` $message
124+
125+
107126
#### assertFileExists
108127

109128
Checks if file exists
@@ -270,6 +289,16 @@ Checks that actual is less or equal than expected
270289
* `param string` $message
271290

272291

292+
#### assertMatchesRegularExpression
293+
294+
Checks that string match with pattern
295+
296+
Alias of assertRegExp
297+
* `param string` $pattern
298+
* `param string` $string
299+
* `param string` $message
300+
301+
273302
#### assertNotContains
274303

275304
Checks that haystack doesn't contain needle.

docs/modules/MongoDb.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ HINT: This module can be used with [Mongofill](https://github.com/mongofill/mong
7777
default: MongoDb::DUMP_TYPE_JS).
7878
* dump - path to database dump
7979
* populate: true - should the dump be loaded before test suite is started.
80-
* cleanup: true - should the dump be reloaded after each test
80+
* cleanup: true - should the dump be reloaded after each test.
81+
Boolean or 'dirty'. If cleanup is set to 'dirty', the dump is only reloaded if any data has been written to the db during a test. This is
82+
checked using the [dbHash](https://docs.mongodb.com/manual/reference/command/dbHash/) command.
8183

8284

8385
### Actions

docs/modules/Symfony.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -939,17 +939,17 @@ Recommended to use for integration or functional testing.
939939
{% highlight php %}
940940

941941
<?php
942-
$result = $I->runSymfonyConsoleCommand('hello:world', '--verbose' => 3]);
942+
$result = $I->runSymfonyConsoleCommand('hello:world', ['arg' => 'argValue', 'opt1' => 'optValue'], ['input']);
943943
?>
944944

945945
{% endhighlight %}
946946

947-
* `param string` $command
948-
* `param mixed[]` $params
947+
* `param string` $command The console command to execute
948+
* `param array` $parameters Parameters (arguments and options) to pass to the command
949+
* `param array` $consoleInputs Console inputs (e.g. used for interactive questions)
950+
* `param int` $expectedExitCode The expected exit code of the command
949951

950-
* `return` string
951-
952-
@throws \Exception
952+
* `return` string Returns the console output of the command
953953

954954

955955
#### see

0 commit comments

Comments
 (0)