Monil Narang created NET-736:
--------------------------------
Summary: Refactored test in SubnetUtilsTest to use parameterized
unit testing to reduce duplication and improve maintainability
Key: NET-736
URL: https://issues.apache.org/jira/browse/NET-736
Project: Commons Net
Issue Type: Improvement
Reporter: Monil Narang
{*}Aim is to improve the test code by avoiding code duplication, improving
maintainability, reducing boilerplate code, and enhancing readability.
To accomplish this, I have retrofitted the test testNET641 in SubnetUtilsTest
into a parameterized unit test. This reduces duplication, allows easy extension
by simply adding new value sets, and makes debugging easier as it clearly
indicates which test failed instead of requiring a search through individual
assertions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)