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.md
+38-1Lines changed: 38 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Changelog
2
2
3
+
#### 2.0.15
4
+
5
+
*[REST] Fixed sending `JsonSerializable` object on POST by @Naktibalda and @andersonamuller. See #1988#1994
6
+
*[MongoDb] escaped filename shell argument for loading MongoDB by @christoph-hautzinger. #1998*2015-06-03*
7
+
*[Lumen] Module added by @janhenkgerritsen
8
+
3
9
#### 2.1.0-beta
4
10
5
11
*[PhpBrowser][Frameworks] Fixed cloning form nodes Codeception\Lib\InnerBrowser::getFormFromCrawler(): ID XXX already defined *2015-05-13*
@@ -26,7 +32,38 @@
26
32
27
33
#### 2.0.14
28
34
29
-
* fixed stderr tput messages in PHPStorm console *2015-04-26*
35
+
* Improved output *2015-05-22*
36
+
* data providers print simplified
37
+
* output respects console size with `tput` and tries to fit area
38
+
* non-interactive environments for `tput` are ignored
39
+
*[Frameworks][PhpBrowser][Symfony2] Fields are passed as PHP-array on form submission the same way as `Symfony\Component\DomCrawler\Form->getPhpValues()` does. Fixes fails of Symfony form tests *2015-05-22*
40
+
*[Laravel4] Fixed bug with filters. See #1810. *2015-05-21*
41
+
*[PhpBrowser][Frameworks] Fixed working associative array form fields (like `FooBar[bar]`). Fixes regression #1923 by @davertmik and @zbateson.
42
+
*[PhpBrowser][Frameworks] Fixed cloning form nodes Codeception\Lib\InnerBrowser::getFormFromCrawler(): ID XXX already defined *2015-05-13*
43
+
*[Laravel4][Laravel5] Improved error message for `amOnRoute` and `amOnAction` methods if route or action does not exist *2015-05-04*
44
+
*[Laravel4] Fixed issue with session configuration *2015-05-01*
45
+
*[Laravel4] Partial rewrite of module *2015-05-01*
46
+
* Added `getApplication()` method
47
+
* Added `seeFormHasErrors()`, `seeFormErrorMessages(array $bindings)` and `seeFormErrorMessage($key, $errorMessage)` methods
48
+
* Deprecated `seeSessionHasErrors()` and `seeSessionErrorMessage(array $bindings)` methods.
49
+
* fixed stderr output messages in PHPStorm console *2015-04-26*
50
+
* Allow following symlinks when searching for tests by @nechutny
51
+
* Fixed `g:scenarios --single-file` missing linebreaks between scenarios by @Zifius Parially fixes #1866
52
+
*[Frameworks][PhpBrowser] Fixed errors like `[ErrorException] Array to string conversion` when using strict locators. Fix by @neochief#1881
53
+
*[Frameworks][PhpBrowser] Fix for URLs with query parameters not properly constructed for GET form submissions by @zbateson Fixes #1891
54
+
*[Facebook] Updated Facebook SDK to 4.0 by @enginvardar. See #1896.
55
+
*[DB] Quote table name in `Db::getPrimaryKeyColumn` and `Db::deleteQueryMethods` by @Naktibalda. See #1912
56
+
*[Silex] Can be used for API functional testing. Improvement by @arduanov See #1945
57
+
*[Doctrine2] Added new config option `symfony_em_service` to specify service name for Doctrine entity manager in Symfony DIC by @danieltuwien#1915
58
+
*[Db] Reversed order of removing records with foreign keys created by `haveInDatabase`. Fixes #1942 by @satahippy
59
+
*[Db] Quote names in PostgreSQL queries. Fix #1916 by @satahippy
60
+
*[ZF1] Various improvements by @Naktibalda See #1924
61
+
*[ZF2][ZF2] Improved passing request headers by @Naktibalda
62
+
*[Phalcon1] Improved dependency injector container check by @sergeyklay#1967
63
+
*[Yii2] Enabled logging by @TriAnMan#1539
64
+
* Attribute `feature` added to xml reports in `Codeception\TestCase\Test` test report by @tankist. See #1964
65
+
* Fixed #1779 by @Naktibalda
66
+
* ...special thanks to @Naktibalda for creating demo [ZF1](https://github.com/Naktibalda/codeception-zf1-tests) and [ZF2](https://github.com/Naktibalda/codeception-zf2-tests) applications with api tests examples.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,20 @@ At Codeception we are glad to receive contributions and patches from the communi
4
4
5
5
Please check the guide for sending your contributions with Github at https://github.com/Codeception/Codeception/wiki/Git-workflow-for-Codeception-contributors
6
6
7
+
## Coding Standards
7
8
All contributions must follow the coding standards described at: https://github.com/Codeception/Codeception/wiki/Codeception-coding-style-standard
9
+
10
+
## Code
11
+
**Bugfixes should be sent to to current stable branch, which is the same as major version number.**
12
+
13
+
Breaking features and major improvements should be sent into `master`. When you send PRs to master, they will be added to release cycle only when the next stable branch is started.
14
+
15
+
Check also the "tests/README.md" to learn more about the available internal Codeception tests.
16
+
17
+
## Documentation
18
+
19
+
### Guides
20
+
If you want to contribute documentation to the guides you are asked to send your changes to the /docs/ folder: https://github.com/Codeception/Codeception/tree/2.0/docs. This files are the source for the codeception website guides: http://codeception.com/docs/01-Introduction. Remind to send your documentation improvements to the right "repository branch" depending on the Codeception version you are working with: 2.0, master,...
21
+
22
+
### Modules Documentation
23
+
The documentation for each module is directly generated from the corresponding docblock which can be found in each module (src/Module/Codeception/*.php).
Copy file name to clipboardExpand all lines: docs/08-Customization.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,13 @@ extensions:
80
80
81
81
But what are extensions, anyway? Basically speaking, Extensions are nothing more then event listeners based on [Symfony Event Dispatcher](http://symfony.com/doc/current/components/event_dispatcher/introduction.html) component.
82
82
83
+
<div class="alert">This section requires advanced PHP skills and some knowlegde of Codeception and PHPUnit internals.</div>
84
+
85
+
Codeception has limited capabilities to extend its core features.
86
+
Extensions are not supposed to override current functionality, but are pretty useful if you are experienced developer and you want to hook into testing flow.
87
+
88
+
Basically speaking, Extensions are nothing more then event listeners based on [Symfony Event Dispatcher](http://symfony.com/doc/current/components/event_dispatcher/introduction.html) component.
89
+
83
90
Here are the events and event classes. The events are listed in order they happen during execution. Each event has a corresponding class, which is passed to listener, and contains specific objects.
Copy file name to clipboardExpand all lines: docs/12-ParallelExecution.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
@@ -277,7 +277,7 @@ $ robo parallel:run
277
277
278
278
### Step 3: Merge Results
279
279
280
-
We should not rely on console output when running our tests. In case of `parallelExec` task, some text can be missed. We recommmend to save results as JUnit XML, which can be merged and plugged into Continous Integration server.
280
+
We should not rely on console output when running our tests. In case of `parallelExec` task, some text can be missed. We recommmend to save results as JUnit XML, which can be merged and plugged into Continuous Integration server.
Copy file name to clipboardExpand all lines: docs/modules/Doctrine2.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ It can be done in bootstrap file, by setting static $em property:
26
26
27
27
* auto_connect: true - tries to get EntityManager through connected frameworks. If none found expects the $em values specified as described above.
28
28
* cleanup: true - all doctrine queries will be run in transaction, which will be rolled back at the end of test.
29
+
* symfony_em_service: 'doctrine.orm.entity_manager' - use the stated EntityManager (optional).
29
30
* 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