Overview
Explore the intricacies of effective test writing in software development through this ACCU Online Meetup talk. Delve into the common pitfalls of taking shortcuts in test creation and learn strategies to avoid producing Weak Test Functions (WTFs). Discover the importance of proper test structure, organization, naming, and scope in supporting production code and the development process. Examine why skimping on these elements leads to long-term challenges and uncover the truth behind testing folklore. Gain insights from speaker Chris Oldwood's experiences and learn how to create tests that truly support your codebase. Topics covered include designing for testability, mutation testing, behavior-driven development, and creating executable specifications.
Syllabus
Intro
Tests That Fit in Your Head
A Watershed Moment
WTFs (Weak Test Functions)
Common Smells of WTFS
Essential Redundancy
Design for Testability
The Testing Polygon
First Class Citizens
Mutation Testing
Behaviours, Not Methods
Executable Specifications
Keeping the Faith
Break The Rules
Describe Scenarios
One Behaviour Per Test
Taught by
ACCU Conference