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

Add comparison to github.com/go-test/deep

Open derekperkins opened this issue 3 years ago • 3 comments

It would be helpful to have a comparison table or something in the readme to help people understand the difference between this package and https://github.com/go-test/deep. That has more stars and shows up better in search, while this library seems much more active.

derekperkins avatar Apr 09 '21 16:04 derekperkins

You are completely right!

We should even compare against testify, go-cmp and probably some others testing frameworks as go-testdeep outperforms most of them :)

But as other writings, it takes time to do...

Perhaps do you already have an idea of how this comparison should be displayed?

Probably a table, for each line the feature, for each column the testing frameworks, and ✓ or ✗ if the framework implements or not the feature.

maxatome avatar Apr 09 '21 19:04 maxatome

The extra comparisons are also great. Tables are nice, but can take a long time to compile. To make it simpler up front, I think just a quick paragraph would help a lot (suggestion below). Over time, people can continue to flesh it out and maybe help create a comparison table.

Compared To:

go-test/deep

small paragraph

go-cmp

maybe some bullet points

...

derekperkins avatar Apr 09 '21 19:04 derekperkins

Until a more detailed report, the presentation has been updated and 2 slides now talk about "differences":

  • https://go-testdeep.zetta.rocks/prez/#6
  • https://go-testdeep.zetta.rocks/prez/#7

maxatome avatar Jan 30 '22 22:01 maxatome