File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22layout : page
3- title : Codeception Commands
3+ title : Codeception Configuration
44---
55
66# Configuration
@@ -86,7 +86,6 @@ Examples:
8686Configuring [ Db] ( http://codeception.com/docs/modules/Db ) module:
8787
8888{% highlight yaml %}
89-
9089modules:
9190 enabled [ PhpBrowser, WebHelper, Db]
9291 config:
@@ -107,3 +106,18 @@ modules:
107106 browser: firefox
108107 delay: 10
109108{% endhighlight %}
109+
110+ ### Extensions
111+
112+ Extensions can subscribe to events and extend Codeception functionality.
113+ They can be installed from 3rd party sources and enabled in global configuration ` codeception.yml ` .
114+
115+ {% highlight yaml %}
116+ extensions:
117+ enabled: [ MyExtension] # class name
118+ config:
119+ MyExtension:
120+ param: value
121+ {% endhighlight %}
122+
123+ Extensions should included in global bootstrap file in ` tests/_bootstrap.php `
You can’t perform that action at this time.
0 commit comments