
20: Intentionally Excruciatingly Painful
We're joined by Josh Clayton to discuss our differing strategies on testing view behavior, strategies for dealing with brittle feature specs, and what types of tests each of us favor.
June 23, 201541m 2s
Audio is streamed directly from the publisher (aphid.fireside.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
We're joined by Josh Clayton to discuss our differing strategies on testing view behavior, strategies for dealing with brittle feature specs, and what types of tests each of us favor.
- Verifying partial doubles
- Decent exposure
- Defining helpers directly on the view in view specs
- Don't stub the system under test
- Clearance Back Door
- Automatic form filling driven by i18n and Factory Girl with Formulaic
- Mystery guests
- Using data attributes to decouple data from presentation
- Testing pyramid
- Shoulda Matchers
- Consistency Fail
- Josh Clayton on Twitter