go-snaps

Test matcher library

A testing library for Go that allows developers to create reusable snapshots of test data

Jest-like snapshot testing in Go 📸

GitHub

173 stars
3 watching
5 forks
Language: Go
last commit: 18 days ago
gogo-testingjestmatchjsonmatchsnapshotsnapshotsnapshot-testingtestingunit-testing

Related projects:

Repository Description Stars
bradleyjkemp/cupaloy Automatically checks test output for changes and fails tests if output differs from previously recorded snapshots 308
maxatome/go-testdeep Tool for comparing and testing Go code 436
gobwas/glob A Go library for efficient string matching using compile-time glob patterns. 961
arikama/go-mysql-test-container Tools for running MySQL tests in a containerized environment 3
go-restit/restit A Go library to help write integration tests for RESTful APIs 55
go-gremlins/gremlins A tool to verify test quality by randomly introducing changes into the code tested and determining if those changes are caught by tests 198
szkiba/xk6-g0 An experiment to support writing k6 tests in Go using the yaegi interpreter. 26
mfridman/tparse Analyzes and summarizes Go test output for developers. 1,025
kinbiko/jsonassert A library that provides an easy-to-use assertion system for verifying the semantic equality of JSON data 127
maargenton/go-testpredicate A comprehensive assertions library with diagnostic output for unit testing in Go. 5
gotestyourself/gotest.tools Tools to augment Go testing and support common testing patterns 518
vladopajic/go-test-coverage Tools to report on test coverage issues and ensure higher code quality 87
go-testfixtures/testfixtures A tool for writing functional tests against real databases in Go applications. 1,116
xhd2015/xgo An all-in-one testing library for Go that provides utilities for mocking, tracing, and testing 368
alexpantyukhin/go-pattern-match An implementation of pattern matching for Go. 244