Archive of stories published by Clutter Developers

Describe “why” you are testing, not “what“

There are three basic techniques that you can apply to make your RSpec tests more readable and understandable to your co-workers:

  1. Use meaningful variable names.
  2. Write all the preconditions inside a…