Reading Materials
o JUnit Usage and Idioms – Read all of the listed
items under the JUnit Wiki
Excercise:
1. Write unit testing planning for your previously
written code and review it with our mentor before starting to implement it.
2. Write all of your tests via the framework of JUnit
(We’re talking about unit testing) that performs the coverage to all of your
specifications in the previous section.
a. Use Maven to add the dependencies to JUnit 4 and
Mockito (You should use the most current versions available).
b. Write unit tests to all of the implementations of EncryptionAlgorithm interface.
c. Try writing
your tests without code duplication, think how you can reuse your code to the
different encryption algorithms.
No comments:
Post a Comment