File: TESTING

package info (click to toggle)
postfix 3.11.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,668 kB
  • sloc: ansic: 143,638; makefile: 19,474; sh: 7,191; perl: 2,855; python: 1,448; awk: 158
file content (17 lines) | stat: -rw-r--r-- 709 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Testing is a work in progress.

- As of Postfix 3.11 most new code is covered by tests.

- Many Postfix tests require building with shared=yes and dynamicmaps=no.
The shared=yes is needed so that test code can overrride internal
dependencies with mocks; the dynamicmaps=no is needed until there
is an easy way way to tell dynamicmaps support to not use the system
dynamicmaps.cf file.

- Historically, many tests in src/util, src/dns, and src/smtpd
are non-hermetic: they have dependencies on DNS or on local system
configuration.

- The PTEST test framework needs to be integrated; this fixed many many
non-hermetic tests in src/util and src/dns. That development stalled
after postfix-3.8-20220816-nonprod.