[ trixie ]
[ sid ]
[ 源代码: python-inline-snapshot ]
软件包:python3-inline-snapshot(0.18.1-1)
python3-inline-snapshot 的相关链接
Debian 的资源:
下载源码包 python-inline-snapshot:
- [python-inline-snapshot_0.18.1-1.dsc]
- [python-inline-snapshot_0.18.1.orig.tar.gz]
- [python-inline-snapshot_0.18.1-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [github.com]
相似软件包:
Create and update inline snapshots in your Python code (Python 3)
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.
其他与 python3-inline-snapshot 有关的软件包
|
|
|
|
-
- dep: black
- uncompromising Python code formatter (Python 3)
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-asttokens
- annotate Python asbtract syntax trees with code references (Python 3)
-
- dep: python3-click
- Command-Line Interface Creation Kit - Python 3.x
-
- dep: python3-executing
- Inspect Python AST node being executed
-
- dep: python3-rich
- render rich text, tables, progress bars, syntax highlighting, markdown and more
-
- dep: python3-tomli
- lil' TOML parser for Python
- 或者 python3-supported-min (>= 3.11)
- 软件包暂时不可用
-
- dep: python3-typing-extensions
- Backported and Experimental Type Hints for Python
-
- sug: python-inline-snapshot-doc
- Create and update inline snapshots in your Python code (Documentation)