File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- < li > < a href ="/docs/01-Introduction "> Introduction</ a > </ li > < li > < a href ="/docs/02-GettingStarted "> Getting Started</ a > </ li > < li > < a href ="/docs/03-ModulesAndHelpers "> Modules And Helpers</ a > </ li > < li > < a href ="/docs/04-AcceptanceTests "> Acceptance Tests</ a > </ li > < li > < a href ="/docs/05-FunctionalTests "> Functional Tests</ a > </ li > < li > < a href ="/docs/06-UnitTests "> Unit Tests</ a > </ li > < li > < a href ="/docs/07-AdvancedUsage "> Advanced Usage</ a > </ li > < li > < a href ="/docs/08-Customization "> Customization</ a > </ li > < li > < a href ="/docs/09-Data "> Data</ a > </ li > < li > < a href ="/docs/10-WebServices "> Web Services</ a > </ li > < li > < a href ="/docs/11-Codecoverage "> Codecoverage</ a > </ li >
1+ < li > < a href ="/docs/01-Introduction "> Introduction</ a > </ li > < li > < a href ="/docs/02-GettingStarted "> Getting Started</ a > </ li > < li > < a href ="/docs/03-ModulesAndHelpers "> Modules And Helpers</ a > </ li > < li > < a href ="/docs/04-AcceptanceTests "> Acceptance Tests</ a > </ li > < li > < a href ="/docs/05-FunctionalTests "> Functional Tests</ a > </ li > < li > < a href ="/docs/06-UnitTests "> Unit Tests</ a > </ li > < li > < a href ="/docs/07-AdvancedUsage "> Advanced Usage</ a > </ li > < li > < a href ="/docs/08-Customization "> Customization</ a > </ li > < li > < a href ="/docs/09-Data "> Data</ a > </ li > < li > < a href ="/docs/10-WebServices "> Web Services</ a > </ li > < li > < a href ="/docs/11-Codecoverage "> Codecoverage</ a > </ li > < li > < a href =" /docs/configuration " > figuration </ a > </ li >
Original file line number Diff line number Diff line change @@ -136,4 +136,5 @@ you the most complete information on which parts of your applications are tested
136136
137137
138138
139+ * ** Next Chapter: [ figuration >] ( /docs/configuration ) **
139140* ** Previous Chapter: [ < WebServices] ( /docs/10-WebServices ) **
Original file line number Diff line number Diff line change 1+ ---
2+ layout : doc
3+ title : Configuration - Codeception - Documentation
4+ ---
5+
6+ # Configuration
7+
8+ Default your global configuration file will be this:
9+
10+ {% highlight yaml %}
11+ yaml
12+ # can be changed while bootstrapping project
13+ actor: Guy
14+
15+ paths:
16+ # where the modules stored
17+ tests: tests
18+
19+ # directory for fixture data
20+ data: tests/_data
21+
22+ # directory for custom modules (helpers)
23+ helpers: tests/_helpers
24+
25+ settings:
26+
27+ # name of bootstrap that will be used
28+ # each bootstrap file should be
29+ # inside a suite directory.
30+
31+ bootstrap: _bootstrap.php
32+
33+ # You can extend the suite class if you need to.
34+ suite_class: \PHPUnit_Framework_TestSuite
35+
36+ # by default it's false on Windows
37+ # use [ANSICON](http://adoxa.110mb.com/ansicon/) to colorize output.
38+ colors: true
39+
40+ # Tests (especially functional) can take a lot of memory
41+ # We set a high limit for them by default.
42+ memory_limit: 1024M
43+
44+
45+ # Global modules configuration.
46+ modules:
47+ config:
48+ Db:
49+ dsn: ''
50+ user: ''
51+ password: ''
52+ dump: tests/_ data/dump.sql
53+
54+ {% endhighlight %}
55+
56+ Suite configuration acceptance.yml
57+
58+ {% highlight yaml %}
59+ yaml
60+ class_name: WebGuy
61+ modules:
62+ # enabled modules and helpers
63+ enabled:
64+ - PhpBrowser
65+ - WebHelper
66+ - Db
67+
68+ # local module configuration. Overrides the global.
69+ config:
70+ Db:
71+ dsn:
72+
73+ {% endhighlight %}
74+
75+
76+
77+
78+ * ** Previous Chapter: [ < Codecoverage] ( /docs/11-Codecoverage ) **
You can’t perform that action at this time.
0 commit comments