shreyaaryaofficial opened a new pull request, #756:
URL: https://github.com/apache/atlas/pull/756

   ## What changes were proposed in this pull request?
   
   Added unit tests for the `org.apache.atlas.Atlas` class to improve test 
coverage of application configuration and command-line argument handling.
   
   The new `AtlasTest` covers:
   
   * Command-line argument parsing with no arguments.
   * Parsing of the application path argument.
   * Parsing of the application port argument.
   * Command-line port taking precedence when explicitly provided.
   * HTTPS port selection when TLS is enabled.
   * HTTP port selection when TLS is disabled.
   * HTTPS port selection when the TLS configuration is empty.
   * Project version resolution from configuration.
   
   No production code changes are included in this pull request.
   
   ## How was this patch tested?
   
   The new unit tests were executed using Maven:
   
   `mvn -pl webapp -Dtest=AtlasTest -Dsurefire.failIfNoSpecifiedTests=false 
-Denunciate.skip=true test`
   
   All 8 tests passed successfully with 0 failures and 0 errors.
   
   The changes were also checked for formatting issues using `git diff --check`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to