Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 937 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 937 Bytes

Goldga

GoDoc GitHub release CircleCI codecov

A golden file testing (snapshot testing) library for gomega.

Installation

go get github.com/tommy351/goldga

Usage

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.