Howdy all,

I wanted to share a helpful tech talk from two engineers on the Google Code 
team <https://www.youtube.com/watch?v=Xu5EhKVZdV8&app=desktop>. It’s a few 
years old, but still feels relevant.

A few notes I took from it:

1) Mock as little as possible (thanks wfarner, ksweeney, and everyone else for 
helping enforce this!)
2) Don’t mock the message objects that get passed (similar to us avoiding mocks 
for our thrift objects)
3) Although full test-suites are helpful, they fail rather regularly and don’t 
give fine-grained resolution for finding issues
4) Testing is a process, and as you go along, take the time to make systematic 
improvements to the testing infrastructure

Joe

Reply via email to