Skip to content
Sections
>> Trisquel >> Пакеты >> aramo >> golang >> golang-github-bradleyjkemp-cupaloy-dev
aramo  ]
[ Источник: golang-github-bradleyjkemp-cupaloy  ]

Пакет: 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.

Другие пакеты, относящиеся к golang-github-bradleyjkemp-cupaloy-dev

  • зависимости
  • рекомендации
  • предложения

Загрузка golang-github-bradleyjkemp-cupaloy-dev

Загрузить для всех доступных архитектур
Архитектура Размер пакета В установленном виде Файлы
all 10,0 Кб51 Кб [список файлов]