email-connect/tests
tegwick 442a574cf9
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
EMAIL-WP-0005-T03: add test-user addressing and reset helper
Adds the tests/harness helper package: address(), available(), reset(),
users(), smtp_provider() and mailbox_config().

Tests address mailboxes as harness.address("<test name>"), which slugs the name
under the RFC 2606 reserved harness.email-connect.test domain, so distinct test
names cannot collide and a stray send cannot leave the host. No provisioning
call is needed -- the auth-disabled harness creates the mailbox on first login.

reset() drops every user and message via GreenMail's service reset; the next
login recreates the mailbox empty. It is documented to run at test start so a
crashed test cannot leak state forward, and it is global, so resetting tests
cannot run in parallel against one harness.

Suite: 64 passed with the harness up, 61 passed + 3 skipped with it down.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 01:46:09 +02:00
..
fixtures feat: add expected recipient reporting 2026-06-02 03:07:13 +02:00
harness EMAIL-WP-0005-T03: add test-user addressing and reset helper 2026-08-14 01:46:09 +02:00
test_harness_users.py EMAIL-WP-0005-T03: add test-user addressing and reset helper 2026-08-14 01:46:09 +02:00
test_maildir.py EMAIL-WP-0005-T01: add Maildir mailbox source 2026-08-14 01:31:58 +02:00
test_parser.py feat: finish mailbox evidence scanner mvp 2026-06-02 02:24:39 +02:00
test_recipients.py feat: add expected recipient reporting 2026-06-02 03:07:13 +02:00
test_scanner.py feat: add expected recipient reporting 2026-06-02 03:07:13 +02:00
test_transactional.py EMAIL-WP-0005-T02: add GreenMail test harness 2026-08-14 01:41:38 +02:00