všetky možnosti
bookworm-backports  ] [  trixie  ] [  sid  ]
[ Zdroj: golang-github-maxatome-go-testdeep  ]

Balík: golang-github-maxatome-go-testdeep-dev (1.14.0-1)

Odkazy pre golang-github-maxatome-go-testdeep-dev

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík golang-github-maxatome-go-testdeep:

Správcovia:

Externé zdroje:

Podobné balíky:

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.

Ostatné balíky súvisiace s balíkom golang-github-maxatome-go-testdeep-dev

  • závisí
  • odporúča
  • navrhuje
  • vylepšuje

Stiahnuť golang-github-maxatome-go-testdeep-dev

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 220.0 kB1,844.0 kB [zoznam súborov]