May 08, 2013 ACCU: Wednesday, May 8 - Ben Gertzfield, "Writing Testable Code in D" | ||||
---|---|---|---|---|
| ||||
When: Wednesday, May 8, 2013 Topic: Writing Testable Code in D Speaker: Ben Gertzfield Time: 6:30pm doors open 7:00pm meeting begins Where: Symantec VCAFE building 350 Ellis Street (near E. Middlefield Road) Mountain View, CA 94043 Map: <http://tinyurl.com/334rv5> Directions: VCAFE is accessible from the semicircular courtyard between Symantec buildings <http://tinyurl.com/2dccgc> Cost: Free More Info: <http://accu.org/index.php/accu_branches/accu_usa/> Modern large-scale software design often requires ever-growing team sizes. As team size scales up, so does the amount of churn (and number of bugs introduced) to a code base in a release. Unfortunately, the amount of manual developer or QA testing necessary to find those bugs scales quadratically (or worse) as N features are tested by hand in M configurations. The solution is to keep coders, not QA, responsible for maintaining the quality of their individual components, and to make it trivial and fast to run just the right tests that cover the code the coder changes. D comes pre-baked with lots of tools to make this easier, including a standard unit testing harness, but there'smuch more we can build on top of that to help write not only tests for code, but code that can be tested in an automated fashion. We'll discuss techniques and tools for designing large-scale testable code in D, including unit testing, mocks, fakes, inversion of control, and dependency injection. Ben Gertzfield is a mobile engineer at Facebook. He's designed and shipped testability and dependency injection frameworks for Objective-C and C++, and is a huge advocate for freeing engineers from the burdens of manual testing. ---- Upcoming ACCU talks ----- Wednesday, June 12 2013 Jeff Johnson and Austin Henderson Conceptual Models: Core to Good Design --------- The ACCU meets twice monthly. Meetings are always open to the public and are free of charge. To suggest topics and speakers please email Ali Cehreli via acehreli@yahoo.com |
Copyright © 1999-2021 by the D Language Foundation