[GH-ISSUE #22] Add Unit Tests #14

Open
opened 2026-02-26 10:35:14 +03:00 by kerem · 4 comments
Owner

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....

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....
Author
Owner
<!-- gh-comment-id:52766850 --> @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
Author
Owner

@AlexLaroche commented on GitHub (Nov 20, 2014):

http://www.codeproject.com/Articles/3781/Test-Driven-Development-in-NET

<!-- gh-comment-id:63752705 --> @AlexLaroche commented on GitHub (Nov 20, 2014): http://www.codeproject.com/Articles/3781/Test-Driven-Development-in-NET
Author
Owner

@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.

<!-- gh-comment-id:63881053 --> @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.
Author
Owner

@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.

image

<!-- gh-comment-id:64089804 --> @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. ![image](https://cloud.githubusercontent.com/assets/5282389/5155175/26900f38-724a-11e4-8dc4-8f9f729e7643.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dkim-exchange-Pro#14
No description provided.