全部搜索项
bookworm-backports  ] [  trixie  ] [  sid  ]
[ 源代码: golang-github-maxatome-go-testdeep  ]

软件包:golang-github-maxatome-go-testdeep-dev(1.14.0-1)

golang-github-maxatome-go-testdeep-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包 golang-github-maxatome-go-testdeep

维护小组:

外部的资源:

相似软件包:

Extremely flexible golang deep comparison

go-testdeep is historically a go rewrite and adaptation of wonderful Test::Deep perl.

In golang, comparing data structure is usually done using reflect.DeepEqual or using a package that uses this function behind the scene.

This function works very well, but it is not flexible. Both compared structures must match exactly and when a difference is returned, it is up to the caller to display it. Not easy when comparing big data structures.

The purpose of go-testdeep, via the td package and its helpers, is to do its best to introduce this missing flexibility using "operators", when the expected value (or one of its component) cannot be matched exactly, mixed with some useful comparison functions.

其他与 golang-github-maxatome-go-testdeep-dev 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 golang-github-maxatome-go-testdeep-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 220.0 kB1,844.0 kB [文件列表]