Skip to content
Sections
>> Trisquel >> Paquets >> aramo >> golang >> golang-github-bradleyjkemp-cupaloy-dev
aramo  ]
[ Paquet source : golang-github-bradleyjkemp-cupaloy  ]

Paquet : golang-github-bradleyjkemp-cupaloy-dev (2.7.0-1)

simple Go snapshot testing

This package takes a snapshot of the test output and compares it to a snapshot committed alongside the tests. If the values don't match then the test will be failed.

There's no need to manually manage snapshot files: just use the cupaloy.SnapshotT(t, value) function in the tests and cupaloy will automatically find the relevant snapshot file (based on the test name) and compare it with the given value.

Autres paquets associés à golang-github-bradleyjkemp-cupaloy-dev

  • dépendances
  • recommandations
  • suggestions

Télécharger golang-github-bradleyjkemp-cupaloy-dev

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 10,0 ko51 ko [liste des fichiers]