1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-07-04 23:21:23 +02:00
docker-mailserver/test/tests/serial
Brennan Kinney 5908d9f060
tests(refactor): Dovecot quotas (#3068)
* chore: Extract out Dovecot Quota test cases into new test file

Test cases are just cut + paste, no logic changed there yet.

* chore: Rename test case descriptions

* chore: Use `setup ...` methods instead of direct calls

* chore: Adjust `_run_in_container_bash` to `_run_in_container`

Plus some additional bug fixes in the disabled test case

* tests(refactor): Revise ENV test cases for max mailbox and message sizes

* tests(refactor): Revise ENV test cases for mailbox and message limits v2

Removes the extra variables and filtering in favour of explicit values instead of matching for comparison.

- Easier at a glance to know what is actually expected.
- Additionally reworks the quota limit checks in other test cases. Using a different formatter for `doveadm` is easier to match the desired value (`Limit`).

* chore: Sync improvement from `tests.bats` master

---

NOTE: This PR has been merged to avoid additional maintenance burden without losing the improvements. It was not considered complete, but remaining tasks were not documented in the PR.
2023-12-19 14:33:38 +13:00
..
mail_pop3.bats tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
mail_with_imap.bats tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
mail_with_ldap.bats ci(fix): Normalize for .gitattributes + improve eclint coverage (#3566) 2023-10-04 12:53:32 +02:00
mail_with_relays.bats tests: refactor POP3, IMAP (actually SASLauthd + RIMAP) & relay (#3062) 2023-02-06 23:59:01 +01:00
no_container.bats tests: refactor POP3, IMAP (actually SASLauthd + RIMAP) & relay (#3062) 2023-02-06 23:59:01 +01:00
open_dkim.bats chore: Change setup config dkim default key size to 2048 (open-dkim) (#3508) 2023-08-29 09:40:02 +12:00
permit_docker.bats tests: refactor 4 more tests (#3018) 2023-01-24 09:21:39 +01:00
sedfile.bats ci: refactored sedfile & used _send_mail where possible (#3103) 2023-02-22 10:26:04 +01:00
test_helper.bats ci: fix ShellCheck linting for BATS tests (#3347) 2023-05-23 14:33:58 +00:00
tests.bats tests(refactor): Dovecot quotas (#3068) 2023-12-19 14:33:38 +13:00
vmail-id.bats feat: Allow changing the Dovecot vmail UID/GID via ENV (#3550) 2023-10-01 00:20:03 +13:00