Skip to content

test: add quote assertion helpers#147

Merged
adamcavendish merged 1 commit into
masterfrom
adamcavendish/assert-quote-helpers
Jun 19, 2026
Merged

test: add quote assertion helpers#147
adamcavendish merged 1 commit into
masterfrom
adamcavendish/assert-quote-helpers

Conversation

@adamcavendish

Copy link
Copy Markdown
Collaborator

Summary

  • Add assert_rendered! for exact CodeBlock render assertions through FileSpec.
  • Add assert_quote! sugar for exact inline sigil_quote! snapshots.
  • Cover configured languages, imports, width-sensitive rendering, and CodeFragment composition.
  • Document exact quote testing in the sigil_quote! guide.

Tests

  • cargo test --test assert_quote_tests -- --nocapture
  • cargo test
  • git diff --check

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines Coverage Δ
src/testing.rs 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@adamcavendish adamcavendish merged commit 96be954 into master Jun 19, 2026
8 checks passed
@adamcavendish adamcavendish deleted the adamcavendish/assert-quote-helpers branch June 19, 2026 07:17
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