Tutorial D

Test your Code as a Crime Scene

Adam Tornhill

09:00-17:00 Tuesday 11th June

Software development might well be the most challenging task humanity ever attempted. As systems scale up, they also become increasingly complex and difficult to reason with. With million lines of code and multiple development teams, no one has a holistic overview. This makes it challenging to ensure we identify risks and test the right thing with the appropriate rigour. Ultimately, we need better strategies. And where do you find such strategies, if not within the field of offender profiling?

This tutorial offers a unique blend of criminal psychology and code analysis to help us make better decisions. By analyzing easily accessible version-control data, you will learn to predict bugs, discover unexpected code changes, and identify risks in the contribution patterns of the development teams. Since communication is key, you will also learn to visualize the information, so that you can make the case for relevant and quantifiable improvements. Should you use automation and test scripts, then you’ll also learn how the same techniques help you write maintainable test code.

Every example originates from real-world codebases, such as Android and the Linux Kernel, offering authentic problem-solving experiences. Prepare to revolutionize your perspective on software — join in for a transformative session!

Audience: The tutorial is for testers of all experience levels, both technical and non-technical. The tutorial doesn’t assume any particular platform or programming language.

Style: Hands-on: bring your own laptop. We mix instructor presentations with practical exercises. The tutorial is based on the books ‘Your Code As A Crime Scene’, and ‘Software Design X-Rays’ by the instructor. During the tutorial, you get access to the CodeScene tool, which we use to automate the analyses during the practical exercises.