Overview
Explore effective test design strategies in this EuroPython 2014 conference talk by Julian Berman. Learn how to create shallow, transparent layers for your tests to improve failure analysis, test clarity, and diagnostic speed. Discover the life span of a test, from immediate failure diagnosis to long-term bug tracking. Examine techniques for building meaningful higher-order assertions and organizing tests using mixins. Address common issues with unittest and explore alternative approaches like testtools' matchers and py.test's assert magic. Gain insights into structuring your test code for better maintainability and association with the main codebase.
Syllabus
Introduction
ThreeStep Process
String Comparison
Hierarchy of assertions
Mixins
Call to Action
Questions
Taught by
EuroPython Conference