You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* added `seeEmailIsSent`, `grabLastSentEmail`, etc and email part.
21
+
* assetManager disabled for unit/functional tests.
22
+
* Fixed `@example` to `@group` defined in group files. By **[eXorus](https://github.com/eXorus)**. Fixes [#3278](https://github.com/Codeception/Codeception/issues/3278)
23
+
* Fixed timing values in output. Closes [#3331](https://github.com/Codeception/Codeception/issues/3331)
*[Recorder Extension] Fixes saving of files on windows and with using examples.
26
+
***[DataFactory]** Fixed loading factories twice by **[samusenkoiv](https://github.com/samusenkoiv)**. See [#3314](https://github.com/Codeception/Codeception/issues/3314)
27
+
***[Laravel5]** Added `run_database_migrations` configuration option. By **[janhenkgerritsen](https://github.com/janhenkgerritsen)**.
28
+
***[Laravel5]** Added `callArtisan` method. By **[janhenkgerritsen](https://github.com/janhenkgerritsen)**.
29
+
***[Laravel5]** Added `disableModelEvents()` method and `disable_model_events` configuration option. Fixes [#2897](https://github.com/Codeception/Codeception/issues/2897).
30
+
***[REST]** Allow objects in files array [#3298](https://github.com/Codeception/Codeception/issues/3298)
31
+
***[ZF2]** Added addServiceToContainer method
32
+
***[ZendExpressive]** allow instances of UploadedFile in files array
33
+
***[ZF2]** Added addServiceToContainer method
34
+
* Don't fail test validation when exec function is disabled by **[Naktialda](https://github.com/Naktialda)**
35
+
10
36
#### 2.2.2
11
37
12
38
* Parameters can be applied to global `codeception.yml` config. See [#3255](https://github.com/Codeception/Codeception/issues/3255) Thanks to **[LeRondPoint](https://github.com/LeRondPoint)**
13
39
* Fixed loading of parameters from `.env.*` files. See [#3224](https://github.com/Codeception/Codeception/issues/3224). By **[smotesko](https://github.com/smotesko)**
14
40
* Better failure diff messages by **[k0pernikus](https://github.com/k0pernikus)**
15
41
* UTF-8 improvements (replaced with custom `ucfirst`, `strtoupper` => `mb_strtoupper`) by **[Naktibalda](https://github.com/Naktibalda)**. See [#3211](https://github.com/Codeception/Codeception/issues/3211)
16
42
* Print execution time of non-successful tests by **[Naktibalda](https://github.com/Naktibalda)**. Fixes [#3274](https://github.com/Codeception/Codeception/issues/3274)
17
-
**Test\Gherkin* Added support for multiple languages by **[dizzy7](https://github.com/dizzy7)**. See [#3203](https://github.com/Codeception/Codeception/issues/3203)
**Test\Unit* Dependencies can pass and receive values the same way as it is done in PHPUnit. Fixes [#3213](https://github.com/Codeception/Codeception/issues/3213)
20
43
*[WebDriver][PhpBrowser][Frameworks] Fixed created files on failure. Fixes [#3207](https://github.com/Codeception/Codeception/issues/3207)
21
44
*[Frameworks][PhpBrowser] Adjacent forms submit improvements by **[dizzy7](https://github.com/dizzy7)**. Fixes [#2331](https://github.com/Codeception/Codeception/issues/2331)
22
45
***[WebDriver]** Fixed adjacent `selectOption` with similar options by **[eXorus](https://github.com/eXorus)**. Fixes [#3246](https://github.com/Codeception/Codeception/issues/3246)
23
46
***[DataFactory]** fixed loading factories from relative paths. Fixes [#3208](https://github.com/Codeception/Codeception/issues/3208)
**Test\Gherkin* Added support for multiple languages by **[dizzy7](https://github.com/dizzy7)**. See [#3203](https://github.com/Codeception/Codeception/issues/3203)
49
+
**Test\Unit* Dependencies can pass and receive values the same way as it is done in PHPUnit. Fixes [#3213](https://github.com/Codeception/Codeception/issues/3213)
24
50
***[Symfony]** Fixed failing tests when the profiler is disabled by **[dizzy7](https://github.com/dizzy7)**. See [#3223](https://github.com/Codeception/Codeception/issues/3223)
25
51
***[REST]** Added `Codecepion\Util\HttpCode` util class with HTTP code constants. See [class reference](https://github.com/Codeception/Codeception/blob/2.2/docs/reference/HttpCode.md)
26
52
***[REST]** Support simple key-value format for file uploads. See [#3244](https://github.com/Codeception/Codeception/issues/3244)
@@ -54,6 +80,7 @@ title: Codeception Changelog
54
80
*`codecept dry-run` command added to show scenario steps without executing them.
55
81
**Breaking***[Dbh]** module removed
56
82
**Breaking***[Laravel4]** module removed. See [#2866](https://github.com/Codeception/Codeception/issues/2866)
83
+
**Breaking***[Laravel5]** Minimum supported Laravel version is 5.1. See [[#3243](https://github.com/Codeception/Codeception/issues/3243)](https://github.com/Codeception/Codeception/issues/3243#issuecomment-227078266)
57
84
**Breaking***[Laravel5]** Removed `createModel` method, use `have` method instead. See [#2866](https://github.com/Codeception/Codeception/issues/2866)
58
85
**Breaking***[Laravel5]** Removed `makeModel` method. See [#2866](https://github.com/Codeception/Codeception/issues/2866)
59
86
**Breaking***[Laravel5]** Renamed `haveModel` method to `have`. See [#2866](https://github.com/Codeception/Codeception/issues/2866)
Copy file name to clipboardExpand all lines: docs/06-ReusingTestCode.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ Let's improve code of our `login` method by making it executed only once for the
148
148
149
149
{% endhighlight %}
150
150
151
-
Please note that session restoration only works for `WebDriver` and `PhpBrowser` modules (modules implementing `Codeception\Lib\Interfaces\SessionSnapshot`)
151
+
Please note that session restoration only works for `WebDriver` module (modules implementing `Codeception\Lib\Interfaces\SessionSnapshot`)
0 commit comments