forked from phalcon/cphalcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
unit.suite.yml
31 lines (31 loc) · 902 Bytes
/
unit.suite.yml
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
# Codeception Test Suite Configuration
#
# Suite for unit (internal) tests.
class_name: UnitTester
modules:
# enabled modules and helpers
enabled:
- Helper\Unit
- Asserts
- Db
- Filesystem
- Phalcon
- Redis
config:
Phalcon:
bootstrap: 'tests/_config/bootstrap.php'
Db:
# get params from environment vars
# Create it before running tests. For example:
# export TEST_DB_MYSQL_DSN="mysql:host=10.1.0.3.;dbname=phalcon_test"
# ...
dsn: %TEST_DB_MYSQL_DSN%
user: %TEST_DB_MYSQL_USER%
password: %TEST_DB_MYSQL_PASSWD%
populate: true
cleanup: false
dump: tests/_data/schemas/mysql/mysql.dump.sql
Redis:
database: 0
host: %TEST_RS_HOST%
port: %TEST_RS_PORT%