•  

Writing Testable Code in D

A session at DConf 2013

Wednesday 1st May, 2013

1:30pm to 2:30pm (PST)

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.

Benefits: Learn how to write unit tests in D, and how to structure D code so it can be effectively unit tested.

About the speaker

This person is speaking at this event.
Ben Gertzfield

Coder on Facebook Messenger bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 1:30pm2:30pm PST

Date Wed 1st May 2013

Short URL

lanyrd.com/schqht

Official event site

dconf.org

View the schedule

Share

See something wrong?

Report an issue with this session