1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-27 20:45:56 +00:00

test: Add tools to generate test coverage information

This patch adds some tooling and scripts to generate test coverage
information.

Unfortunately, this involves some hacks as Go does not have support for
generating coverage-enabled binaries, or merging coverage reports; but
overall it's not very intrusive.
This commit is contained in:
Alberto Bertogli
2018-02-25 01:24:00 +00:00
parent 751fbd4b55
commit bb90274edd
11 changed files with 221 additions and 0 deletions

3
.gitignore vendored
View File

@@ -18,6 +18,9 @@ cmd/smtp-check/smtp-check
cmd/spf-check/spf-check
cmd/mda-lmtp/mda-lmtp
# Test binary, generated during coverage tests.
chasquid.test
# Exclude any .pem files, to prevent accidentally including test keys and
# certificates.
*.pem