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








