Skip to content

test(fork): bUnit smoke test + fork CI#5

Open
cliedeman wants to merge 1 commit into
release/fork-16.3.0from
test/fork-bunit-ci
Open

test(fork): bUnit smoke test + fork CI#5
cliedeman wants to merge 1 commit into
release/fork-16.3.0from
test/fork-bunit-ci

Conversation

@cliedeman

Copy link
Copy Markdown

Confirms two things on the fork:

  1. bUnit works against the fork's test stack (xUnit v3 + Microsoft.Testing.Platform, net10/net11). UseFragmentBunitTests renders UseFragment<T> via bUnit and asserts ChildContent / LoadingContent. Verified locally: 4/4 pass on both net10.0 and net11.0.
  2. GitHub Actions run — adds ci-fork.yml with a pull_request trigger, so opening this PR exercises it (this is the run you're looking at).

Changes

  • bunit 2.7.2 added to central package management (src/Directory.Packages.props).
  • StrawberryShake.Razor.Tests references bUnit; new UseFragmentBunitTests.
  • .github/workflows/ci-fork.yml: package-scoped CI (Razor.Tests incl. bUnit, Core.Tests, Razor codegen snapshots) on pull_request and pushes to fork / release/fork-*.

Base: release/fork-16.3.0.

🤖 Generated with Claude Code

Confirm bUnit works against the fork's stack (xUnit v3 + Microsoft.Testing.Platform
on net10/net11) by rendering UseFragment<T> and asserting ChildContent /
LoadingContent, and add a pull_request CI workflow scoped to the forked packages.

- add bunit 2.7.2 to central package management
- StrawberryShake.Razor.Tests references bunit; UseFragmentBunitTests renders the
  component via bUnit (4/4 pass on net10 and net11)
- ci-fork.yml builds + tests Razor.Tests (runtime + bUnit) and Core.Tests on
  pull_request and fork/release-branch pushes (the Razor codegen snapshot tests bake
  the generator assembly version and aren't CI-portable, so they are excluded)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant