spree-testing
Installation
SKILL.md
Spree Testing
| Layer | Tooling |
|---|---|
Rails app (server/) |
RSpec + Factory Bot + spree_dev_tools — not Minitest, not fixtures |
Dashboard (apps/dashboard) |
Vitest (unit) + Playwright (e2e), preconfigured |
Storefront (apps/storefront) |
whatever the Next.js app ships with |
Spree has no server-rendered admin or storefront, so there are no Capybara feature specs to write for Spree screens. Browser coverage belongs to Playwright against the dashboard/storefront.
Setup
Projects from create-spree-app arrive with RSpec configured. For a classic app: