Skip to content

Issue #18518: fixed grammar and punctuation#18899

Merged
romani merged 1 commit into
checkstyle:masterfrom
Anushreebasics:grammar
Feb 10, 2026
Merged

Issue #18518: fixed grammar and punctuation#18899
romani merged 1 commit into
checkstyle:masterfrom
Anushreebasics:grammar

Conversation

@Anushreebasics

Copy link
Copy Markdown
Contributor

fixes #18518

All grammar and punctuation improvements have been completed, making the document more professional and easier to read for new contributors.

Copilot AI review requested due to automatic review settings February 9, 2026 05:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the contributor documentation for Checkstyle testing techniques to improve readability for new contributors by correcting grammar, punctuation, and minor phrasing issues.

Changes:

  • Refined wording in the TDD section for clearer explanations.
  • Improved sentence structure and articles/spacing throughout the guide.
  • Tweaked phrasing in the BDD/input-file structure sections for better flow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/TestingTechniques.md
Comment on lines 53 to 55
- At this moment, Checkstyle uses jdk 21 as its operating version, and all input files that can
be compiled at jdk 21 or older go to `resources`, while those input files that require newer
be compiled with jdk 21 or older go to `resources`, while those input files that require newer
versions of jdk to compile go to `resources-noncompilable`.

Copilot AI Feb 9, 2026

Copy link

Choose a reason for hiding this comment

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

This section uses "jdk" in running text ("jdk 21", "versions of jdk"). Elsewhere in the repo the convention is "JDK" (e.g., src/site/xdoc/beginning_development.xml). Please update these occurrences here for consistency and readability.

Copilot uses AI. Check for mistakes.
Comment thread docs/TestingTechniques.md
This **Test Driven Development** technique with collaboration of debug fits well for solving
various module problems from corresponding issues that give you already prepared information for
creating the input file and the test to solve that problem.
This **Test Driven Development** technique with collaboration with the debug fits well for

Copilot AI Feb 9, 2026

Copy link

Choose a reason for hiding this comment

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

The phrase "with collaboration with the debug" is ungrammatical/unclear. Consider rephrasing to something like "in collaboration with the debugger" or "combined with debugging" so the sentence reads cleanly.

Suggested change
This **Test Driven Development** technique with collaboration with the debug fits well for
This **Test Driven Development** technique, combined with debugging, fits well for

Copilot uses AI. Check for mistakes.
Comment thread docs/TestingTechniques.md
Comment on lines +24 to +26
of the tests for a certain module
- The Name format for such collection files is: `[ModuleClassName]Test` where `[...]` indicates
you paste your own option inside

Copilot AI Feb 9, 2026

Copy link

Choose a reason for hiding this comment

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

These bullet items read as full sentences but currently lack ending punctuation. Consider adding periods at the end of the items (e.g., after "module" and "inside") for consistent punctuation with the other lists in this document.

Suggested change
of the tests for a certain module
- The Name format for such collection files is: `[ModuleClassName]Test` where `[...]` indicates
you paste your own option inside
of the tests for a certain module.
- The Name format for such collection files is: `[ModuleClassName]Test` where `[...]` indicates
you paste your own option inside.

Copilot uses AI. Check for mistakes.
Comment thread docs/TestingTechniques.md
Next after config comes the rest of the Java source code that serves the **during** state of
input file's BDD. This is the intended piece to be tested and to be covered by the running test's
scope.
Next after the config comes the rest of the Java source code that serves as the **during** state

Copilot AI Feb 9, 2026

Copy link

Choose a reason for hiding this comment

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

"Next after the config" is awkward/unnatural phrasing. Consider rewording to "After the config comes ..." or "Next comes ..." to improve readability.

Suggested change
Next after the config comes the rest of the Java source code that serves as the **during** state
After the config comes the rest of the Java source code that serves as the **during** state

Copilot uses AI. Check for mistakes.
Comment thread docs/TestingTechniques.md
- Name format for such collection files is: `[ModuleClassName]Test` where `[...]` indicates you
paste your own option inside
of the tests for a certain module
- The Name format for such collection files is: `[ModuleClassName]Test` where `[...]` indicates

Copilot AI Feb 9, 2026

Copy link

Choose a reason for hiding this comment

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

In this list item, "The Name format" has incorrect capitalization and reads awkwardly. Consider changing it to "The name format ..." (or just "Name format ...") to match standard sentence case.

Suggested change
- The Name format for such collection files is: `[ModuleClassName]Test` where `[...]` indicates
- The name format for such collection files is: `[ModuleClassName]Test` where `[...]` indicates

Copilot uses AI. Check for mistakes.
@Anushreebasics

Copy link
Copy Markdown
Contributor Author

@romani please review

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks a lot

@Anushreebasics

Copy link
Copy Markdown
Contributor Author

@romani could you let me know some issues that I can solve? I am aiming for GSOC'26 therefore I would really appreciate your guidance

@romani

romani commented Feb 10, 2026

Copy link
Copy Markdown
Member

Increase complexity of fixes, stay away from simple updates like this

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's merge this

@romani romani merged commit 45ac846 into checkstyle:master Feb 10, 2026
124 checks passed
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.

Fix typos and improve grammer in testing techniques guide

3 participants