Skip to content

Ottawa Python: Agile Testing

Photo of Ian Ward
Hosted By
Ian W.
Ottawa Python: Agile Testing

Details

Every line should have test coverage, but when projects get sophisticated tests can grow out of control, difficult to write, harder to understand, and damn near impossible to maintain. Learn tricks to achieve high coverage rates with simple, elegant tests that are easy to write, review, and evolve.

Talk Description

The talk will present some of the pitfalls of unit testing, from bloated shared fixtures to monkey patching, characterisation testing, and brittle/broken coverage for error handling.

If you suffer from these problems, unit-testing becomes a grind, certain code seems un-testable, and covered code becomes painful to evolve. You may even find that your tests aren’t even covering what you think they are.

With examples from Shopify’s data platform, Erik will show strategies to mitigate these problems and write tests that are crystal clear, robust, and sustainable.

Bio

Erik Wright is a lead Software developer for Shopify’s data modelling platforms. Prior to joining Shopify he was a member of the Chrome team at Google. He's honed his unit testing chops over 19 years since an enlightened lead early in his career introduced him to the world of Extreme Programming.

Photo of Ottawa Python Authors Group group
Ottawa Python Authors Group
See more events
Cody's Cafe, Shopify
150 Elgin St, 6th Floor · Ottawa, ON