Skip to content

Improve Code Coverage % for Legal-core

Thulasi Dass Subramanian requested to merge az/td-core-code-coverage into master


  • Issue Reference: osdu/platform/ci-cd-pipelines#40
  • Added junit-vintage-engine dependency to fix the legal-core test execution and jacoco report generation
  • Added missing test case scenarios/branches for many units
  • Created new Test class for InfoController, Country, GlobalOtherExceptionMapper, LegalTagRepositoryFactoryImpl, DefaultRule, ExpiredContractRule, RulesetProvider
  • Added 'jacoco-maven-plugin' configuration exclusion list [SwaggerDoc class & GlobalErrorHandler (hidden) controller]
  • Added lombok.config to exclude Lombok generated methods from coverage
  • refactored the existing test cases naming conventions(should_when)
  • formatted the test cases w.r.t Arrange Act Assert [AAA] pattern
  • Core Code Coverage Job added and Latest Code Coverage Report
Edited by Thulasi Dass Subramanian

Merge request reports