Supercharge Your Testing with inline-snapshot

Frank Hoffmann

Wednesday 17:10 in Ferrum

This Talk gives you an introduction into inline-snapshot and how it can transform your testing strategy:

  • Foundations of Snapshot Testing: Start with an introduction to what snapshot testing is and why it's a game-changer for Python developers.
  • Basic Usage: Learn the core functionality of the snapshot() function. Understand how it captures and manages snapshots inline with your tests.

Advanced Techniques:

  • Dirty Equals: Explore how you can leverage dirty-equals within your snapshots for more flexible assertions, allowing for partial matching which is particularly useful for complex data structures.
  • Parametrized Tests: See how inline-snapshot can be applied to parametrized tests, ensuring each parameter set has its own snapshot.
  • Customizable: Learn to create your own test functions to test your specific problems.

Frank Hoffmann

I'm a software developer. My goal with my opensource work is to help other people to develop better software faster.