rules/ruby/testing.md
This file extends common/testing.md with Ruby and Rails specific content.
factory_bot when scenarios need explicit object construction or complex traits.Prefer project-local commands:
bin/rails test
bin/rails test test/models/user_test.rb
bundle exec rspec
bundle exec rspec spec/models/user_spec.rb
See skill: tdd-workflow for the repo-wide RED -> GREEN -> REFACTOR loop.