What problem does it solve?
Guides the agent in writing, naming, and organizing xUnit tests for .NET class libraries. Use this skill when asked to add or refactor tests, write unit or integration tests, set up fixtures or traits, organize test data with Bogus, or apply AAA structure and naming conventions to test methods.
Core Features & Use Cases
- Test naming conventions for methods and classes that improve readability and consistency.
- Clear guidance on test class structure, including the use of IClassFixture<T> and ICollectionFixture<T>.
- Data generation strategy with Bogus, fixtures, and trait/category organization to support reliable, randomized tests.
- AAA (Arrange-Act-Assert) pattern enforcement and standardized placement of test utilities, builders, and helpers.
- Integration with xUnit v3 features such as [Theory], [InlineData], [MemberData], and [Trait] attributes for robust parameterized tests.
Quick Start
Organize your next test project by applying the AAA structure, xUnit v3 fixtures, and Bogus-based data, following the naming conventions described.