Spec Organization

Installation
SKILL.md

Spec Organization

Well-organized specs are easier to maintain, faster to run, and clearer to read. This skill covers patterns for structuring RSpec test suites.

Directory Structure

Standard Rails RSpec layout:

spec/
├── spec_helper.rb        # Pure RSpec config
├── rails_helper.rb       # Rails-specific config
├── support/              # Shared helpers and config
│   ├── factory_bot.rb
│   ├── capybara.rb
│   └── shared_examples/
├── factories/            # Factory Bot definitions
│   ├── users.rb
│   └── posts.rb
Related skills

More from bastos/ruby-plugin-marketplace

Installs
GitHub Stars
2
First Seen