Skip to content

Commit 963805b

Browse files
author
davert
committed
config reference extended
1 parent 1e90e01 commit 963805b

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

docs/reference/configuration.markdown

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: page
3-
title: Codeception Commands
3+
title: Codeception Configuration
44
---
55

66
# Configuration
@@ -86,7 +86,6 @@ Examples:
8686
Configuring [Db](http://codeception.com/docs/modules/Db) module:
8787

8888
{% highlight yaml %}
89-
9089
modules:
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`

0 commit comments

Comments
 (0)