Ginkgo for unit testing?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ginkgo

    A Modern Testing Framework for Go

  • To settle an argument amongst my coworkers, I started a Twitter poll on using Gingko for golang unit testing. Some like the framework because it makes tests clean. Others hate it with a firey passion.

  • sts

    sts: struct to struct transformers generator.

  • Ginkgo is really great when you need to test some complex structures/maps/slices against golden files. Ginkgo has good helpers for such objects. For example, how I’d looks like https://github.com/powerflyco/sts/blob/master/parser_test.go

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts