Challenge Overview
In the past, we have added/updated a lot of code for Submission Processor, which add unit tests, so the current test code coverage is a bit low.
For this challenge, we'd like to add unit tests for every classes and improve the code coverage.
Coverage Requirements
1. Unit Tests should be present for all classes.
2. Properly test the valid and invalid cases, The minimum percentage to achieve is 80% for each class, if for some cases, it is hard to achieve, please raise in form for discussion and confirmation.
3. Please follow Unit Test Best Practice, like https://examples.javacodegeeks.com/core-java/junit/junit-best-practices
How to Run Coverage
1. Apache Maven is required to run the following.
2. In submission-system/ap-supply-library folder, run mvn clean compile install
3. In submission-system/ap-submission-library folder, run mvn clean compile install
4. In submission-system/ap-submission-processor/service folder run mvn site
5. You can find the coverage report by target/site/cobertura folder.
2. A general description for some code which can not be covered.
For this challenge, we'd like to add unit tests for every classes and improve the code coverage.
Coverage Requirements
1. Unit Tests should be present for all classes.
2. Properly test the valid and invalid cases, The minimum percentage to achieve is 80% for each class, if for some cases, it is hard to achieve, please raise in form for discussion and confirmation.
3. Please follow Unit Test Best Practice, like https://examples.javacodegeeks.com/core-java/junit/junit-best-practices
How to Run Coverage
1. Apache Maven is required to run the following.
2. In submission-system/ap-supply-library folder, run mvn clean compile install
3. In submission-system/ap-submission-library folder, run mvn clean compile install
4. In submission-system/ap-submission-processor/service folder run mvn site
5. You can find the coverage report by target/site/cobertura folder.
Final Submission Guidelines
1. New/updated unit test code2. A general description for some code which can not be covered.