~/talk

Next Level Virtual Machine Maneuver!

Talkat RubyConf 2011 · 2011-09-29..10-01· [ruby, serverless]
slides:none on file

Shows how Vagrant and Ruby test tooling get real integration coverage: author builds four mini-test extensions (mini_test_mark, mini_test_parallel, mini_test_speed), uses Vagrant to run OS-specific integration tests (about 50 integration tests that took ~4 hours), and moves slow suites to CI while keeping a fast sanity subset before each commit. Introduces test marking, function-arg style isolation to enable cheap parallel runs, and timed speed tests to track regressions against targets (example: 30 ms API latency).

AI-written summary · about

  1. 0:00Intro
  2. 0:17Next Level
  3. 1:05Mitchell Hashimoto
  4. 1:372010: Real World Testing
  5. 3:01Why Test?
  6. 3:29Stability.
  7. 3:48Performance.
  8. 4:08Test Bug Fixes.
  9. 4:42Assert Value
  10. 4:55Code is worthless.
  11. 5:16Business value is $$$.
  12. 5:39Information Theory
  13. 7:25Common sense?
  14. 8:23Must Test Properly
  15. 11:00Qualification: Vagrant
  16. 11:44Hurdles: Vagrant
  17. 15:14Black Box
  18. 15:46Test against real external dependencies
  19. 16:26Test platform-specific edge cases
  20. 17:10Big bang for your buck.
  21. 18:51Real Example
  22. 20:41Your Test Suite Will Be Slow
  23. 21:32Fast Sanity Tests
  24. 22:34Full Test Suite on CI
  25. 24:03Caveat: Targetted Tests
  26. 24:42Marks
  27. 24:52Test Annotations
  28. 25:06Python Example
  29. 25:34Python Run Example
  30. 28:43Ruby - Example
  31. 30:09Current Test
  32. 31:28Shared State is Bad
  33. 31:52Test-level isolation
  34. 35:15Parallelize!
  35. 38:04Integration Tests
  36. 38:17Fast Tests vs. Slow Tests
  37. 38:41Parallelization / Test Isolation
  38. 38:55Performance Tests
~/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.