amatsuda/kaminari — pull request #172 by thierryhenrio (2011-10-21 23:32:59+00:00)
Title: feature : faster red/green

improve single test run speed
-----------------------------

before

~/src/ruby/kaminari [spork]$ time (for i in {1..5}; do rspec spec/models/array_spec.rb --format=p; done)
real	6m30.214s

after

~/src/ruby/kaminari [spork]$ time (for i in {1..5}; do rspec spec/models/array_spec.rb --format=p --drb; done)
real	0m44.623s

continuous testing
------------------
spork and guard automation : usage

guard

caveats
-------
pattern of a source file will seldomly match a spec one

though, an updated source file will be taken in account