[
https://issues.apache.org/jira/browse/RANGER-5307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bhavesh Amre updated RANGER-5307:
---------------------------------
Description:
Enhanced unit test coverage for the *Security-Admin module* under the _service_
package. 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.validation}} → *0% → 72%*
** {{org.apache.ranger.solr}} → *0% → 78%*
** {{org.apache.ranger.solr.krb}} → *0% → 82%*
** {{org.apache.ranger.elasticsearch}} → *0% → 73%*
** {{org.apache.ranger.amazon.cloudwatch}} → *0% → 77%*
** {{org.apache.ranger.credentialapi}} → *0% → 100%*
was:
Enhanced unit test coverage for the *Security-Admin* module under the
{{service}} package. Existing JUnit4 test cases were migrated to {*}JUnit5{*},
and additional test cases were introduced to improve code coverage as per
*Jacoco* analysis.
*Key Updates:*
* Migrated existing test classes from JUnit4 to JUnit5 annotations and
assertions.
* Improved Jacoco coverage
*
{color:#000000}org.apache.ranger.validation{color} package from 0{*}% to 72%{*}
*
{color:#000000}org.apache.ranger.solr{color} package from 0{*}% to 78%{*}
*
{color:#000000}org.apache.ranger.solr.krb{color} package from 0{*}% to 82%{*}
*
{color:#000000}{color:#000000}org.apache.ranger.{color}{color}
h1. elasticsearch
package from 0{*}% to 73%{*}
*
*
{color:#000000}org.apache.ranger.amazon.cloudwatch{color} package from 0{*}% to
77%{*}
*
h1. org.apache.ranger.credentialapi
package from 0{*}% to 100%{*}
*
> Test Cases for Security-Admin Module: Package[validation ,solr ,solr.krb
> ,elasticsearch ,credentialapi ,amazon.cloudwatch]
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-5307
> URL: https://issues.apache.org/jira/browse/RANGER-5307
> 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
> _service_ package. 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.validation}} → *0% → 72%*
> ** {{org.apache.ranger.solr}} → *0% → 78%*
> ** {{org.apache.ranger.solr.krb}} → *0% → 82%*
> ** {{org.apache.ranger.elasticsearch}} → *0% → 73%*
> ** {{org.apache.ranger.amazon.cloudwatch}} → *0% → 77%*
> ** {{org.apache.ranger.credentialapi}} → *0% → 100%*
--
This message was sent by Atlassian Jira
(v8.20.10#820010)