Skip to content

Commit 34c268a

Browse files
committed
updated changelog, updated docs for Yii2 module
1 parent 3c6c2d7 commit 34c268a

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,29 @@
22

33
#### 2.2.3
44

5+
* [Yii2] Improvements:
6+
* Added `init` part to initialize Yii app for unit and acceptance testing.
7+
* added `entryScript` and `entryUrl` config values for acceptance testing.
8+
* Fixtures support: `haveFixtures`, `grabFixtures` methods.
9+
* Yii logs to be printed in debug mode.
10+
* added `amOnRoute` method.
11+
* added `amloggedInAs` method.
12+
* added `grabComponent` method.
13+
* added `seeEmailIsSent`, `grabLastSentEmail`, etc and email part.
14+
* assetManager disabled for unit/functional tests.
515
* Fixed `@example` to `@group` defined in group files. By @eXorus. Fixes #3278
16+
* Fixed timing values in output. Closes #3331
17+
* Fixed merging module configs. Closes #3292
18+
* [Recorder Extension] Fixes saving of files on windows and with using examples.
19+
* [DataFactory] Fixed loading factories twice by @samusenkoiv. See #3314
620
* [Laravel5] Added `run_database_migrations` configuration option. By @janhenkgerritsen.
721
* [Laravel5] Added `callArtisan` method. By @janhenkgerritsen.
822
* [Laravel5] Added `disableModelEvents()` method and `disable_model_events` configuration option. Fixes #2897.
923
* [REST] Allow objects in files array #3298
1024
* [ZF2] Added addServiceToContainer method
1125
* [ZendExpressive] allow instances of UploadedFile in files array
1226
* [ZF2] Added addServiceToContainer method
27+
* Don't fail test validation when exec function is disabled by @Naktialda
1328

1429
#### 2.2.2
1530

src/Codeception/Module/Yii2.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@
3636
*
3737
* ### Parts
3838
*
39+
* By default all available methods are loaded, but you can specify parts to select only needed actions and avoid conflicts.
40+
*
3941
* * `init` - use module only for initialization (for acceptance tests).
40-
* * `orm` - include only haveRecord/grabRecord/seeRecord/dontSeeRecord actions
42+
* * `orm` - include only `haveRecord/grabRecord/seeRecord/dontSeeRecord` actions.
43+
* * `fixtures` - use fixtures inside tests with `haveFixtures/grabFixture/grabFixtures` actions.
44+
* * `email` - include email actions `seeEmailsIsSent/grabLastSentEmail/...`
4145
*
4246
* ### Example (`functional.suite.yml`)
4347
*

0 commit comments

Comments
 (0)