dotnet-testing-autofixture-bogus-integration
CommunityMerge AutoFixture with Bogus for realistic tests
Authorkevintsengtw
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill integrates AutoFixture with Bogus to generate realistic test data, reducing setup time and boilerplate while producing consistent, semantic data for unit and integration tests.
Core Features & Use Cases
- Seamless Bogus-powered data within AutoFixture for realistic properties
- Support for circular references via OmitOnRecursionBehavior
- Type-level and property-level customization for tailored data
- Ready-made patterns for test factories, data factories, and AutoData integration
- Useful for .NET projects using xUnit and AutoFixture to drive comprehensive tests
Quick Start
- Install packages: dotnet add package AutoFixture; dotnet add package Bogus
- Create fixture: var fixture = new Fixture().WithBogus(); var user = fixture.Create<User>()
- Use with BogusAutoDataAttribute in xUnit tests
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dotnet-testing-autofixture-bogus-integration Download link: https://github.com/kevintsengtw/dotnet-testing-agent-skills/archive/main.zip#dotnet-testing-autofixture-bogus-integration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.