瀏覽代碼

add comment about mailhog dependency for somes tests

Guénaël Muller 6 年之前
父節點
當前提交
8ccc7b1d5b
共有 1 個文件被更改,包括 12 次插入1 次删除
  1. 12 1
      README.md

+ 12 - 1
README.md 查看文件

@@ -89,12 +89,23 @@ run wsgidav server:
89 89
 
90 90
     tracimcli webdav start
91 91
 
92
-### Run Tests and others checks ###
92
+### Run Tests ###
93
+
94
+Before running some functional test related to email, you need a local working *MailHog*
95
+see here : https://github.com/mailhog/MailHog
96
+
97
+You can run it this way with docker :
98
+
99
+    docker pull mailhog/mailhog
100
+    docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog
101
+
93 102
 
94 103
 Run your project's tests:
95 104
 
96 105
     pytest
97 106
 
107
+### Lints and others checks ###
108
+
98 109
 Run mypy checks:
99 110
 
100 111
     mypy --ignore-missing-imports --disallow-untyped-defs tracim