Browse Source

Maybe?

pull/1309/head
Brad Bell 9 years ago
parent
commit
d425944c4d
  1. 1
      .gitignore
  2. 27
      codeception.yml

1
.gitignore

@ -12,5 +12,4 @@ Build/*
node_modules/
vendor/
/composer.lock
/codeception.yml
/tests/_craft/config/db.php

27
codeception.yml

@ -0,0 +1,27 @@
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
settings:
bootstrap: _bootstrap.php
colors: true
coverage:
enabled: true
params:
env
modules:
config:
Yii2:
configFile: 'tests/_craft/config/test.php'
enabled:
Db:
dsn: 'mysql:host=127.0.0.1;dbname=%TEST_DB_NAME%;'
user: '%TEST_DB_USER%'
password: '%TEST_DB_PASS%'
dump: 'tests/_data/dump.sql'
populate: true
cleanup: true
reconnect: true
Loading…
Cancel
Save