Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> golang >> golang-github-bradleyjkemp-cupaloy-dev
aramo  ]

软件包: 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 kB51 kB [文件列表]