testing-real-service-e2e-no-mocks
Made by JeffBuild mock-free integration and E2E tests that hit real databases, real APIs, and real services with structured logging. Use when: replacing mocked tests with real-DB tests, transaction rollback isolation, test data factories, structured JSON-line test logging, webhook simulation, or billing flow verification. Covers Vitest, Supabase, Stripe test mode, and testcontainers.
Works With
Quality and Utility come from canonical skill metadata. Community ratings appear separately as stars when subscriber reviews exist.
Subscribe to download
Public previews are available, but downloads, CLI sync, and premium content require an active subscription.
Sign In to Subscribe- Full skill content with deterministic versioning
- CLI sync + local search index
- Access to Jeffrey’s premium library
Save to your account
Saved skills live in your cloud list. Run jsm sync on each machine to pull them locally.
What's New with this Skill
1Updates, enhancements, and release notes for this skill.
New skill: Real-Service E2E Tests (No Mocks)
Replace mock-heavy tests with real-database integration tests using transaction rollback isolation, test data factories, and structured JSON-line logging. Every mock is a lie about how the system works.
- Transaction rollback isolation: each test runs in a transaction that rolls back; zero cleanup
- Test data factories with fishery + faker (TypeScript) and fake-rs (Rust); realistic, not minimal
- Structured JSON-line test logging with phase timing, DB state snapshots, and assertion detail
- Payment provider test modes: Stripe sk_test_* keys, PayPal sandbox, webhook simulation
- Mock-to-real migration playbook: audit → write → verify → delete the mock
Mocks hide bugs. CASCADE deletion, unique constraints, transaction isolation, and race conditions only surface when you test against real databases. This skill teaches transaction rollback isolation (zero cleanup needed), test data factories (fishery + faker for TypeScript, fake-rs for Rust), structured JSON-line test logging with phase tracking, Stripe test mode and PayPal sandbox integration, and a step-by-step migration playbook for converting mocked tests to mock-free.