python3-inline-snapshot

Create and update inline snapshots in your Python code (Python 3)

Description

inline-snapshot can be used for different things:

 * Golden master/approval/snapshot testing. The idea is that you have a
   function with a currently unknown result and you want to write a tests,
   which ensures that the result does not change during refactoring.
 * Compare things which are complex like lists with lot of numbers or complex
   data structures.
 * Things which might change during the development like error messages.

inline-snapshot automates the process of recording, storing and updating the value you want to compare with. The value is converted with repr() and stored in the source file as argument of the snapshot() function.

This package contains the Python 3 version.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/15r10nk/inline-snapshot/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-inline-snapshot