autogold v2.0.0 - automatically update your Go tests

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • autogold

    Automatically update your Go tests

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • valast

    Convert Go values to their AST

  • Passing any value your test got - autogold will format that value in Go syntax and write a testdata/.golden file with what the value was. If the contents on disk are different than what your test produces, the test will fail and you'll get a nice (now colored) diff explaining the difference. If you like the change, you can run go test ./... -update and it'll automatically update the .golden files on disk to match what your test actually produced.

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

  • autogold - automatically update your Go tests

    1 project | /r/golang | 30 Nov 2022
  • It's 2021: you shouldn't have to update Go tests manually (announcing autogold)

    3 projects | /r/golang | 3 Jan 2021
  • Montrez patte blanche : tuez des mutants !

    8 projects | dev.to | 16 May 2024
  • I Write Tests in Go

    1 project | news.ycombinator.com | 10 Apr 2024
  • [Go, Book Review] Learn Go with Tests by Chris James

    1 project | dev.to | 23 Mar 2024