mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
f4f0e4ef61
* fix: Spam bounced test copy/paste typo * tests(docs): Expand inline documentation Should assist maintainers like myself that are not yet familiar with this functionality, saving some time :) * Refactor bounced test + Introduce initial container template DRY'd up the test and extracted a common init pattern for other tests to adopt in future. The test does not need to run distinct containers at once, so a common name is fine, although the `init_with_defaults()` method could be given an arg to add a suffix: `init_with_defaults "_${BATS_TEST_NUMBER}"` which could be called in `setup()` for tests that can benefit from being run in parallel. Often it seems the containers only need the bare minimum config such as accounts provided to actually make the container happy to perform a test, so sharing a `:ro` config mount is fine, or in future this could be better addressed. --- The test would fail if the test cases requiring smtp access ran before postfix was ready (_only a few seconds after setup scripts announce being done_). Added the wait condition for smtp, took a while to track that failure down. |
||
---|---|---|
.. | ||
bats@54e965fa9d | ||
config | ||
docker-openldap | ||
linting | ||
test-files | ||
test_helper | ||
default_relay_host.bats | ||
helper-functions.bats | ||
mail_changedetector.bats | ||
mail_disabled_clamav_spamassassin.bats | ||
mail_fail2ban.bats | ||
mail_fetchmail.bats | ||
mail_fetchmail_parallel.bats | ||
mail_hostname.bats | ||
mail_lmtp_ip.bats | ||
mail_pop3.bats | ||
mail_postfix_inet.bats | ||
mail_postscreen.bats | ||
mail_privacy.bats | ||
mail_quotas_disabled.bats | ||
mail_smtponly.bats | ||
mail_spam_bounced.bats | ||
mail_spam_junk_folder.bats | ||
mail_special_use_folders.bats | ||
mail_ssl_letsencrypt.bats | ||
mail_ssl_manual.bats | ||
mail_tls_dhparams.bats | ||
mail_undef_spam_subject.bats | ||
mail_with_imap.bats | ||
mail_with_ldap.bats | ||
mail_with_mdbox.bats | ||
mail_with_postgrey.bats | ||
mail_with_postgrey_disabled_by_default.bats | ||
mail_with_relays.bats | ||
mail_with_sdbox.bats | ||
no_container.bats | ||
open_dkim.bats | ||
permit_docker.bats | ||
security_tls_cipherlists.bats | ||
test_helper.bats | ||
tests.bats |