Skip to content

Commit 870eed4

Browse files
committed
auto updated documentation
1 parent dfbf9ac commit 870eed4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3900
-3542
lines changed

_includes/guides.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<li><a href="/docs/01-Introduction">Introduction</a></li><li><a href="/docs/02-GettingStarted">Getting Started</a></li><li><a href="/docs/03-AcceptanceTests">Acceptance Tests</a></li><li><a href="/docs/04-FunctionalTests">Functional Tests</a></li><li><a href="/docs/05-UnitTests">Unit Tests</a></li><li><a href="/docs/06-ReusingTestCode">Reusing Test Code</a></li><li><a href="/docs/07-AdvancedUsage">Advanced Usage</a></li><li><a href="/docs/08-Customization">Customization</a></li><li><a href="/docs/09-Data">Data</a></li><li><a href="/docs/10-WebServices">Web Services</a></li><li><a href="/docs/11-Codecoverage">Codecoverage</a></li><li><a href="/docs/12-ParallelExecution">Parallel Execution</a></li>
1+
<li><a href="/docs/01-Introduction">Introduction</a></li><li><a href="/docs/02-GettingStarted">Getting Started</a></li><li><a href="/docs/03-AcceptanceTests">Acceptance Tests</a></li><li><a href="/docs/04-FunctionalTests">Functional Tests</a></li><li><a href="/docs/05-UnitTests">Unit Tests</a></li><li><a href="/docs/06-ModulesAndHelpers">Modules And Helpers</a></li><li><a href="/docs/06-ReusingTestCode">Reusing Test Code</a></li><li><a href="/docs/07-AdvancedUsage">Advanced Usage</a></li><li><a href="/docs/07-BDD">BDD</a></li><li><a href="/docs/08-Customization">Customization</a></li><li><a href="/docs/09-Data">Data</a></li><li><a href="/docs/10-WebServices">Web Services</a></li><li><a href="/docs/11-Codecoverage">Codecoverage</a></li><li><a href="/docs/12-ContinuousIntegration">Continuous Integration</a></li><li><a href="/docs/12-ParallelExecution">Parallel Execution</a></li>

_includes/modules.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<li><a href="/docs/modules/AMQP">AMQP</a></li><li><a href="/docs/modules/PhpBrowser">PhpBrowser</a></li><li><a href="/docs/modules/Asserts">Asserts</a></li><li><a href="/docs/modules/Queue">Queue</a></li><li><a href="/docs/modules/Cli">Cli</a></li><li><a href="/docs/modules/REST">REST</a></li><li><a href="/docs/modules/Db">Db</a></li><li><a href="/docs/modules/Redis">Redis</a></li><li><a href="/docs/modules/Dbh">Dbh</a></li><li><a href="/docs/modules/SOAP">SOAP</a></li><li><a href="/docs/modules/Doctrine2">Doctrine2</a></li><li><a href="/docs/modules/Sequence">Sequence</a></li><li><a href="/docs/modules/FTP">FTP</a></li><li><a href="/docs/modules/Silex">Silex</a></li><li><a href="/docs/modules/Facebook">Facebook</a></li><li><a href="/docs/modules/Symfony2">Symfony2</a></li><li><a href="/docs/modules/Filesystem">Filesystem</a></li><li><a href="/docs/modules/WebDriver">WebDriver</a></li><li><a href="/docs/modules/Laravel4">Laravel4</a></li><li><a href="/docs/modules/XMLRPC">XMLRPC</a></li><li><a href="/docs/modules/Laravel5">Laravel5</a></li><li><a href="/docs/modules/Yii1">Yii1</a></li><li><a href="/docs/modules/Lumen">Lumen</a></li><li><a href="/docs/modules/Yii2">Yii2</a></li><li><a href="/docs/modules/Memcache">Memcache</a></li><li><a href="/docs/modules/ZF1">ZF1</a></li><li><a href="/docs/modules/MongoDb">MongoDb</a></li><li><a href="/docs/modules/ZF2">ZF2</a></li><li><a href="/docs/modules/Phalcon1">Phalcon1</a></li><li><a href="/docs/modules/ZendExpressive">ZendExpressive</a></li><li><a href="/docs/modules/Phalcon2">Phalcon2</a></li>
1+
<li><a href="/docs/modules/AMQP">AMQP</a></li><li><a href="/docs/modules/PhpBrowser">PhpBrowser</a></li><li><a href="/docs/modules/AngularJS">AngularJS</a></li><li><a href="/docs/modules/Queue">Queue</a></li><li><a href="/docs/modules/Asserts">Asserts</a></li><li><a href="/docs/modules/REST">REST</a></li><li><a href="/docs/modules/Cli">Cli</a></li><li><a href="/docs/modules/Redis">Redis</a></li><li><a href="/docs/modules/DataFactory">DataFactory</a></li><li><a href="/docs/modules/SOAP">SOAP</a></li><li><a href="/docs/modules/Db">Db</a></li><li><a href="/docs/modules/Sequence">Sequence</a></li><li><a href="/docs/modules/Doctrine2">Doctrine2</a></li><li><a href="/docs/modules/Silex">Silex</a></li><li><a href="/docs/modules/FTP">FTP</a></li><li><a href="/docs/modules/Symfony">Symfony</a></li><li><a href="/docs/modules/Facebook">Facebook</a></li><li><a href="/docs/modules/WebDriver">WebDriver</a></li><li><a href="/docs/modules/Filesystem">Filesystem</a></li><li><a href="/docs/modules/XMLRPC">XMLRPC</a></li><li><a href="/docs/modules/Laravel5">Laravel5</a></li><li><a href="/docs/modules/Yii1">Yii1</a></li><li><a href="/docs/modules/Lumen">Lumen</a></li><li><a href="/docs/modules/Yii2">Yii2</a></li><li><a href="/docs/modules/Memcache">Memcache</a></li><li><a href="/docs/modules/ZF1">ZF1</a></li><li><a href="/docs/modules/MongoDb">MongoDb</a></li><li><a href="/docs/modules/ZF2">ZF2</a></li><li><a href="/docs/modules/Phalcon">Phalcon</a></li><li><a href="/docs/modules/ZendExpressive">ZendExpressive</a></li>

_includes/reference.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<li><a href="/docs/reference/Autoload">Autoload</a></li><li><a href="/docs/reference/Commands">Commands</a></li><li><a href="/docs/reference/Configuration">Configuration</a></li><li><a href="/docs/reference/Fixtures">Fixtures</a></li><li><a href="/docs/reference/Functions">Functions</a></li><li><a href="/docs/reference/JsonType">JsonType</a></li><li><a href="/docs/reference/Locator">Locator</a></li><li><a href="/docs/reference/Stub">Stub</a></li><li><a href="/docs/reference/XmlBuilder">XmlBuilder</a></li>
1+
<li><a href="/docs/reference/Autoload">Autoload</a></li><li><a href="/docs/reference/Fixtures">Fixtures</a></li><li><a href="/docs/reference/Functions">Functions</a></li><li><a href="/docs/reference/JsonType">JsonType</a></li><li><a href="/docs/reference/Locator">Locator</a></li><li><a href="/docs/reference/Stub">Stub</a></li><li><a href="/docs/reference/XmlBuilder">XmlBuilder</a></li>

changelog.markdown

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,49 @@ title: Codeception Changelog
77

88
# Changelog
99

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.
23+
* *Breaking* <strong>[Dbh]</strong> module removed
24+
* *Breaking* <strong>[Laravel4]</strong> module removed
25+
* *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 <a href="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)
30+
* <strong>[AngularJS]</strong> module added. Extends WebDriver module for AngularJS testing. <strong>[Announcement]</strong>(http://codeception.com/03-10-2016/even-more-features-of-codeception.html#angularjs)
31+
* <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><a href="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
36+
* <strong>[Asserts]</strong> Added `expectException` method
37+
* <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><a href="https://github.com/gdscei">@gdscei</a></strong> and <strong><a href="https://github.com/davertmik">@davertmik</a></strong> See <a href="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><a href="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+
1047
#### 2.1.9
1148

1249
* PHPUnit 5.4 compatibility for creating mocks using `Codeception\Util\Stub` by <strong><a href="https://github.com/davertmik">@davertmik</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/3093">#3093</a> and <a href="https://github.com/Codeception/Codeception/issues/3080">#3080</a>
1350
* 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 <a href="https://github.com/Codeception/Codeception/issues/3028">#3028</a>.
52+
* Fix self-update command to update only to stable versions by <strong><a href="https://github.com/MAXakaWIZARD">@MAXakaWIZARD</a></strong>
1453
* Added `settings: backup_global` to config, to disable backup_global option of PHPUnit by <strong><a href="https://github.com/mkeasling">@mkeasling</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/3045">#3045</a>. Fixes <a href="https://github.com/Codeception/Codeception/issues/3044">#3044</a>
1554
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> `see` matches UTF-8 text case-insensitively by <strong><a href="https://github.com/Naktibalda">@Naktibalda</a></strong>. Fixes <a href="https://github.com/Codeception/Codeception/issues/3114">#3114</a>
1655
* Fixed page object generation with namespaces by <strong><a href="https://github.com/eugene">@eugene</a></strong>-manuilov and <strong><a href="https://github.com/Naktibalda">@Naktibalda</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/3126">#3126</a> Fixes <a href="https://github.com/Codeception/Codeception/issues/3012">#3012</a>

0 commit comments

Comments
 (0)