You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,27 @@
2
2
3
3
This Codeception Module implements the required methods to test emails using the [Codeception Email Testing Framework][CodeceptionEmailTestingFramework] with [MailHog]
4
4
5
+
### Installation
6
+
Through composer, require the package:
7
+
```
8
+
"require-dev": {
9
+
"ericmartel/codeception-email-mailhog": "^1.0"
10
+
}
11
+
```
12
+
Then turn it on in your Codeception suite yaml file
13
+
```
14
+
class_name: FunctionalTester
15
+
modules:
16
+
enabled:
17
+
- MailHog
18
+
config:
19
+
MailHog:
20
+
url: 'http://mailhog.dev'
21
+
port: '8025'
22
+
```
23
+
Additional parameters can be fed directly to the Guzzle connection using the `guzzleRequestOptions` variable.
24
+
25
+
The variable `deleteEmailsAfterScenario` can be set to true to ensure that all emails are deleted at the end of each scenario, but it is turned off by default.
5
26
### Added Methods
6
27
This Module adds a few public methods for the user, such as:
0 commit comments