This episode covers one method of dividing a test into four distinct phases and the benefits of doing so.
xUnit Patterns Wiki
xUnit Test Patterns book
This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/four-phases-of-testing
Great topic. One of the most complicated part is convince RSpec users to abandon their let
s, subject
and their before
per context/describe chain.
I changed from this painful way to write specs to pure and clean xUnit flow and wow: it’s kinda a whole new world when testing software. Everyone that read them change their minds.