Skip to content

Commit af9249b

Browse files
committed
auto updated documentation
1 parent f4506b2 commit af9249b

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

changelog.markdown

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,19 @@ title: Codeception Changelog
77

88
# Changelog
99

10+
#### 2.5.5
11+
12+
* **[Laravel]** Fix missing declaration shouldReport in Laravel 5.8 by **[edno](https://github.com/edno)**
13+
* **[Lumen]** add support for Laravel\Lumen\Application::boot by **[lendormi](https://github.com/lendormi)**
14+
* **[WebDriver]** Fixed SetCookie for chromedriver 2.46+ by **[JorisVanEijden](https://github.com/JorisVanEijden)**
15+
* **[ZendExpressive]** Fixed recreateApplicationBetweenRequests option, by **[artmnv](https://github.com/artmnv)**
16+
* **[Gherkin]** Add possibility to dynamically load contexts ([#5409](https://github.com/Codeception/Codeception/issues/5409)) by **[hansdubois](https://github.com/hansdubois)**
17+
* [Build command] Fixed message printing number of methods in actor class
18+
* Documented usage of IS NULL in Doctrine module by **[ThomasLandauer](https://github.com/ThomasLandauer)**
19+
1020
#### 2.5.4
1121

12-
* Restored compatility with vlucas/phpdotenv v2
22+
* Restored compatibility with vlucas/phpdotenv v2
1323
* **[Doctrine]** Fixed cleanup issue [#5326](https://github.com/Codeception/Codeception/issues/5326)
1424

1525
#### 2.5.3

docs/07-BDD.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,19 @@ gherkin:
589589

590590
{% endhighlight %}
591591

592+
Contexts can be autoloaded as well:
593+
{% highlight yaml %}
594+
595+
gherkin:
596+
contexts:
597+
path: tests/_support/Steps
598+
namespace_prefix: Steps
599+
default:
600+
- AcceptanceTester
601+
602+
{% endhighlight %}
603+
This will load all context from the given path and prefix it with the given namespace.
604+
592605
## Migrating From Behat
593606

594607
While Behat is a great tool for Behavior Driven Development, you still may prefer to use Codeception as your primary testing framework. In case you want to unify all your tests (unit/functional/acceptance), and make them be executed with one runner, Codeception is a good choice. Also Codeception provides rich set of well-maintained modules for various testing backends like Selenium Webdriver, Symfony, Laravel, etc.

docs/modules/Doctrine2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ $users = $I->grabEntitiesFromRepository('AppBundle:User', array('name' => 'daver
8787

8888
* `Available since` 1.1
8989
* `param` $entity
90-
* `param array` $params
90+
* `param array` $params. For `IS NULL`, use `array('field'=>null)`
9191
* `return` array
9292

9393

@@ -109,7 +109,7 @@ $user = $I->grabEntityFromRepository('User', array('id' => '1234'));
109109

110110
* `Available since` 1.1
111111
* `param` $entity
112-
* `param array` $params
112+
* `param array` $params. For `IS NULL`, use `array('field'=>null)`
113113
* `return` object
114114

115115

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy