This pull request includes refactoring and improvements to the test case methods, variable names, and display annotations for enhanced readability, consistency, and maintainability.
Changes
Added line spaces between each test case method to improve code readability.
Changed test case method names to follow snake case naming conventions (e.g., ensure_firstname_is_equal -> ensure_first_name_is_equal).
Rearranged //GIVEN and //ASSERT sections for clearer test structure.
Removed unnecessary variable names and objects.
Replaced "is" pronouns with "are" in equality checks for plural variables.
Refactored sentences in the @DisplayName annotations for more descriptive test names.
Rearranged comments in the code for better clarity.
Refactored variable names (e.g., member1 -> member) to simplify the code.
Refined @DisplayName text annotations (e.g., changing "member null" to "Create a Member null").
Motivation
These changes ensure the test suite follows coding standards and remains clean, readable, and maintainable.
How to Test
Run the existing test suite to ensure all tests pass after the refactoring.
Review changes for consistency in method names, variables, and @DisplayName annotations.
Summary
This pull request includes refactoring and improvements to the test case methods, variable names, and display annotations for enhanced readability, consistency, and maintainability.
Changes
ensure_firstname_is_equal
->ensure_first_name_is_equal
).//GIVEN
and//ASSERT
sections for clearer test structure.@DisplayName
annotations for more descriptive test names.member1
->member
) to simplify the code.@DisplayName
text annotations (e.g., changing "member null" to "Create a Member null").Motivation
These changes ensure the test suite follows coding standards and remains clean, readable, and maintainable.
How to Test
@DisplayName
annotations.