Skip to content

Commit 0c39697

Browse files
committed
Merge branch 'master' of github.com:Codeception/codeception.github.com
2 parents 76aadbf + e77dc72 commit 0c39697

File tree

4 files changed

+15
-20
lines changed

4 files changed

+15
-20
lines changed

changelog.markdown

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,17 @@ This should help you next time you get messed with YAML formatting.
2020

2121
* Gherkin improvements:
2222
* multiple step definitions per method allowed (Fixes [#3670](https://github.com/Codeception/Codeception/issues/3670)).
23-
* regex validation for Gherkin steps; throws exception if invalid regex passed. Fixes [#3676](https://github.com/Codeception/Codeception/issues/3676)
24-
25-
* escaped strings can now be passed into placeholders. Fixes [#3676](https://github.com/Codeception/Codeception/issues/3676).
23+
* regex validation for Gherkin steps; throws exception if invalid regex passed. Fixes [#3676](https://github.com/Codeception/Codeception/issues/3676)
24+
* escaped strings can now be passed into placeholders. Fixes [#3676](https://github.com/Codeception/Codeception/issues/3676).
2625
* currency chars supported in placeholders:
27-
28-
```
29-
@When I have :money in my wallet
30-
```
31-
26+
3227
$,€,£ and other signs can be used before or after a number inside Gherkin scenario. This char will be ignored inside a PHP variable, so you receive only number.
3328

3429
```gherkin
35-
When I have 100$ in my wallet => $num === 100
36-
And I have $100 in my wallet => $num === 100
30+
When I have 100$ => $num === 100
31+
And I have $100 => $num === 100
3732
```
3833

39-
4034
* Codeception is tested with latest verision of HHVM
4135
* Extensions loader refactored:
4236
* Extensions can be **enabled for suite** in suite config.

docs/07-AdvancedUsage.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ These examples can be written using Doctrine-style annotation syntax as well:
256256
You can also use the `@dataprovider` annotation for creating dynamic examples, using a protected method for providing example data:
257257
{% highlight php %}
258258

259+
<?php
259260
/**
260261
* @dataprovider pageProvider
261262
*/
@@ -590,7 +591,7 @@ Codeception reorders tests so dependent tests always will executed after the tes
590591
591592
The interactive console was added to try Codeception commands before executing them inside a test.
592593
593-
![console](http://img267.imageshack.us/img267/204/003nk.png)
594+
![console](http://codeception.com/images/console.png)
594595
595596
You can run the console with the following command:
596597

docs/08-Customization.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ For instance, you can enable the Logger extension to log the test execution with
106106
extensions:
107107
enabled:
108108
- Codeception\Extension\RunFailed # default extension
109-
- Codeception\Extension\Logger # enabled extension
110-
config:
111-
Codeception\Extension\Logger:
109+
- Codeception\Extension\Logger: # enabled extension
112110
max_files: 5 # logger configuration
113111
114112
{% endhighlight %}
@@ -193,7 +191,7 @@ Extensions have some basic methods you can use:
193191
Once you've implemented a simple extension class, you can require it in `tests/_bootstrap.php`,
194192
load it with Composer's autoloader defined in `composer.json`, or store the class inside `tests/_support`dir.
195193

196-
You can then enable it in `codeception.yml`:
194+
You can then enable it in `codeception.yml`
197195

198196
{% highlight yaml %}
199197

@@ -202,6 +200,8 @@ extensions:
202200

203201
{% endhighlight %}
204202

203+
Extensions can also be enabled per suite inside suite configs (like `acceptance.suite.yml`) and for a specific environment.
204+
205205
### Configuring Extension
206206

207207
In the extension, you can access the currently passed options via the `options` property.

docs/12-ContinuousIntegration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Jenkins should locate `report.html` at `tests/_output/`. Now Jenkins will displa
8888

8989
## TeamCity
9090

91-
![TeamCity](https://codeception.com/images/teamcity.png)
91+
![TeamCity](http://codeception.com/images/teamcity.png)
9292

9393
TeamCity is a hotsed solution from JetBrains. The setup of it can be a bit tricky as TeamCity uses its own reporter format for parsing test results. PHPUnit since verison 5.x has integrated support for this format, so does Codeception. What we need to do is to configure Codeception to use custom reporter. By default there is `--report` option which provides an alternative output. You can change the reporter class in `codeception.yml` configuration:
9494

@@ -108,15 +108,15 @@ After you create build project you should define build step with Codeception whi
108108

109109
{% endhighlight %}
110110

111-
![build step](https://codeception.com/images/teamcity/build.png)
111+
![build step](http://codeception.com/images/teamcity/build.png)
112112

113113
Once you execute your first build you should see detailed report inside TeamCity interface:
114114

115-
![report](https://codeception.com/images/teamcity/report.png)
115+
![report](http://codeception.com/images/teamcity/report.png)
116116

117117
## TravisCI
118118

119-
![Travis CI](https://codeception.com/images/travis.png)
119+
![Travis CI](http://codeception.com/images/travis.png)
120120

121121
Travis CI is popular service CI with good GitHub integration. Codeception is self-tested with Travis CI. There nothing specifal about configuration. Just add to the bottom line of travis configuration:
122122

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