[opendmarc-dev] Test cases

Murray S. Kucherawy msk at blackops.org
Sun Jul 15 22:17:18 PDT 2012


Because of both the upcoming DMARC interoperability event and the fact 
that it would probably be a good idea anyway, I'm beginning to assemble a 
matrix of test cass for exercising a DMARC implementation.  In parallel 
with this, I'd like us to start writing unit tests for the library and the 
filter as much as is possible.  The filter has more moving parts so there 
will be tests that apply only to it (report generation, for example), but 
there should be a fair amount of overlap.

I'm starting this in a file called TESTS in the top directory on the 
"develop" branch.  It will exist in git but won't be part of the tarball.

If you don't have commit access, please feel free to grab the TESTS file 
from git and tell us of any cases we may have overlooked, or send us test 
code we could add to the tarball so that "make check" fully exercises the 
package.

OpenDKIM has some build-time flags for measuring code coverage.  We could 
copy some of that over if it would be useful.

-MSK


More information about the opendmarc-dev mailing list