tubeshowcase●1,658,115 videos♡ My collection 0
← Learn to Code

Learn to Code31:37

Talk: Igor T. Ghisi - Write Less and Test More with Data Regression Testing

PyCon US ↗

From the creator

Presented by: Igor T. Ghisi As data structures of a project increases in size and complexity, it becomes harder and harder to preserve test completeness. Testing objects with dozens of attributes and arrays with hundreds of values could turn into a laborious task. Often, programmers let these kind of data partially tested, especially if the required code coverage was already achieved. In this talk we’ll show how to increase test completeness for data structures by applying data regression testing. We’ll be presenting pytest-regressions, a pytest plugin that helps to test datasets and objects by automatically serializing expected data on disk and later checking test results against it. We’ll also show how pytest-regressions make it easier to inspect test data and debug failing tests. The talk will demonstrate examples of data regression being applied to numerical algorithms, web APIs, Flask views and SQLAlchemy models. Talk slides and resources: https://github.com/igortg/pycon2020-pytest-regressions

Published 2020-04-29 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code