I don't understand popularity of a table driven tests approach

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
  • Testify

    A toolkit with common assertions and mocks that plays nicely with the standard library

  • Golang provide basic building blocks, which are sufficient to run tests. You can use third party libraries like https://github.com/stretchr/testify , but they are not in a standard for good reason: they heavily use reflections, which is not an idiomatic approach. And thanks to that you can swap them as you want

  • go-strftime

    strftime/strptime for Go

  • Yeah. Try getting 100% code and branch coverage in something like [this](https://github.com/ncruces/go-strftime/blob/main/strftime_test.go] without tables.

  • 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