mirror of
https://github.com/Pro/dkim-exchange.git
synced 2026-04-25 00:45:57 +03:00
[GH-ISSUE #22] Add Unit Tests #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Pro on GitHub (Mar 13, 2014).
Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/22
Add Unit Tests (usable by Travis CI) to test functionality of Signing, Regex, Configuration Errors....
@Pro commented on GitHub (Aug 20, 2014):
https://github.com/thelinuxlich/artemis_CSharp/blob/master/.travis.yml
http://stackoverflow.com/questions/16751772/how-do-i-use-travis-ci-with-c-sharp-or-f
@AlexLaroche commented on GitHub (Nov 20, 2014):
http://www.codeproject.com/Articles/3781/Test-Driven-Development-in-NET
@Pro commented on GitHub (Nov 20, 2014):
It would be nice to add different emails each in a txt file (in Mime format) into a subdirectory within the test directory. During unit test those all email files from within this directory should be signed and the resulting signature be validated against the known value and public key.
@AlexLaroche commented on GitHub (Nov 22, 2014):
We should start by implement test on each function. After that to implement tests on the whole application. If some class depend on other we should use mock as decribe in the article I have posted previously.
Screenshot of interface to see the results of the tests. I have seen some scripts to do this in travis.