Skip to content

Conversation

@MirakuSan
Copy link

@MirakuSan MirakuSan commented Jul 16, 2025

Add updateTestUnit prompt and PR template

✅ Type of PR

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

🗒️ Description

Added a new prompt :updateTestUnit for updating existing unit test files when source code changes, and created a structured PR template for the repository. The new prompt provides comprehensive guidance for maintaining test coverage while adapting to code modifications.

🚶‍➡️ Behavior

  • Users can now use :updateTestUnit to systematically update test files after code changes
  • The prompt guides through analyzing changes, updating existing tests, and adding new test cases
  • Added PR template ensures consistent and structured pull request creation
  • Updated README documentation includes the new prompt with detailed description

🧪 Steps to test

  • Verify the new prompt appears in README.md table of contents
  • Check that the :updateTestUnit prompt section is properly formatted
  • Confirm PR template is accessible at .github/pull_request_template.md
  • Test that the template structure follows the documented format
  • Validate that all prompt instructions are clear and actionable

- Added comprehensive prompt for updating existing unit test files
- Added PR template for structured pull request creation
- Updated README with new prompt documentation
@MirakuSan MirakuSan marked this pull request as draft July 16, 2025 06:56
@MirakuSan MirakuSan self-assigned this Jul 16, 2025
@trag-bot
Copy link

trag-bot bot commented Jul 16, 2025

Pull request summary

  • Added a pull request template to standardize contributions and improve clarity in submissions.
  • Updated the README file to include a new section for updating unit test files after code modifications, ensuring better documentation of testing practices.
  • Corrected various typographical errors throughout the README for improved readability and professionalism.
  • Enhanced the clarity of instructions in the README by rephrasing sentences to eliminate ambiguity.
  • Introduced a new prompt for updating unit tests, detailing the steps to maintain test coverage and adapt to code changes.
  • Ensured consistent formatting in the README, including the use of quotation marks and markdown syntax for better presentation.
  • Added specific guidelines for validating test updates with users to ensure alignment with business scenarios.
  • Improved the structure of the README by organizing content into clearer sections and bullet points for easier navigation.

@MirakuSan MirakuSan requested a review from alexsoyes July 16, 2025 07:32
@MirakuSan MirakuSan marked this pull request as ready for review July 17, 2025 06:46
@trag-bot
Copy link

trag-bot bot commented Jul 17, 2025

Pull request summary

  • Added a pull request template to standardize contributions and improve clarity in submissions.
  • Updated the README file to include a new section for updating unit test files after code modifications, ensuring better documentation of testing practices.
  • Corrected various typographical errors throughout the README for improved readability and professionalism.
  • Enhanced the clarity of instructions in the README by rephrasing sentences to eliminate ambiguity.
  • Introduced a new prompt for updating unit tests, detailing the steps to maintain test coverage and adapt to code changes.
  • Ensured consistent formatting in the README, including the use of quotation marks and markdown syntax for better presentation.
  • Improved the structure of the README by organizing content into clearer sections, making it easier for users to navigate.
  • Added specific guidelines for maintaining existing test structures and conventions in the new unit test update prompt.

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