-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodeception.yml.erb
34 lines (34 loc) · 1.15 KB
/
codeception.yml.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
paths:
tests: ./codeception
log: ./codeception/_log
data: ./codeception/_data
helpers: ./codeception/_helpers
settings:
bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite
colors: true
memory_limit: 1024M
log: true
modules:
config:
Db:
dsn: 'mysql:host=<%= ENV['DATABASE_HOST'] %>;port=<%= ENV['DATABASE_PORT'] %>;dbname=<%= ENV['DATABASE_NAME'] %>'
user: '<%= ENV['DATABASE_USER'] %>'
password: '<%= ENV['DATABASE_PASSWORD'] %>'
dump: ./codeception/_data/dump.sql
populate: true
cleanup: true
MailCatcher:
url: 'http://<%= ENV['MAILCATCHER_HOST'] %>'
port: '<%= ENV['MAILCATCHER_HTTP_PORT'] %>'
<% if ENV.has_key? "SAUCELABS" and ENV['SAUCELABS'].to_s == "1" %>
extensions:
enabled:
- Codeception\Extension\SauceExtension
config:
Codeception\Extension\SauceExtension:
username: <%= ENV['SAUCE_USERNAME'] %>
accesskey: <%= ENV['SAUCE_ACCESS_KEY'] %>
build: <%= ENV['SAUCE_METADATA_BUILD'] %>
tags: <%= ENV['SAUCE_METADATA_TAGS'] %>
<% end %>