•  

Unit testing concurrent code

A session at Devoxx France 2015

Thursday 9th April, 2015

12:10pm to 12:30pm (PMT)

While software engineers can disagree on almost any concept of programming best-practice, the necessity of writing unit tests remains undisputed. With the advent of concurrent applications and the ongoing deprecation of the one-thread-per-request model, unit tests do however miss an increasing fraction of programming errors such as race conditions or dead-locking code. But is it even possible to write tests that revise such errors? In the end, a good unit test is characterized by a determined execution path what effectively prevents the use of concurrency within a single test. However, there are tools and programming principles that allow for unit tests of concurrent code. This talk reviews typical mistakes made when concurrent code is tested and introduces Thread Weaver, a test suite for writing valid unit tests that uncover concurrency-related programming errors.

About the speaker

This person is speaking at this event.
Rafael Winterhalter

software consultant who likes static types

Coverage of this session

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

Devoxx France 2015

France France, Paris

8th10th April 2015

Tell your friends!

When

Time 12:10pm12:30pm PMT

Date Thu 9th April 2015

Short URL

lanyrd.com/sdhxpg

View the schedule

Share

See something wrong?

Report an issue with this session