Skip to content

[#123] Test template#17

Merged
richardgaunt merged 1 commit into
mainfrom
feature/test-template
Feb 25, 2026
Merged

[#123] Test template#17
richardgaunt merged 1 commit into
mainfrom
feature/test-template

Conversation

@richardgaunt
Copy link
Copy Markdown
Owner

@richardgaunt richardgaunt commented Feb 25, 2026

JIRA ticket: #123

Checklist before requesting a review

  • I have formatted the subject to include ticket number as
  • I have added a link to the issue tracker
  • I have provided information in section about WHY something was done if this was not a normal implementation
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • I have run new and existing relevant tests locally with my changes, and they passed
  • I have provided screenshots, where applicable

Changed

  1. Fix template spacing.
  2. Fix bug in template render.

Screenshots

Summary by CodeRabbit

  • Chores

    • Enhanced pull request template formatting with improved spacing and whitespace handling for more consistent and readable PR descriptions when submitted.
  • New Features

    • Added new test-related checklist items to pull request templates to improve test coverage tracking and verification during code review submissions.

@richardgaunt richardgaunt merged commit 98f8ec9 into main Feb 25, 2026
1 of 2 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 25, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3615348 and 69223d5.

📒 Files selected for processing (1)
  • templates/PULL_REQUEST_TEMPLATE.njk

📝 Walkthrough

Walkthrough

The pull request template is updated to refine whitespace handling in Jinja conditional blocks using trim markers (-%}) and adds conditional checklist items for test coverage that render based on a has_tests variable.

Changes

Cohort / File(s) Summary
Template Whitespace & Checklist Refinement
templates/PULL_REQUEST_TEMPLATE.njk
Adjusted Jinja block whitespace trimming with -%} markers to control newline handling in conditional sections. Added two new test-related checklist items dependent on has_tests variable. Removed extra blank line before Screenshots section.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A template trimmed with care so fine,
Whitespace dancing in each line,
Tests now checked when needed true,
PR formatting, shiny and new!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/test-template

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 19.50%. Comparing base (3615348) to head (69223d5).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage   19.50%   19.50%           
=======================================
  Files           1        1           
  Lines         200      200           
=======================================
  Hits           39       39           
  Misses        161      161           
Flag Coverage Δ
unittests 19.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant