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
* <strong>[Laravel4]</strong> Disconnecting from database after each test to prevent Too many connections exception <ahref="https://github.com/Codeception/Codeception/issues/1665">#1665</a> by <strong><ahref="https://github.com/mnabialek">@mnabialek</a></strong> *2015-02-02*
21
+
* <strong>[Symfony2]</strong> Fixed kernel reuse in <ahref="https://github.com/Codeception/Codeception/issues/1656">#1656</a> by <strong><ahref="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 <ahref="https://github.com/Codeception/Codeception/issues/1682">#1682</a> by <strong><ahref="https://github.com/gmhenderson">@gmhenderson</a></strong> *2015-02-01*
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> Fixed `matchOption` to return the option value in case there is no value attribute by <strong><ahref="https://github.com/synchrone">@synchrone</a></strong>. See <ahref="https://github.com/Codeception/Codeception/issues/1663">#1663</a> *2015-01-26*
25
+
* Fixed remote context options on CodeCoverage by <strong><ahref="https://github.com/synchrone">@synchrone</a></strong>. See <ahref="https://github.com/Codeception/Codeception/issues/1664">#1664</a> *2015-01-26*
26
+
* <strong>[MongoDb]</strong> `seeNumElementsInCollection` method added by <strong><ahref="https://github.com/sahanh">@sahanh</a></strong>
27
+
* <strong>[MongoDb]</strong> Added new methods: `grabCollectionCount`, `seeElementIsArray`, `seeElementIsObject` by <strong><ahref="https://github.com/antoniofrignani">@antoniofrignani</a></strong>
* <strong>[WebDriver]</strong> Allow `selectOption()` to select options not inside forms by <strong><ahref="https://github.com/n8whnp">@n8whnp</a></strong> See <ahref="https://github.com/Codeception/Codeception/issues/1638">#1638</a>
31
+
* <strong>[FTP]</strong> Added support for sftp connections with an RSA SSH key by <strong><ahref="https://github.com/mattvot">@mattvot</a></strong>.
32
+
* <strong>[PhpBrowser]</strong><strong>[WebDriver]</strong> allows to handle domain and path for cookies *2015-01-24*
33
+
* <strong>[CLI]</strong> Allow CLI module to handle nonzero response codes without failing by <strong><ahref="https://github.com/DevShep">@DevShep</a></strong>
34
+
* <strong>[Yii2]</strong> Fix the bug with `session_id()`. See <ahref="https://github.com/Codeception/Codeception/issues/1606">#1606</a> by <strong><ahref="https://github.com/TriAnMan">@TriAnMan</a></strong>
35
+
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> Fix double slashes in certain forms submitted by `submitForm` by <strong><ahref="https://github.com/Revisor">@Revisor</a></strong>. See <ahref="https://github.com/Codeception/Codeception/issues/1625">#1625</a>
36
+
* <strong>[Facebook]</strong> `grabFacebookTestUserId` method added by <strong><ahref="https://github.com/ipalaus">@ipalaus</a></strong>
37
+
* Always eval error level settings passed from config file.
38
+
39
+
10
40
#### 2.0.9
11
41
12
42
***Fixed Symfony 2.6 compatibility in Yaml::parse by <strong><ahref="https://github.com/antonioribeiro">@antonioribeiro</a></strong>**
@@ -39,13 +69,13 @@ codecept run unit tests/unit/Codeception/TestLoaderTest:testAddCept
* <strong>[REST]</strong> added methods to validate JSON structure *2014-12-19*
41
71
42
-
[seeResponseJsonMatchesJsonPath](http://codeception.com/docs/modules/REST#seeResponseJsonMatchesJsonPath) validates response JSON against [JsonPath](http://goessner.net/articles/JsonPath/).
72
+
<strong>[seeResponseJsonMatchesJsonPath]</strong>(http://codeception.com/docs/modules/REST#seeResponseJsonMatchesJsonPath) validates response JSON against <strong>[JsonPath]</strong>(http://goessner.net/articles/JsonPath/).
43
73
Usage of JsonPath requires library `flow/jsonpath` to be installed.
44
74
45
-
[seeResponseJsonMatchesXpath](http://codeception.com/docs/modules/REST#seeResponseJsonMatchesXpath) validates response JSON against XPath.
75
+
<strong>[seeResponseJsonMatchesXpath]</strong>(http://codeception.com/docs/modules/REST#seeResponseJsonMatchesXpath) validates response JSON against XPath.
46
76
It converts JSON structure into valid XML document and executes XPath for it.
47
77
48
-
[grabDataFromResponseByJsonPath](http://codeception.com/docs/modules/REST#grabDataFromResponseByJsonPath) method was added as well to grab data JSONPath.
78
+
<strong>[grabDataFromResponseByJsonPath]</strong>(http://codeception.com/docs/modules/REST#grabDataFromResponseByJsonPath) method was added as well to grab data JSONPath.
49
79
50
80
* <strong>[REST]</strong> `grabDataFromJsonResponse` deprecated in favor of `grabDataFromResponseByJsonPath`*2014-12-19*
51
81
* <strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> fixed `Unreachable field` error while filling [] fields in input and textarea fields. Issues <ahref="https://github.com/Codeception/Codeception/issues/1585">#1585</a> <ahref="https://github.com/Codeception/Codeception/issues/1602">#1602</a> *2014-12-18*
Copy file name to clipboardExpand all lines: docs/06-UnitTests.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -288,7 +288,7 @@ Full reference on Stub util class can be found [here](/docs/reference/Stub).
288
288
289
289
## Conclusion
290
290
291
-
PHPUnit tests are first-class citizens in test suites. Whenever you need to write and execute unit tests, you don't need to install PHPUnit, but use a Codeception to execute them. Some nice features can be added to common unit tests by integrating Codeception modules. For the most of unit and integration testing PHPUnit tests are just enough. They are fast and easy to maintain.
291
+
PHPUnit tests are first-class citizens in test suites. Whenever you need to write and execute unit tests, you don't need to install PHPUnit, but use Codeception to execute them. Some nice features can be added to common unit tests by integrating Codeception modules. For the most of unit and integration testing PHPUnit tests are just enough. They are fast and easy to maintain.
Copy file name to clipboardExpand all lines: docs/modules/Asserts.md
-32Lines changed: 0 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -12,28 +12,6 @@ Special module for using asserts in your tests.
12
12
13
13
14
14
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
15
#### assertContains
38
16
39
17
Checks that haystack contains needle
@@ -115,7 +93,6 @@ Checks that expected is less or equal than actual
115
93
*`param string` $message
116
94
117
95
118
-
119
96
#### assertNotContains
120
97
121
98
Checks that haystack doesn't contain needle.
@@ -158,8 +135,6 @@ Checks that variable is NULL
158
135
*`param string` $message
159
136
160
137
161
-
162
-
163
138
#### assertTrue
164
139
165
140
Checks that condition is positive.
@@ -168,17 +143,10 @@ Checks that condition is positive.
168
143
*`param string` $message
169
144
170
145
171
-
172
-
173
146
#### fail
174
147
175
148
Fails the test with message.
176
149
177
150
*`param` $message
178
151
179
-
180
-
181
-
182
-
183
-
184
152
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/2.0/src/Codeception/Module/Asserts.php">Help us to improve documentation. Edit module reference</a></div>
0 commit comments