Snapshot testing in Golang

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • Testify

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

    The community has built libraries on top of the standard testing package to provide some of the functionality like testify does.

  • go-snaps

    Jest-like snapshot testing in Golang 📸

    In the repository, you can find examples and more information in README.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • cupaloy

    Simple Go snapshot testing

    Go Snaps used Jest Snapshoting and Cupaloy as inspiration.

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