Skip to content

docs: lead with firmware integration testing for CI/CD#42

Merged
begeistert merged 1 commit into
masterfrom
docs/ci-testing-guide
Jun 6, 2026
Merged

docs: lead with firmware integration testing for CI/CD#42
begeistert merged 1 commit into
masterfrom
docs/ci-testing-guide

Conversation

@begeistert
Copy link
Copy Markdown
Collaborator

Description

Reworks the docs so the headline use case — firmware integration testing in CI/CD — is
the front door, using the patterns proven in PyMCU's integration suite.

  • guides/ci-validation.md rewritten end-to-end: test-project setup (NuGet TestKit,
    NUnit, FluentAssertions), the PicoSimulation(withUsbCdc: false) bare-metal pattern,
    GPIO assertions (blink sampling), UART assertions (banner + byte-echo round-trip with
    InjectByte), bounded RunUntilHalt, an on-the-fly firmware compile cache
    (Lazy<byte[]> + SemaphoreSlim, driven from [OneTimeSetUp]), a GitHub Actions
    snippet, and the headless runner CLI.
  • Landing: the hero now shows a real firmware test instead of a raw Run loop, and a
    linked "Firmware testing in CI" card leads the feature grid.

Docs-only. Builds clean with sphinx-build -W.

Type of change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 🧹 Refactoring (docs)

Checklist

  • 🧪 Tests passed locally (dotnet test)
  • ✅ Added new tests
  • 📝 Documentation updated
  • 🚫 No "Magic Strings"

Make the headline use case — testing real firmware in CI without flaky or hanging
builds — the front door of the docs, using the patterns proven in PyMCU's suite.

- Rewrite guides/ci-validation.md into an end-to-end guide: test-project setup, the
  PicoSimulation(withUsbCdc: false) bare-metal pattern, GPIO/UART assertions (blink
  sampling, banner + byte-echo round-trip), bounded RunUntilHalt, an on-the-fly
  firmware compile cache (Lazy + semaphore, OneTimeSetUp), a GitHub Actions snippet,
  and the headless runner CLI.
- Landing: hero now shows a firmware test (not a raw Run loop); add a linked
  "Firmware testing in CI" card.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jun 6, 2026

Deploying rp2040sharp-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: eb24b25
Status: ✅  Deploy successful!
Preview URL: https://34e7e9c7.rp2040sharp-docs.pages.dev
Branch Preview URL: https://docs-ci-testing-guide.rp2040sharp-docs.pages.dev

View logs

@begeistert begeistert requested a review from lmSeryi as a code owner June 6, 2026 23:40
@begeistert begeistert merged commit 6fbd4ac into master Jun 6, 2026
5 checks passed
@begeistert begeistert deleted the docs/ci-testing-guide branch June 6, 2026 23:43
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