Skip to content

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

License

Notifications You must be signed in to change notification settings

pyroscope-io/goldga

 
 

Repository files navigation

Goldga

GoDoc GitHub release CircleCI codecov

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

Installation

go get github.com/pyroscope-io/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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 94.7%
  • Shell 5.3%