Skip to content

totherme/quango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QUANGO: QUickcheck And giNkGO

A tiny gomega matcher for using quickcheck with ginkgo. Lets you write property-based tests like this:

Describe("maths", func() {
  It("should work", func() {
    property := func(x, y float64) bool {
      return math.Abs(x)+math.Abs(y) >= math.Abs(x)
    }
    Expect(property).To(quango.Hold())
  })
})

About

A little gomega matcher for using quickcheck with ginkgo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages