Sfoglia il codice sorgente

add comment about mailhog dependency for somes tests

Guénaël Muller 6 anni fa
parent
commit
8ccc7b1d5b
1 ha cambiato i file con 12 aggiunte e 1 eliminazioni
  1. 12 1
      README.md

+ 12 - 1
README.md Vedi File

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