test(e2e): run the whole path through a real Postfix in Docker
- Add a Postfix test image: relay domain handed to parsimony over LMTP, members in maildirs, unknown users rejected with 5.1.1 - Check list headers, VERP return path and per-recipient unsubscribe links on real delivered mail - Check a real 5.1.1 disabling a member after three hard bounces, and a real LMTP 550 for non-members - Check join and leave by email, moderation, the public archive and one-click unsubscribe - Add make e2e behind the e2e build tag
This commit is contained in:
parent
ccb2940d6e
commit
9992a50ab9
1 changed files with 592 additions and 1 deletions
7
Makefile
7
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
.PHONY: all admin test build clean
|
||||
.PHONY: all admin test build e2e clean
|
||||
|
||||
all: admin build
|
||||
|
||||
|
|
@ -13,6 +13,11 @@ test:
|
|||
go test ./...
|
||||
cd admin && npm test
|
||||
|
||||
# End-to-end test: parsimony behind a real Postfix, both in Docker (needs a running Docker daemon).
|
||||
# Set E2E_PARSIMONY_IMAGE to reuse an image instead of building one.
|
||||
e2e:
|
||||
go test -tags e2e -count=1 -timeout 15m -v ./e2e
|
||||
|
||||
clean:
|
||||
rm -f parsimony
|
||||
node admin/scripts/clean.mjs
|
||||
|
|
|
|||
Loading…
Reference in a new issue