Skip to content

egurnov/ginkgo-talk-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ginkgo & Gomega Talk 2020

About the author

I'm Alexander Egurnov, Senior Software Engineer at PubNative. I've been coding in Go since March 2016.

About this repo

This is an introduction and a live demo of my favorite features of Ginkgo testing framework and it's accompanying assertion library Gomega.

Talking points

  • Gomega
    • Standalone
    • Expect and Ω notations
    • Annotations
    • Matchers
      • Error checking
      • Panic
      • Equivalence
      • Numbers
      • Other types
      • Collections
    • Async assertions
    • Combining matchers
    • Transformations
    • Custom matchers
  • Ginkgo
    • Connecting to testing package
    • Connecting Gomega
    • Context/Describe/When, It/Specify, By
    • Focus, Skip, Pending
    • Setup and teardown
    • Async functions
    • Measurements
    • CLI
      • ginkgo bootstrap and ginkgo generate
      • go test interoperability
      • GinkgoWriter and -v option
      • ginkgo -p
      • ginkgo -r
      • -skipMeasurements
      • -flakeAttempts=ATTEMPTS
      • -untilItFails
      • ginkgo watch -notify -r -skipMeasurements
      • ginkgo blur/unfocus
  • General advice
    • Keep tests readable

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published