aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Smith <yasumo...@gmail.com>
Subject Stop Mocking, Start Testing
Date Wed, 14 Jan 2015 22:25:17 GMT
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message