A golden file testing (snapshot testing) library for gomega.
go get github.com/tommy351/goldga
import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/tommy351/goldga"
)
Describe("Example", func() {
It("works", func() {
Expect("foobar").To(goldga.Match())
})
})
See examples folder for more examples.