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
+31-2Lines changed: 31 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,42 @@ title: Codeception Changelog
7
7
8
8
# Changelog
9
9
10
+
#### 2.1.2
11
+
12
+
***Updated to PHPUnit 4.8**
13
+
* Enhancement: **Wildcard includes enabled when testing [multiple applications](http://codeception.com/docs/08-Customization#One-Runner-for-Multiple-Applications)**. See <ahref="https://github.com/Codeception/Codeception/issues/2016">#2016</a> By <strong><ahref="https://github.com/nzod">@nzod</a></strong>
14
+
* <strong>[Symfony2]</strong> fixed Doctrine2 integration: Doctrine transactions will start before each test and rollback afterwards. *2015-08-08*
15
+
* <strong>[Doctrine2]</strong> establishing connection and starting transaction is moved to `_before`. *2015-08-08*
16
+
* <strong>[PhpBrowser]</strong> Removed disabled and file fields from form values. By <strong><ahref="https://github.com/Naktibalda">@Naktibalda</a></strong> *2015-08-08*
17
+
* <strong>[ZF2]</strong> Added grabServiceFromContainer function. By InVeX *2015-08-08*
18
+
* <strong>[PhpBrowser]</strong><strong>[Guzzle6]</strong> Disabled strict mode of CookieJar <ahref="https://github.com/Codeception/Codeception/issues/2234">#2234</a> By <strong><ahref="https://github.com/Naktibalda">@Naktibalda</a></strong> *2015-08-04*
19
+
* <strong>[Laravel5]</strong> Added `disableMiddleware()` and `enableMiddleware()` methods. By <strong><ahref="https://github.com/janhenkgerritsen">@janhenkgerritsen</a></strong> *2015-08-07*
20
+
* Enhancement: If a specific *ActorActions trait does not exist in `tests/_support/_generated` directory, it will be created automatically before run.
21
+
* Enhancement: do not execute all included suites if you run one specific suite *2015-08-08*
22
+
*`Extension\Recorder` navigate over slides with left and right arrow keys, do not create screenshots for comment steps.
23
+
*`Extension\Recorder` generates index html for all saved records.
24
+
*`Extension\Recorder` fixed for creating directories twice. Fixed <ahref="https://github.com/Codeception/Codeception/issues/2216">#2216</a>
* Fixed injection of Helpers into Cest and Test files. See <ahref="https://github.com/Codeception/Codeception/issues/2222">#2222</a>
27
+
*`Stub::makeEmpty` on interfaces works again by <strong><ahref="https://github.com/Naktibalda">@Naktibalda</a></strong>
28
+
* Command `generate:scenarios` fixed for Cest files by <strong><ahref="https://github.com/mkudenko">@mkudenko</a></strong> See <ahref="https://github.com/Codeception/Codeception/issues/1962">#1962</a>
29
+
* <strong>[Db]</strong> Quoted table name in Db::select, removed identical methods from child classes by <strong><ahref="https://github.com/Naktibalda">@Naktibalda</a></strong>. See <ahref="https://github.com/Codeception/Codeception/issues/2231">#2231</a>
30
+
* <strong>[WebDriver]</strong> added support for running tests on a remote server behind a proxy with `http_proxy` and `http_proxy_port` config options by <strong><ahref="https://github.com/jdq22">@jdq22</a></strong> *2015-07-29*
31
+
* <strong>[Laravel]</strong> Fixed issue with error handling for `haveRecord()` method in Laravel modules <ahref="https://github.com/Codeception/Codeception/issues/2217">#2217</a> by <strong><ahref="https://github.com/janhenkgerritsen">@janhenkgerritsen</a></strong> *2015-07-28*
32
+
* Fixed displayed XML/HTML report path <ahref="https://github.com/Codeception/Codeception/issues/2187">#2187</a> by <strong><ahref="https://github.com/Naktibalda">@Naktibalda</a></strong> *2015-07-27*
33
+
* <strong>[WebDriver]</strong> Fixed `waitForElementChange` fatal error by <strong><ahref="https://github.com/stipsan">@stipsan</a></strong>
34
+
* <strong>[Db]</strong> Enhanced dollar quoting ($$) processing in PostgreSQL driver by <strong><ahref="https://github.com/YasserHassan">@YasserHassan</a></strong> *2015-07-20*
35
+
* <strong>[REST]</strong> Created tests for file-upload with REST module. By <strong><ahref="https://github.com/Naktibalda">@Naktibalda</a></strong> *2015-08-08*
36
+
* <strong>[Lumen]</strong> Fixed issue where wrong request object was passed to the Lumen application by <strong><ahref="https://github.com/janhenkgerritsen">@janhenkgerritsen</a></strong> *2015-07-18*
37
+
10
38
#### 2.1.1
11
39
12
40
* <strong>[WebDriver]</strong> **Upgraded to facebook/webdriver 1.0***2015-07-11*
13
41
WebDriver classes were moved to `Facebook\WebDriver` namespace. Please take that into account when using WebDriver API directly.
14
42
Till 2.2 Codeception will keep non-namespaced aliases of WebDriver classes.
15
43
* Module Reference now contains documentation for hidden API methods which should be used in Helper classes
16
-
* Skipped and Incomplete tests won't fire `test.before` and `test.after` events. For instance, WebDriver browser with won't be started and Db cleanups won't be executed on skipped tests.
17
-
* Annotations <pre>@skip</pre> and <pre>@incomplete</pre> enabled in Cest files <ahref="https://github.com/Codeception/Codeception/issues/2131">#2131</a>
44
+
* Skipped and Incomplete tests won't fire `test.before` and `test.after` events. For instance, WebDriver browser won't be started and Db cleanups won't be executed on incomplete or skipped tests.
45
+
* Annotations `skip` and `incomplete` enabled in Cest files <ahref="https://github.com/Codeception/Codeception/issues/2131">#2131</a>
18
46
* <strong>[WebDriver]</strong><strong>[PhpBrowser]</strong><strong>[Frameworks]</strong> `_findElements($locator)` method added to use in Helper classes *2015-07-11*
19
47
Now you can use `$this->getModule('WebDriver')->findElements('.user');` in Helpers to match all elements with `user` class using WebDriver module
20
48
* <strong>[PhpBrowser]</strong> Fixed `amOnUrl` method to open absolute URLs.
Copy file name to clipboardExpand all lines: docs/02-GettingStarted.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Let's take a look at Codeception's architecture. We assume that you already [ins
11
11
12
12
One of the main concepts of Codeception is representation of tests as actions of a person. We have a UnitTester, who executes functions and tests the code. We also have a FunctionalTester, a qualified tester, who tests the application as a whole, with knowledge of its internals. And an AcceptanceTester, a user that works with our application through an interface that we provide.
13
13
14
-
Actor classes are not written but generated from suite configuration. **Methods of actor classes are generally taken from Codeception Modules**. Each module provides predefined actions for different testing purposes, and they can be combined to fit the testng environment. Codeception tries to solve 90% of possible testing issues in its modules, so you don't have reinvent the wheel. We think that you can spend more time on writing tests and less on writing support code to make those tests run. By default AcceptanceTester relies on PhpBrowser module, which is set in `tests/acceptance.suite.yml` configuration file:
14
+
Actor classes are not written but generated from suite configuration. **Methods of actor classes are generally taken from Codeception Modules**. Each module provides predefined actions for different testing purposes, and they can be combined to fit the testing environment. Codeception tries to solve 90% of possible testing issues in its modules, so you don't have reinvent the wheel. We think that you can spend more time on writing tests and less on writing support code to make those tests run. By default AcceptanceTester relies on PhpBrowser module, which is set in `tests/acceptance.suite.yml` configuration file:
* driver - contains Connection Driver. See [list all available drivers](https://github.com/Codeception/Codeception/tree/master/src/Codeception/Util/Driver)
This will use static method of `MyDb::createEntityManager()` to establish EntityManager.
40
+
41
+
By default module will wrap everything into transaction for each test and rollback it afterwards. By doing this
42
+
tests won't write anything to database, and so will run much faster and will be isolate dfrom each other.
43
+
This behavior can be changed by specifying `cleanup: false` in config.
44
+
28
45
### Status
29
46
30
47
* Maintainer: **davert**
@@ -33,7 +50,6 @@ It can be done in bootstrap file, by setting static $em property:
33
50
34
51
### Config
35
52
36
-
* auto_connect: true - tries to get EntityManager through connected frameworks. If none found expects the $em values specified as described above.
37
53
* cleanup: true - all doctrine queries will be run in transaction, which will be rolled back at the end of test.
38
54
* connection_callback: - callable that will return an instance of EntityManager. This is a must if you run Doctrine without Zend2 or Symfony2 frameworks
0 commit comments