Add testing instructions to README
This commit is contained in:
parent
74fc745618
commit
328144b3f5
2 changed files with 22 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -69,6 +69,17 @@ fn fetch_inbox_top() -> imap::error::Result<Option<String>> {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Running the test suite
|
||||||
|
|
||||||
|
To run the integration tests, you need to have [GreenMail
|
||||||
|
running](http://www.icegreen.com/greenmail/#deploy_docker_standalone). The
|
||||||
|
easiest way to do that is with Docker:
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ docker pull greenmail/standalone:1.5.8
|
||||||
|
$ docker run -t -i -e GREENMAIL_OPTS='-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose' -p 3025:3025 -p 3110:3110 -p 3143:3143 -p 3465:3465 -p 3993:3993 -p 3995:3995 greenmail/standalone:1.5.8
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Licensed under either of
|
Licensed under either of
|
||||||
|
|
|
||||||
11
README.tpl
11
README.tpl
|
|
@ -12,6 +12,17 @@
|
||||||
|
|
||||||
{{readme}}
|
{{readme}}
|
||||||
|
|
||||||
|
## Running the test suite
|
||||||
|
|
||||||
|
To run the integration tests, you need to have [GreenMail
|
||||||
|
running](http://www.icegreen.com/greenmail/#deploy_docker_standalone). The
|
||||||
|
easiest way to do that is with Docker:
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ docker pull greenmail/standalone:1.5.8
|
||||||
|
$ docker run -t -i -e GREENMAIL_OPTS='-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose' -p 3025:3025 -p 3110:3110 -p 3143:3143 -p 3465:3465 -p 3993:3993 -p 3995:3995 greenmail/standalone:1.5.8
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Licensed under either of
|
Licensed under either of
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue