xUnit.net Testing Skill Core Patterns Basic Test Theory (Parameterized) Assertions Shared Context (IClassFixture) Constructor/Dispose (Per-Test Setup) Anti-Patterns | Bad | Good | Why | |-----|------|-----| | with parameters | + | xUnit convention | | Static state | | Test isolation | | No | Implement for cleanup | Resource management | Setup: Run: or Deep Patterns For advanced patterns, debugging guides, CI/CD integration, and best practices, see . ---