Skip to content

Commit 18b7344

Browse files
committed
auto updated documentation
1 parent 871c819 commit 18b7344

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docs/12-ContinuousIntegration.md

Lines changed: 9 additions & 5 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](http://codeception.com/images/teamcity.png)
91+
![TeamCity](http://codeception.com/images/teamcity/logo.jpg)
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

@@ -112,7 +112,7 @@ After you create build project you should define build step with Codeception whi
112112

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

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

117117
## TravisCI
118118

@@ -132,9 +132,9 @@ Travis doesn't provide visualization for XML or HTML reports so you can't view r
132132

133133
## GitLab
134134

135-
If a file {% highlight yaml %}
136-
.gitlab-ci.yml
137-
{% endhighlight %} exists in the root of the git repository, gitlab will run a pipeline each time you push to the gitlab server. The file configures the docker image that will be called. Below is a sample which loads a php7 docker image, clones your files, installs composer dependencies, runs the built-in php webserver and finally runs codeception:
135+
![report](http://codeception.com/images/gitlab/logo.png)
136+
137+
If a file `.gitlab-ci.yml` exists in the root of the git repository, GitLab will run a pipeline each time you push to the gitlab server. The file configures the docker image that will be called. Below is a sample which loads a php7 docker image, clones your files, installs composer dependencies, runs the built-in php webserver and finally runs codeception:
138138

139139
{% highlight yaml %}
140140

@@ -163,6 +163,10 @@ test:
163163

164164
{% endhighlight %}
165165

166+
![report](http://codeception.com/images/gitlab/build.png)
167+
168+
For acceptance testing you can use `codeception/codeception` docker image as base.
169+
166170
## Conclusion
167171

168172
It is tringly recommended to use Continuous Integration system in development. Codeception is easy to install and run in any CI systems. However, each of them has their differences you should take into account. You can use different repoters to provide output in format expected by CI system.

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