The third episode in the series of screencasts covering Test Driven Development with RSpec. This episode goes over what the three main configure files for RSpec do.

This episode goes into detail on:

  • The .rspec file
  • spec/spec_helper.rb, its various options, and when to require it
  • RSpec spec/examples.txt and using --only-failures
  • RSpec output formats
  • RSpec slow test profiling options
  • RSpec test seed and its importance
  • spec/rails_helper.rb, its various options, and when to require it
  • Requiring and including spec/support/ code in specs

Be sure to check out the rspec-rails README for more info.

View the code.

View the playlist.

Software used:

  • Ruby 2.4.2
  • RSpec 3.6.1
  • Rails 5.1.4
  • Mac OS
  • iTerm 2
  • Vim
  • Tmux