spree-testing

Installation
SKILL.md

Spree Testing

Commands below use the Spree CLI form (spree …, Docker). On a classic Rails app without the CLI (typical pre-5.4), use the native mapping in the spree-project skill — bin/rails / bundle exec rake from the app root, paths without the backend/ prefix.

Spree's testing stack:

Tool Role
RSpec Test framework (not Minitest)
Factory Bot Test data (not fixtures)
Capybara Browser-driving feature tests
spree_dev_tools Spree-specific helpers (authorization stub, shared contexts, factory access)

If you've worked with vanilla Rails: drop test/, drop fixtures/, write under spec/ with RSpec instead. Spree gems use this stack consistently — your app should too.

Setup (one-time)

Installs
45
GitHub Stars
4
First Seen
Jun 11, 2026
spree-testing — spree/agent-skills