mercredi 29 juillet 2015

Gary Bernhardt on testing

I like Gary Bernhardt’s talks. The first time have seen something from him was a kata on katacast and I’ve been so impressed by his speed in Vim!

Here is a talk from him where he nails quite everything I could say about testing.

  • difference between system / integration tests and unit tests,
  • objective in ratios between both,
  • why speed matters,
  • decoupling business logic from framework for testability,
  • when unit tests take time to initialize, it’s a need to improve the design,