Adding Tests to Legacy Rails Apps
Testing == Debugging
Don't do it all at once
Get rake working!
One step at a time
find a bug - write a test (모든걸 만들려고 하지 말고)
refactor a method write a test (a little bit better before)
Treat each method as box
one thing at a time
build test from log
rcov
heckle
autotest
CIA
ar_fixtures
use mocks
fixture senarios
zentest
focus on the bug
Heckle
by Kevin Clark
S-Expressions
ParseTree, ruby2ruby
mutate nodes
1.4.0
focused mode
specify mutations
Measurement Tool
not a Silver Bullet
History
Last edited on 05/19/2007 06:35 by deepblue
Comments (0)