~/talk

RSpec 3 and why I `expect(you).to care`

Talkat Red Dot Ruby Conference 2014 · 2014-06-26..06-27· [testing, ruby]
slides:none on file

RSpec 3 arrives after more than a year of work and a couple hundred contributors and makes concrete tradeoffs: the expect syntax becomes recommended to remove fragile monkey‑patching, automatic `should` is deprecated, a non‑monkey‑patch mode exists via config.disable_monkey, formatters now receive notification objects, verified doubles perform real method existence checks, several old helpers and hooks are removed or tightened, and the upgrade path is automated with Transpec.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29Semantic Versioning
  3. 1:56History of Aspect
  4. 3:27Why should you care
  5. 4:23Expect syntax
  6. 5:28Should syntax
  7. 6:16Should being deprecated
  8. 7:00Monkeypatching
  9. 9:07Zero monkey patching
  10. 10:18Formatters
  11. 14:10Verified Doubles
  12. 16:33Backwards Compatibility
  13. 19:51Upgrading
  14. 22:05Conclusion
~/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.