approvals / ApprovalTests.cpp

Native ApprovalTests for C++ on Linux, Mac and Windows
https://approvaltestscpp.readthedocs.io/en/latest/
Apache License 2.0
317 stars 51 forks source link

Prepare to update documentation for catch2 v3 #224

Closed Laguna1989 closed 7 months ago

Laguna1989 commented 7 months ago

This PR was done pairing in support for catch2 v3

sourcery-ai[bot] commented 7 months ago

This automated comment suggests enhancements to the PR title and body to improve clarity and facilitate a quicker review

Title suggestion

Add support for Catch2 v3 and update documentation
Reasons to update the title
  • Consider specifying the key changes in the title for clarity.
  • Mentioning 'catch2 v3' is good, but it could be more informative about the nature of the update.

Body suggestion

This PR introduces support for Catch2 version 3 by updating GitHub Actions workflows, modifying code snippets, and revising documentation. Changes include adding a new step in GitHub Actions to run MarkdownSnippets, updating Catch2v3Approvals.h to include necessary headers for Catch2 v3, and adjusting documentation and tests to align with Catch2 v3 standards. These updates ensure our project is compatible with the latest version of Catch2, improving our testing framework's robustness and maintainability.
Reasons to update the body
  • Expand on what 'pairing in support' means for better clarity.
  • Mention the key changes made in the PR, such as updates to GitHub Actions, documentation, and code snippets.
  • Explain why these changes were necessary, for instance, to support Catch2 v3.
  • If there are any known limitations or considerations, include those.

Benefits of a great title and description

Author benefits

  • Faster Approval Times: Clear descriptions lead to quicker, more efficient code review processes.
  • Higher Quality Reviews: Well-crafted descriptions lead to more insightful feedback, improving the overall quality of the code.
  • Easier Future Maintenance: Simplifies debugging and updating code by providing context and rationale.

Reviewer benefits

  • Efficient Review Process: Concise, informative descriptions enable quicker understanding and assessment of changes.
  • Improved Decision-Making: Detailed context aids in evaluating the impact and necessity of the change.
  • Facilitates Knowledge Sharing: Offers insights into codebase evolution, design choices, and problem-solving approaches.

Guide: Writing good PR descriptions - Google