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
Copy file name to clipboardExpand all lines: changelog.markdown
+39Lines changed: 39 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,49 @@ title: Codeception Changelog
7
7
8
8
# Changelog
9
9
10
+
#### 2.2.0
11
+
12
+
***Gherkin format support**. <strong>[Announcement]</strong>(https://github.com/Codeception/Codeception/pull/2750#issue-129899745)
13
+
***Core Test Format Refactorings** Codeception becomes true multiformat testing platform. Format requires a <strong>[Loader]</strong>(https://github.com/Codeception/Codeception/blob/master/src/Codeception/Test/Loader/LoaderInterface.php) and class extending <strong>[Test]</strong>(https://github.com/Codeception/Codeception/blob/master/src/Codeception/Test/Test.php) class, implementing <strong>[TestInterface]</strong>(https://github.com/Codeception/Codeception/blob/master/src/Codeception/TestInterface.php).
14
+
**Breaking*`Codeception\TestCase` replaced with `Codeception\TestInterface` in code and in module signatures.
15
+
**Breaking* Cept/Cest classes are no longer extending `PHPUnit_Framework_TestCase`, so they don't have `expectException`, `getMock`, etc.
16
+
* Reduced stack trace for scenario-driven test formats. Codeception tests implement `PHPUnit_Framework_Test` instead of extending heavy `PHPUnit_Framework_TestCase` class.
17
+
**Breaking***Conflicts API implemented** Frameworks + PhpBrowser + WebDriver can't be used together unless only non-conflicting part is used. <strong>[Announcement]</strong>(http://codeception.com/03-05-2016/codeception-2.2.-upcoming-features.html#conflicts)
18
+
***Examples** as an alternative to Data Providers. <strong>[Announcement]</strong>(http://codeception.com/03-10-2016/even-more-features-of-codeception.html#examples)
19
+
***Params** loading from yml, env files or environment. <strong>[Announcement]</strong>(http://codeception.com/03-05-2016/codeception-2.2.-upcoming-features.html#params)
20
+
***Test dependencies** with `<strong><a href="https://github.com/depends">@depends</a></strong>` annotation. <strong>[Announcement]</strong>(http://codeception.com/03-05-2016/codeception-2.2.-upcoming-features.html#test-dependencies)
21
+
***Custom Commands** inject your own commands as as simple as extension. <strong>[Announcement]</strong>(http://codeception.com/03-10-2016/even-more-features-of-codeception.html#custom-commands)
22
+
*`codecept dry-run` command added to show scenario steps without executing them.
**Breaking* <strong>[Symfony]</strong> public property `container` removed
26
+
**Breaking* <strong>[Asserts]</strong> removed deprecated `assertLessThen` and `assertGreaterThen`
27
+
**Breaking* mocks created with `Codeception\Util\Stub` are not verified in Cests. See <ahref="https://github.com/Codeception/Codeception/issues/3005">#3005</a>
28
+
**Breaking* <strong>[REST]</strong> `grabAttributeFrom` renamed to `grabAttributeFromXmlElement` to avoid conflicts
29
+
* <strong>[WebDriver]</strong> allows getting current browser and capabilities in test. <strong>[Announcement]</strong>(http://codeception.com/03-10-2016/even-more-features-of-codeception.html#Getting-current-browser-and-capabilities-in-tests)
* <strong>[DataFactory]</strong> module added. Performs data generation using FactoryMuffin library <strong>[Announcement]</strong>(http://codeception.com/03-10-2016/even-more-features-of-codeception.html#datafactory)
32
+
* <strong>[Redis]</strong> Module rewritten using Predis library as driver by <strong><ahref="https://github.com/marcverney">@marcverney</a></strong>
33
+
* <strong>[Symfony]</strong> module Symfony2 renamed to Symfony
34
+
* <strong>[Phalcon]</strong> Merged `Phalcon1` and `Phalcon2` modules into one `Phalcon` due the fact that Phalcon Framework v1.3.x no longer supported at all
35
+
* <strong>[Asserts]</strong> More `assert*` methods from PHPUnit added
* <strong>[WebDriver]</strong><strong>[Frameworks]</strong><strong>[PhpBrowser]</strong> `selectOption` can receive option as strict locator to exactly match option by text or by value. Use `['value' => 'myvalue']` or `['text' => 'optiontext']` to select a proper option. By <strong><ahref="https://github.com/gdscei">@gdscei</a></strong> and <strong><ahref="https://github.com/davertmik">@davertmik</a></strong> See <ahref="https://github.com/Codeception/Codeception/issues/3003">#3003</a>
38
+
* Added config option to disable modules using `modules: disabled:`.
39
+
* <strong>[Sequence]</strong> Changed the prefix value. Generated sequences to include id inside a prefix: `sq('user1') => 'user1_876asd8as87a'. Added `prefix` config option.
40
+
* Deprecation errors won't fail tests but will be printed.
41
+
* Official [Docker image](https://hub.docker.com/r/codeception/codeception/) introduced by <strong><ahref="https://github.com/schmunk42">@schmunk42</a></strong>
42
+
43
+
#### 2.1.10
44
+
45
+
* <strong>[Db]</strong> Added missing support for LIKE condition to SqlSrv driver
46
+
10
47
#### 2.1.9
11
48
12
49
* PHPUnit 5.4 compatibility for creating mocks using `Codeception\Util\Stub` by <strong><ahref="https://github.com/davertmik">@davertmik</a></strong>. See <ahref="https://github.com/Codeception/Codeception/issues/3093">#3093</a> and <ahref="https://github.com/Codeception/Codeception/issues/3080">#3080</a>
13
50
* Updated dependencies to support Symfony 3.1
51
+
* <strong>[Laravel5]</strong> Fixed issue where non-existing services were called in _before and _after methods. See <ahref="https://github.com/Codeception/Codeception/issues/3028">#3028</a>.
52
+
* Fix self-update command to update only to stable versions by <strong><ahref="https://github.com/MAXakaWIZARD">@MAXakaWIZARD</a></strong>
14
53
* Added `settings: backup_global` to config, to disable backup_global option of PHPUnit by <strong><ahref="https://github.com/mkeasling">@mkeasling</a></strong>. See <ahref="https://github.com/Codeception/Codeception/issues/3045">#3045</a>. Fixes <ahref="https://github.com/Codeception/Codeception/issues/3044">#3044</a>
15
54
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> `see` matches UTF-8 text case-insensitively by <strong><ahref="https://github.com/Naktibalda">@Naktibalda</a></strong>. Fixes <ahref="https://github.com/Codeception/Codeception/issues/3114">#3114</a>
16
55
* Fixed page object generation with namespaces by <strong><ahref="https://github.com/eugene">@eugene</a></strong>-manuilov and <strong><ahref="https://github.com/Naktibalda">@Naktibalda</a></strong>. See <ahref="https://github.com/Codeception/Codeception/issues/3126">#3126</a> Fixes <ahref="https://github.com/Codeception/Codeception/issues/3012">#3012</a>
0 commit comments