Skip to content

Conversation

prohladenn
Copy link
Contributor

pull request

This pull request primarily refactors the test method names to follow camelCase naming conventions, improving code readability and consistency. Additionally, it makes a minor documentation fix and updates a method name format check in the Checkstyle configuration.

Test code cleanup and consistency:

  • Renamed all test methods from snake_case to camelCase to align with Java naming conventions.
  • Updated the MethodNameCheck format in checkstyle.xml to require camelCase method names without underscores, enforcing the new convention.
  • Fixed a relative link in CONTRIBUTING.md for the Gradle update instructions to use the correct path.

Issue: #3028


Reviewer Resources:

Track Policies

Copy link
Contributor

github-actions bot commented Oct 4, 2025

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

@prohladenn prohladenn changed the title Refactor method names to remove snake_case #3028 Refactor method names to remove snake_case Oct 4, 2025
Copy link
Member

@kahgoh kahgoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the tests and adding to the Checkstyle rule! Also thanks for fixing the link in CONTRIBUTING.md!

@kahgoh kahgoh merged commit 354ef47 into exercism:main Oct 5, 2025
9 checks passed
@prohladenn prohladenn deleted the 3028-no-snake-case-in-method-names branch October 5, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants