Contents

Rspec Varys

Everything should be built top-down, except the first time 1. Alan Perlis

RSpec-Varys automatically generates RSpec specs from your mocked methods each time your suite is run.

This enables you to build your program from the top-down (or outside-in if your prefer) without having to manually keep track of which mocks have been validated.

Installation instructions can be found here.

A typical workflow using rspec-varys looks like this. Note, I haven't written "and run your specs again" at the end of each step, that's implied.

Source: features/README.md at commit 9ecce2e7, Rspec Varys (MIT license).