Skip to content

Add 11 end-to-end sample projects#7

Open
jeremydmiller wants to merge 1 commit intomainfrom
claude/hungry-mestorf
Open

Add 11 end-to-end sample projects#7
jeremydmiller wants to merge 1 commit intomainfrom
claude/hungry-mestorf

Conversation

@jeremydmiller
Copy link
Copy Markdown
Member

Summary

  • Adds `samples/` directory with 11 self-contained Bobcat spec projects, each demonstrating a different application pattern
  • Every sample is both the application (in-memory ASP.NET Core minimal API) and the test runner (Bobcat + Alba)
  • Two samples demonstrate Wolverine message-bus integration (OutboxDemo, ProjectManagement)
  • All 101 scenarios pass across the full suite
  • All 11 projects added to `bobcat.sln`

Samples

Project Scenarios Pattern
CqrsMinimalApi 5 CQRS client CRUD via minimal API
CleanArchitectureTodos 10 Todo management with layered design
BankAccountES 9 Event-sourced bank account
EcommerceMicroservices 8 Product catalog microservice
OutboxDemo 4 Wolverine message dispatch (in-memory)
MoreSpeakers 10 Conference speaker + session management
BookingMonolith 15 Hotel room booking system
EcommerceModularMonolith 19 Products + customers + orders
MeetingGroupMonolith 10 Groups, events, attendance
PaymentsMonolith 10 Account transfers and refunds
ProjectManagement 1 Wolverine tracking + HTTP verification

Architecture pattern (per sample)

```
Program.cs — BobcatRunner.Run entry point, registers AlbaResource
AppBootstrap.cs — WebApplicationBuilder services + minimal API routes
Fixture.cs — Bobcat Fixture with [Given]/[When]/[Then] steps
Features/
.feature — Gherkin scenarios
*.csproj — refs Bobcat, Bobcat.Alba, Bobcat.Generators
```

Test plan

  • `dotnet build bobcat.sln` — succeeds (19 projects)
  • All 11 samples pass: 101/101 scenarios

🤖 Generated with Claude Code

Each sample is a self-contained Bobcat spec runner that tests an in-memory
ASP.NET Core web API via Alba. Two samples (OutboxDemo, ProjectManagement)
demonstrate Wolverine message-tracking integration.

Samples added:
- CqrsMinimalApi        — 5 scenarios, client CRUD via CQRS minimal API
- CleanArchitectureTodos — 10 scenarios, todo management
- BankAccountES          — 9 scenarios, event-sourced bank account
- EcommerceMicroservices — 8 scenarios, product catalog microservice
- OutboxDemo             — 4 scenarios, Wolverine message dispatch (no HTTP)
- MoreSpeakers           — 10 scenarios, conference speaker management
- BookingMonolith        — 15 scenarios, hotel room bookings
- EcommerceModularMonolith — 19 scenarios, products + customers + orders
- MeetingGroupMonolith   — 10 scenarios, groups/events/attendance
- PaymentsMonolith       — 10 scenarios, account transfers + refunds
- ProjectManagement      — 1 scenario, Wolverine tracking + HTTP verification

All 101 scenarios pass. All projects added to bobcat.sln.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant