5 April 2023

smarty/gunit vs. mdw-go/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/mdw-go/testing/should

Limitations of github.com/mdw-go/testing/should