소스 검색

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