~/talk

A Big Look at MiniTest

Talkat ArrrrCamp 2013 · 2013-10-03..10-04· [ruby, testing]
slides:none on file

Rails 4 plus Ruby 1.9 means MiniTest ships with Ruby 1.9+ and replaces TestUnit, offering both spec and unit syntaxes, custom assertions (inject via infect_assertion), and tiny core (about three files) instead of many gems. Mocking is minimal so examples use OpenStruct/Struct or mocha, minitest-rails adds controller helpers and rake tasks, guard runs tests on save, capybara integrates for feature tests, and the m gem runs single tests or files by line.

AI-written summary · about

  1. 0:00Intro
  2. 0:45Stand Up
  3. 1:49Metacasts
  4. 2:34The Green Dot
  5. 3:56The Ruby Toolbox
  6. 5:36MiniTest Overview
  7. 7:11Standard Library
  8. 8:12The Basics
  9. 8:35MiniTest Spec
  10. 11:11Pending Tests
  11. 11:57Expectations
  12. 12:39MiniTest Unit
  13. 13:50Scribe Blocks
  14. 14:14Assertions
  15. 14:56Mocking
  16. 18:01Mocha
  17. 18:17Custom assertions
  18. 20:58Rails
  19. 28:53RSpec
  20. 29:03Conclusion
  21. 29:14Speed
  22. 30:14Ruby
~/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.