The latest AppNexus Engineering@Scale talk comes to you from Portland, where AppNexus just purchased 10,000 square feet of downtown office space. AppNexus has been aggressively growing its Portland presence and can’t wait to move in to their downtown office.
In this Portlandia installment of AppNexus Engineering@Scale, two AppNexians share the stage. First up: Travis Johnson, Director of Engineering, shares insight into how the AppNexus User Interface (UI) team is using Grunt for better testing. Then Nathan Wall, one of the UI team’s software engineers, introduces the concept of high integrity coding. Caution: it might blow your mind.
Building a test-driven culture with Grunt (Travis Johnson)
About six months ago, AppNexus began to focus on creating a test-driven culture in the UI team. Drawing on advice from Daniel “dB” Doubrovkine, the team knew they needed creative solutions that would let them test early, often, and fast.
(Update: The UI team has recently stopped using grunt-regarde and has switched grunt-contrib-watch.)
- Don’t worry about it and assume it is a safe environment.
- Lock the environment.
- Design scripts that run predictably, reliably and securely given a consistent initialization environment.
- Leave the environment in a state that functions observably identically to the way it did when we got access to it.