BSD Ports

devel/py-inline-snapshot 0.35.4 FreeBSD

Create and update inline snapshots in your Python code

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
c230263625
License
MIT
Categories
devel, python
Package size
207.6 KiB, 1052.2 KiB installed

Description

Golden master/snapshot/approval testing library which puts the values right into your source code.

Key Features:

* Intuitive Semantics: snapshot(x) mirrors x for easy understanding. * Versatile Comparison Support: Equipped with x == snapshot(...), x <= snapshot(...), x in snapshot(...), and snapshot(...)[key]. * Enhanced Control Flags: Utilize various flags for precise control of which snapshots you want to change. * Preserved Black Formatting: Retains formatting consistency with Black formatting. * External File Storage: Store snapshots externally using outsource(data). * Seamless Pytest Integration: Integrated seamlessly with pytest for effortless testing. * Customizable: code generation can be customized with @customize_repr * Nested Snapshot Support: snapshots can contain other snapshots * Fuzzy Matching: Incorporate dirty-equals for flexible comparisons within snapshots. * Dynamic Snapshot Content: snapshots can contain non-constant values * Comprehensive Documentation: Access detailed documentation for complete guidance.

In the other systems

SystemPortVersion
FreeBSDdevel/py-inline-snapshot0.35.4
OpenBSDdevel/py-inline-snapshot0.35.3
NetBSDdevel/py-inline-snapshot0.35.4
DragonFlydevel/py-inline-snapshot0.20.8
MidnightBSDdevel/py-inline-snapshot0.34.1

Install

Binary package:

pkg install py312-inline-snapshot

From the ports tree:

cd /usr/ports/devel/py-inline-snapshot/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-inline-snapshot>0:devel/py-inline-snapshot

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.35.40.35.4-0.20.80.35.4
FreeBSD:14:quarterly0.35.40.35.4n/a0.20.80.35.4
FreeBSD:15:latest0.35.40.35.4n/a0.20.80.20.8
FreeBSD:15:quarterly0.35.40.35.4n/an/an/a
FreeBSD:16:latest0.35.40.35.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 5

Test 8

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 30

No port depends on this one.

Configuration

Options name: devel_inline-snapshot

OptionDefaultDescription
BLACKonFormat generated code with Black
DIRTY-EQUALSon
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
inline_snapshot-0.35.4.tar.gz2.537089e+0682432a58b7ea77a172515f5024cd26fdea8dc0f873c7a4251e4e0471a914db14
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
c230263625 Kai Knoblich devel/py-inline-snapshot: Update to 0.35.4
Changelog since 0.34.1: https://github.com/15r10nk/inline-snapshot/blob/0.35.4/CHANGELOG.md