-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added unit tests to the project #10
Conversation
…natureController class
…eController class
…atureController class
…ssage to external service using certificates
…service using certificates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything is looking great! These are some great additions for this repository and everything runs perfectly while running the tests through a command line. I did encounter an issue with the ApplicationTest test() test in VSCode. It appears JMockit is not being properly initialized in the Java TestRunner. This might be due to the dev container configuration but it would be good to get this resolved since we do want to include that in this pull request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switching to an approval with comments. My previous comment is still my only request. Might be worth to make a backlog item for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple questions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Problem
There are no unit tests implemented for this project.
Solution
Unit tests have been implemented.
New Classes
In order to make the project more testable, the following classes have been introduced to wrap certain operations:
Additionally, the Message class has been moved to its own file.
Typo Correction
The 'certficates' typo has been corrected to 'certificates' across the board.
Testing
Unit tests have been verified to pass & the signing functionality has been verified to work.