Skip to content

Commit 522669d

Browse files
committed
Merge branch 'master' of github.com:Codeception/codeception.github.com
2 parents 4fa5955 + 06521e3 commit 522669d

Some content is hidden

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

52 files changed

+1878
-3842
lines changed

builds.markdown

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ title: Codeception Builds
77
## 2.0
88
*Requires: PHP 5.4 and higher + CURL*
99

10-
* **[Download Latest 2.0 Release](http://codeception.com/releases/2.0.7/codecept.phar)**
10+
* **[Download Latest 2.0 Release](http://codeception.com/releases/2.0.9/codecept.phar)**
11+
* [2.0.9](http://codeception.com/releases/2.0.9/codecept.phar)
12+
* [2.0.8](http://codeception.com/releases/2.0.8/codecept.phar)
1113
* [2.0.7](http://codeception.com/releases/2.0.7/codecept.phar)
1214
* [2.0.6](http://codeception.com/releases/2.0.6/codecept.phar)
1315
* [2.0.5](http://codeception.com/releases/2.0.5/codecept.phar)
1416
* [2.0.4](http://codeception.com/releases/2.0.4/codecept.phar)
1517
* [2.0.3](http://codeception.com/releases/2.0.3/codecept.phar)
1618
* [2.0.2](http://codeception.com/releases/2.0.2/codecept.phar)
19+
* [2.0.11](http://codeception.com/releases/2.0.11/codecept.phar)
20+
* [2.0.10](http://codeception.com/releases/2.0.10/codecept.phar)
1721
* [2.0.1](http://codeception.com/releases/2.0.1/codecept.phar)
1822
* [2.0.0-beta](http://codeception.com/releases/2.0.0-beta/codecept.phar)
1923
* [2.0.0-alpha](http://codeception.com/releases/2.0.0-alpha/codecept.phar)

changelog.markdown

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,99 @@ title: Codeception Changelog
77

88
# Changelog
99

10+
#### 2.0.10
11+
12+
* **Console Improvement**: better formatting of test progress. Improved displaying of debug messages and PHP Fatal Errors.
13+
Codeception now uses features of interactive shell to print testing progress.
14+
In case of non-interactive shell (when running from CI like Jenkins) this feature is gracefully degraded to standard mode.
15+
You can turn off interactive printing manually by providing `--no-interaction` option or simply `-n`
16+
* `ExceptionWrapper` messages unpacked into normal and verbose exceptions.
17+
* HTML reports now allow to filter tests by status. Thanks to <strong><a href="https://github.com/raistlin">@raistlin</a></strong>
18+
* Added '_failed' hook for Cest tests. Fixes <a href="https://github.com/Codeception/Codeception/issues/1660">#1660</a> *2015-02-02*
19+
* <strong>[REST]</strong> fixed setting Host header. Issue <a href="https://github.com/Codeception/Codeception/issues/1650">#1650</a> *2015-02-02*
20+
* <strong>[Laravel4]</strong> Disconnecting from database after each test to prevent Too many connections exception <a href="https://github.com/Codeception/Codeception/issues/1665">#1665</a> by <strong><a href="https://github.com/mnabialek">@mnabialek</a></strong> *2015-02-02*
21+
* <strong>[Symfony2]</strong> Fixed kernel reuse in <a href="https://github.com/Codeception/Codeception/issues/1656">#1656</a> by <strong><a href="https://github.com/hacfi">@hacfi</a></strong> *2015-02-01*
22+
* <strong>[REST]</strong> request params are now correctly saved to `$this->params` property. Fixes <a href="https://github.com/Codeception/Codeception/issues/1682">#1682</a> by <strong><a href="https://github.com/gmhenderson">@gmhenderson</a></strong> *2015-02-01*
23+
* Interactive shell updated: deprecated Symfony helpers replaced, printed output cleaned *2015-01-28*
24+
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> Fixed `matchOption` to return the option value in case there is no value attribute by <strong><a href="https://github.com/synchrone">@synchrone</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1663">#1663</a> *2015-01-26*
25+
* Fixed remote context options on CodeCoverage by <strong><a href="https://github.com/synchrone">@synchrone</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1664">#1664</a> *2015-01-26*
26+
* <strong>[MongoDb]</strong> `seeNumElementsInCollection` method added by <strong><a href="https://github.com/sahanh">@sahanh</a></strong>
27+
* <strong>[MongoDb]</strong> Added new methods: `grabCollectionCount`, `seeElementIsArray`, `seeElementIsObject` by <strong><a href="https://github.com/antoniofrignani">@antoniofrignani</a></strong>
28+
* <strong>[WebDriver]</strong> Allow `selectOption()` to select options not inside forms by <strong><a href="https://github.com/n8whnp">@n8whnp</a></strong> See <a href="https://github.com/Codeception/Codeception/issues/1638">#1638</a>
29+
* <strong>[FTP]</strong> Added support for sftp connections with an RSA SSH key by <strong><a href="https://github.com/mattvot">@mattvot</a></strong>.
30+
* <strong>[PhpBrowser]</strong><strong>[WebDriver]</strong> allows to handle domain and path for cookies *2015-01-24*
31+
* <strong>[CLI]</strong> Allow CLI module to handle nonzero response codes without failing by <strong><a href="https://github.com/DevShep">@DevShep</a></strong>
32+
* <strong>[Yii2]</strong> Fix the bug with `session_id()`. See <a href="https://github.com/Codeception/Codeception/issues/1606">#1606</a> by <strong><a href="https://github.com/TriAnMan">@TriAnMan</a></strong>
33+
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> Fix double slashes in certain forms submitted by `submitForm` by <strong><a href="https://github.com/Revisor">@Revisor</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1625">#1625</a>
34+
* <strong>[Facebook]</strong> `grabFacebookTestUserId` method added by <strong><a href="https://github.com/ipalaus">@ipalaus</a></strong>
35+
* Always eval error level settings passed from config file.
36+
37+
38+
#### 2.0.9
39+
40+
* **Fixed Symfony 2.6 compatibility in Yaml::parse by <strong><a href="https://github.com/antonioribeiro">@antonioribeiro</a></strong>**
41+
* Specific tests can be executed without adding .php extension by <strong><a href="https://github.com/antonioribeiro">@antonioribeiro</a></strong> See <a href="https://github.com/Codeception/Codeception/issues/1531">#1531</a> *2014-12-20*
42+
43+
Now you can run specific test using shorter format:
44+
45+
```
46+
codecept run unit tests/unit/Codeception/TestLoaderTest
47+
codecept run unit Codeception
48+
codecept run unit Codeception:testAddCept
49+
50+
codecept run unit Codeception/TestLoaderTest.php
51+
codecept run unit Codeception/TestLoaderTest
52+
codecept run unit Codeception/TestLoaderTest.php:testAddCept
53+
codecept run unit Codeception/TestLoaderTest:testAddCept
54+
55+
codecept run unit tests/unit/Codeception
56+
codecept run unit tests/unit/Codeception:testAddCept
57+
codecept run unit tests/unit/Codeception/TestLoaderTest.php
58+
codecept run unit tests/unit/Codeception/TestLoaderTest.php:testAddCept
59+
codecept run unit tests/unit/Codeception/TestLoaderTest
60+
codecept run unit tests/unit/Codeception/TestLoaderTest:testAddCept
61+
```
62+
63+
* <strong>[Db]</strong> Remove table constraints prior to drop table in clean up for SqlSrv by <strong><a href="https://github.com/jonsa">@jonsa</a></strong> *2014-12-20*
64+
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> Fixed: submitForm with form using site-root relative paths may fail depending on configuration <a href="https://github.com/Codeception/Codeception/issues/1510">#1510</a> by <strong><a href="https://github.com/zbateson">@zbateson</a></strong> *2014-12-20*
65+
* <strong>[WebDriver]</strong><strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> `seeInField` method to work for radio, checkbox and select fields. Thanks to <strong><a href="https://github.com/zbateson">@zbateson</a></strong> *2014-12-20*
66+
* Fixed usage of `--no-colors` flag by <strong><a href="https://github.com/zbateson">@zbateson</a></strong>. Issue <a href="https://github.com/Codeception/Codeception/issues/1562">#1562</a> *2014-12-20*
67+
* <strong>[REST]</strong> sendXXX methods now encode objects implementing JsonSerializable interfaces. *2014-12-19*
68+
* <strong>[REST]</strong> added methods to validate JSON structure *2014-12-19*
69+
70+
<strong>[seeResponseJsonMatchesJsonPath]</strong>(http://codeception.com/docs/modules/REST#seeResponseJsonMatchesJsonPath) validates response JSON against <strong>[JsonPath]</strong>(http://goessner.net/articles/JsonPath/).
71+
Usage of JsonPath requires library `flow/jsonpath` to be installed.
72+
73+
<strong>[seeResponseJsonMatchesXpath]</strong>(http://codeception.com/docs/modules/REST#seeResponseJsonMatchesXpath) validates response JSON against XPath.
74+
It converts JSON structure into valid XML document and executes XPath for it.
75+
76+
<strong>[grabDataFromResponseByJsonPath]</strong>(http://codeception.com/docs/modules/REST#grabDataFromResponseByJsonPath) method was added as well to grab data JSONPath.
77+
78+
* <strong>[REST]</strong> `grabDataFromJsonResponse` deprecated in favor of `grabDataFromResponseByJsonPath` *2014-12-19*
79+
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> fixed `Unreachable field` error while filling [] fields in input and textarea fields. Issues <a href="https://github.com/Codeception/Codeception/issues/1585">#1585</a> <a href="https://github.com/Codeception/Codeception/issues/1602">#1602</a> *2014-12-18*
80+
81+
82+
#### 2.0.8
83+
84+
* Dependencies updated: facebook/php-webdriver 0.5.x and guzzle 5 *2014-11-17*
85+
* <strong>[WebDriver]</strong> Fixed selectOption and (dont)seeOptionIsSelected for multiple radio button groups by <strong><a href="https://github.com/MasonM">@MasonM</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1467">#1467</a> *2014-11-18*
86+
* <strong>[WebDriver]</strong><strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> Clicked submit button can be specified as 3rd parameter in `submitForm` method by <strong><a href="https://github.com/zbateson">@zbateson</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1518">#1518</a>
87+
* <strong>[ZF1]</strong> Format ZF response to Symfony\Component\BrowserKit\Response by <strong><a href="https://github.com/MOuli90">@MOuli90</a></strong>. Fixes <a href="https://github.com/Codeception/Codeception/issues/1476">#1476</a>
88+
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> fixed `grabValueFrom` method by <strong><a href="https://github.com/zbateson">@zbateson</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1512">#1512</a>
89+
* <strong>[Db]</strong> Fixed Postgresql error with schemas by <strong><a href="https://github.com/rafreis">@rafreis</a></strong>. Fixes <a href="https://github.com/Codeception/Codeception/issues/970">#970</a>
90+
* <strong>[PhpBrowser]</strong> Fix for meta refresh tags with interval by <strong><a href="https://github.com/zbateson">@zbateson</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1515">#1515</a>
91+
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> Fixed: `grabTextFrom` doesn't work with regex by <strong><a href="https://github.com/zbateson">@zbateson</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1519">#1519</a>
92+
* Cest tests support multiple `<strong><a href="https://github.com/before">@before</a></strong>` and `<strong><a href="https://github.com/after">@after</a></strong>` annotations. Thanks to <strong><a href="https://github.com/draculus">@draculus</a></strong> and <strong><a href="https://github.com/zbateson">@zbateson</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1517">#1517</a>
93+
* <strong>[FTP]</strong> Stops test execution on failed connection by <strong><a href="https://github.com/yegortokmakov">@yegortokmakov</a></strong>
94+
* <strong>[AMQP]</strong> Fix for purging queues on initialization stage. Check for open channel is not needed and it prevents from cleaning queue by <strong><a href="https://github.com/yegortokmakov">@yegortokmakov</a></strong>
95+
* CodeCoverage remote context configuration added by <strong><a href="https://github.com/synchrone">@synchrone</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1524">#1524</a> [Documentation updated](http://codeception.com/docs/11-Codecoverage#Remote-Context-Options)
96+
* Implemented better descriptions for error exception. Fix <a href="https://github.com/Codeception/Codeception/issues/1503">#1503</a>
97+
* Added `c3_url` option to code coverage settings. `c3_url` allows to explicitly set url for index file with c3 included. See <a href="https://github.com/Codeception/Codeception/issues/1024">#1024</a>
98+
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> Fixed selecting checkbock in a group of checkboxes <a href="https://github.com/Codeception/Codeception/issues/1535">#1535</a>
99+
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> submitForm sends default values for radio buttons and checkboxes by <strong><a href="https://github.com/zbateson">@zbateson</a></strong>. Fixes <a href="https://github.com/Codeception/Codeception/issues/1507">#1507</a> *2014-11-3*
100+
* <strong>[ZF2]</strong> Close any open ZF2 sessions by <strong><a href="https://github.com/FnTm">@FnTm</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1486">#1486</a> *2014-10-24*
101+
102+
10103
#### 2.0.7
11104

12105
* <strong>[Db]</strong> Made the postgresql loader load $$ syntax correctly by <strong><a href="https://github.com/rtuin">@rtuin</a></strong>. See <a href="https://github.com/Codeception/Codeception/issues/1450">#1450</a> *2014-10-12*

codecept.phar

-63.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)