Selaa lähdekoodia

add comment about mailhog dependency for somes tests

Guénaël Muller 6 vuotta sitten
vanhempi
commit
8ccc7b1d5b
1 muutettua tiedostoa jossa 12 lisäystä ja 1 poistoa
  1. 12 1
      README.md

+ 12 - 1
README.md Näytä tiedosto

@@ -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