[ https://issues.apache.org/jira/browse/RANGER-5311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bhavesh Amre updated RANGER-5311: --------------------------------- Description: Enhanced unit test coverage for the *Security-Admin module* under the _six_ packages. Migrated existing JUnit4 test cases to JUnit5 and added new tests to improve overall code coverage based on Jacoco analysis. *Key Updates:* * Migrated existing test classes from *JUnit4* to *JUnit5* (annotations and assertions). * Added additional unit tests to cover missing scenarios. * Improved Jacoco coverage across multiple packages: * ** {{org.apache.ranger.service}} → *59% → 72%* * ** {{{}org.apache.ranger.{}}}{{{}service.filter{}}} → *35% → 78%* * ** {{org.apache.ranger.json}} → *9% → 82%* * ** {{org.apache.ranger.common.db}} → *20% → 73%* * ** {{org.apache.ranger.authentication.unix.jass}} → *0% → 77%* * ** javax.ws.rs.core → *0% → 100%* was: Enhanced unit test coverage for the *Security-Admin module* under the _six_ packages. Migrated existing JUnit4 test cases to JUnit5 and added new tests to improve overall code coverage based on Jacoco analysis. *Key Updates:* * Migrated existing test classes from *JUnit4* to *JUnit5* (annotations and assertions). * Added additional unit tests to cover missing scenarios. * Improved Jacoco coverage across multiple packages: * ** {{org.apache.ranger.service}} → *0% → 72%* * ** {{{}org.apache.ranger.{}}}{{{}service.filter{}}} → *0% → 78%* * ** {{org.apache.ranger.json}} → *0% → 82%* * ** {{org.apache.ranger.common.db}} → *0% → 73%* * ** {{org.apache.ranger.authentication.unix.jass}} → *0% → 77%* * ** {{org.apache.ranger.credentialapi}} → *0% → 100%* > Test Cases for Security-Admin Module: Package[service, service.filter, json, > common.db, authentication.unix.jaas, javax.ws.rs.core] > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: RANGER-5311 > URL: https://issues.apache.org/jira/browse/RANGER-5311 > Project: Ranger > Issue Type: Sub-task > Components: Ranger > Reporter: Bhavesh Amre > Assignee: Bhavesh Amre > Priority: Major > > Enhanced unit test coverage for the *Security-Admin module* under the _six_ > packages. Migrated existing JUnit4 test cases to JUnit5 and added new tests > to improve overall code coverage based on Jacoco analysis. > *Key Updates:* > * Migrated existing test classes from *JUnit4* to *JUnit5* (annotations and > assertions). > * Added additional unit tests to cover missing scenarios. > * Improved Jacoco coverage across multiple packages: > * > ** {{org.apache.ranger.service}} → *59% → 72%* > * > ** {{{}org.apache.ranger.{}}}{{{}service.filter{}}} → *35% → 78%* > * > ** {{org.apache.ranger.json}} → *9% → 82%* > * > ** {{org.apache.ranger.common.db}} → *20% → 73%* > * > ** {{org.apache.ranger.authentication.unix.jass}} → *0% → 77%* > * > ** javax.ws.rs.core → *0% → 100%* -- This message was sent by Atlassian Jira (v8.20.10#820010)