Update headless xUnit support to v3 by MrJul · Pull Request #20481 · AvaloniaUI/Avalonia (original) (raw)
peterblazejewicz added a commit to peterblazejewicz/claude-plugins that referenced this pull request
…(2.3.0)
FluentAssertions v8 (Jan 2025) moved from Apache 2.0 to the XCEED source-available license; only v7.x remains OSS-compatible, and recommending "FluentAssertions" without version-pinning nudges agents toward a licensing audit every team will lose. This release purges every FluentAssertions reference and standardises on native Xunit.Assert.X (xUnit) and Microsoft.VisualStudio.TestTools.Assert.X (MSTest). xUnit v3 + Microsoft.Testing.Platform is now the canonical sample style; v2 stays source-compatible and is covered by the Version Awareness table in test-driven-development.
Scope:
- test-driven-development, integration-testing-dotnet, test-engineer: all .Should() samples rewritten to native assertions; FA block after the RED step deleted; dual-option csproj replaced with a single xUnit v3 + MTP block plus a compact "swap for v2" note.
- Avalonia version cliff: Avalonia.Headless.XUnit only gained xUnit v3 support in Avalonia 12.0 (AvaloniaUI/Avalonia#20481); 11.x projects must stay on v2 — called out explicitly.
- 5 secondary skills/commands: prose scrub (spec-driven-development, context-engineering, source-driven-development, using-agent-skills, commands/dotnet-skills.md).
- README status + Agents + Skills tables + Requirements updated.
- Downstream-patches footer entries added to the three ported files so re-syncs against the pinned upstream stay coherent.
- SYNC.md ledger: v2.3.0 downstream patch notes on three rows.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com