Ruby Testing

Writes and refactors Ruby and Rails tests in the project's own framework, Minitest or RSpec, with its fixtures or factories and its mocking library. Use when writing, reviewing, or refactoring tests or specs; adding unit, collaboration, or integration tests; checking that a class sends the right message to a mailer, gateway, or job; removing shared state from specs; choosing Minitest or RSpec for a new project; making code testable with injection; fixing flaky, order-dependent, or slow tests; or when a Minitest 5 suite breaks on Minitest 6.

zalom Updated

File contents

zalom/agent-skills/tree/main/ruby-testing commit cfd31d45cd

Frequently asked questions

npx skillmds@latest add zalom/ruby-testing