Skip to content

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

License

Notifications You must be signed in to change notification settings

tommy351/goldga

Folders and files

NameName
Last commit message
Last commit date
Feb 25, 2022
Feb 25, 2022
Feb 25, 2022
Jul 19, 2021
Feb 25, 2022
Jul 20, 2021
Feb 1, 2020
Feb 25, 2022
Jul 20, 2021
Feb 25, 2022
Feb 25, 2022
Feb 25, 2022
Feb 25, 2022
Sep 23, 2021
Feb 25, 2022
Nov 1, 2024
Feb 25, 2022
Feb 25, 2022
Jul 20, 2021
Feb 25, 2022
Feb 2, 2020
Feb 25, 2022

Repository files navigation

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.