Episode 004: Testing
Sam Phippen, Justin Searls, and Noel Rappin spend this episode talking about the value of test-driven development (TDD) as well as its cost. They discuss the kinds of problems that developers are likely to have after they learn TDD and attempt to apply it to a large application. Learn why Rails is both great and terrible for automated testing, and how testing can influence the structure of your code.
01:30 - Intermediate Level Problems in Testing
04:58 - The Value of Testing
15:15 - Isolated Unit Tests
17:52 - Structuring Applications
23:13 - Test-Driven Development (TDD)
33:22 - TDD in a Smalltalk Environment
35:00 - Isolating Tests in a Rails Environment
36:54 - Test Tools
Tips & Resources:
Find some little problem and instead of implementing it in a Rails app, type bundle.gem and then make up a name and then practice and invent your own way of organizing code and tests so you can break things down.
As you’re trying to test stuff, really try to focus on going back and forth between the tests and the code more rapidly than you’re probably doing so right now.