allure-go icon indicating copy to clipboard operation
allure-go copied to clipboard

Request to add EqualExportedValues to the list of asserts

Open migounov opened this issue 11 months ago • 1 comments

This assert from testify comes in handy when one wants to compare only public fields of two structs, because private fields might differ. https://pkg.go.dev/github.com/stretchr/testify/assert#EqualExportedValues

Please add it to the list of allure-go asserts.

migounov avatar Jan 31 '25 16:01 migounov

Hello! Thank you for the idea.

Agree, it would be useful. However, this library uses pretty much ancient go version (1.17) and EqualExportedValues was introduced in testify 1.8.3 which requires go 1.20

We do plan to update the go version of allure-go soon. Once it's done, we will add EqualExportedValues

metafates avatar May 14 '25 08:05 metafates