~/talk

Ruby on Rails on Minitest

Talkat RailsConf 2015 · 2015-04-21..04-23· [testing, ruby-on-rails]
slides:none on file

Minitest is a tiny, pragmatic test framework (from ~90 lines to ~1,600) that Rails adopts: Rails 4.0 → minitest 4, Rails 4.1 → minitest 5, and Rails 4.2 → randomized test order. Randomization exposes order-dependent failures; a bisect tool (minitest-bisect) repeatedly reruns the suite to reduce the failure to the minimal two-test order that reproduces it. Claim: minitest runs faster and uses less memory than RSpec; thousands of gems (4,000+) declare dependencies and many report big runtime wins.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49What is Minitest
  3. 3:49Negative assertions
  4. 6:31Test spec
  5. 7:48MainTestSpec
  6. 9:01Why Minitest
  7. 9:22Less is More
  8. 12:08Rails 40 and Minitest
  9. 12:56Rails 41 and Minitest
  10. 13:42Rails 42 and Minitest
  11. 14:07Impact on people
  12. 18:22Specstyle vs Minitest
  13. 19:13Randomization
  14. 21:08My suggestion
  15. 21:57My battles
  16. 22:47Functional differences
  17. 23:52Myron Marston
  18. 25:02Minitest vs RSpec
  19. 27:11Subclassing
  20. 28:05RSpec
  21. 28:52Magic
  22. 29:23Cognitive Cost
  23. 30:15Performance Cost
  24. 31:18Refactoring
  25. 31:32Speed
  26. 32:08Summary
~/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.