1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-05 17:37:03 +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

View File

@@ -1,4 +1,8 @@
// chasquid-util is a command-line utility for chasquid-related operations.
//
// Don't include it in the coverage build.
// +build !coverage
package main
import (

View File

@@ -1,6 +1,8 @@
// CLI used for testing the dovecot authentication package.
//
// NOT for production use.
// +build !coverage
package main
import (

View File

@@ -1,6 +1,9 @@
// mda-lmtp is a very basic MDA that uses LMTP to do the delivery.
//
// See the usage below for details.
//
// +build !coverage
package main
import (

View File

@@ -1,4 +1,7 @@
// smtp-check is a command-line too for checking SMTP setups.
//
// +build !coverage
package main
import (

View File

@@ -1,6 +1,8 @@
// Command line tool for playing with the SPF library.
//
// Not for use in production, just development and experimentation.
// +build !coverage
package main
import (