5 April 2023

smarty/gunit vs. mdwhatcott/testing/should

Unsurprisingly similar on the surface...

Introduction

I've written several test libraries for the Go programming language. My best 2 so far are quite similar, but differ as follows.

TL;DR

You should use the new one. It's more flexible and facilitates more scenarios (with a lot less code).

Similarities

Virtues of github.com/smartystreets/gunit

Limitations of github.com/smartystreets/gunit

Virtues of github.com/mdwhatcott/testing/should

Limitations of github.com/mdwhatcott/testing/should