Commit Graph
5 Commits
Author SHA1 Message Date
Wez Furlong 713d46e6a8 tests: add end-to-end webhook test
This exercises the log -> webhook delivery path

refs: https://github.com/KumoCorp/kumomta/issues/36
refs: https://github.com/KumoCorp/kumomta/issues/18
2023-05-08 10:14:34 -07:00
Wez Furlong b458bbced1 refactor integration testing to make it a bit easier to use
Helpers for generating messages, summarizing deliveries,
reducing boilerplate in the tests themselves.

Add SMTP line length test.
2023-03-08 10:32:01 -07:00
Wez Furlong 1d485d9fba dump delivery logs in integration test 2023-03-07 20:20:13 -07:00
Wez Furlong 257dc4a25a flesh out integration testing some more
This has our first end-to-end integration test that validates
smtp -> source mta -> sink mta -> maildir
and confirms that the message has the right bits inside it.

The end to end test will get refactored into more easily usable
pieces in follow-up commit(s).
2023-03-07 18:42:14 -07:00
Wez Furlong 51d1408aa6 scaffolding for integration tests 2023-03-07 14:54:19 -07:00