My team at Opower has gone through several evolutions of our testing philosophy. Although I now feel confident that we are now testing the right set of contracts, we’ve made some mistakes along the way. I’d like to share those lessons learned with you. It’s ok to duplicate config for tests.I used to write a lot of tests like this: This is three files represented in one gist, for clarity. The asser