~/talk

It's not your test framework, it's you

Talkat LA RubyConf 2013 · 2013-02-21..02-23· [testing]
speakerdeck:robb1e
links:none on file
slides:none on file

Claim: brittle suites come from misuse not Cucumber or RSpec. Demonstrated with a Twitter example that repeatedly embeds UI steps like click button tweet and login Bob, causing duplicated assumptions and slow builds (examples: 18 minutes 3 hours and a horror story of 33 hours). Remedies shown include extracting a domain DSL, stubbing authentication, quarantining flaky tests, removing sleeps, classifying tests into journey functional integration and unit and deleting low-value specs so acceptance tests become readable, fast, and actionable.

AI-written summary · about

  1. 0:00Sustainable BDD practices
  2. 1:27BDD origins and misunderstandings
  3. 3:34Collaborating with product owners
  4. 7:46BDD tools and Gherkin
  5. 9:54Gherkin for application state
  6. 11:59Avoiding brittle BDD tests
  7. 14:25Pitfalls of UI automation
  8. 17:11Domain-specific test languages
  9. 19:17Why PO collaboration matters
  10. 20:40Living executable documentation
  11. 22:25Slow test suites impact
  12. 24:11Flaky tests and sleeps
  13. 27:03Quarantining flaky tests
  14. 28:27Deleting outdated tests
  15. 29:29Reducing redundant tests
  16. 31:15Over-testing balance
  17. 34:01Optimizing test suites
  18. 34:43Test code as first-class
  19. 35:03Embracing BDD fully
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.