| layout | title |
|---|---|
doc |
Configuration - Codeception - Documentation |
Default your global configuration file will be this:
{% highlight yaml %}
actor: Tester
paths: # where the modules stored tests: tests
# directory for fixture data
data: tests/_data
# directory for support code
support: tests/_support
# directory for output
log: tests/_output
# directory for environment configuration
envs: tests/_envs
settings:
# name of bootstrap that will be used
# each bootstrap file should be
# inside a suite directory.
bootstrap: _bootstrap.php
# randomize test order
shuffle: true
# by default it's false on Windows
# use [ANSICON](http://adoxa.110mb.com/ansicon/) to colorize output.
colors: true
# Tests (especially functional) can take a lot of memory
# We set a high limit for them by default.
memory_limit: 1024M
modules: config: Db: dsn: '' user: '' password: '' dump: tests/_data/dump.sql
{% endhighlight %}
Suite configuration acceptance.yml
{% highlight yaml %}
class_name: AcceptanceTester modules: # enabled modules and helpers enabled: - PhpBrowser - AcceptanceHelper - Db
# local module configuration. Overrides the global.
config:
Db:
dsn:
{% endhighlight %}