ginkgo

A Modern Testing Framework for Go

MIT License

Stars
8.3K
Committers
204
ginkgo - Ginkgo 1.3.0

Published by onsi over 7 years ago

Improvements:

  • Significantly improved parallel test distribution. Now instead of pre-sharding test cases across workers (which can result in idle workers and poor test performance) Ginkgo uses a shared queue to keep all workers busy until all tests are complete. This improves test-time performance and consistency.
  • Skip(message) can be used to skip the current test.
  • Added extensions/table - a Ginkgo DSL for Table Driven Tests
  • Add GinkgoRandomSeed() - shorthand for config.GinkgoConfig.RandomSeed
  • Support for retrying flaky tests with --flakeAttempts
  • ginkgo ./... now recurses as you'd expect
  • Added Specify a synonym for It
  • Support colorise on Windows
  • Broader support for various go compilation flags in the ginkgo CLI

Bug Fixes:

  • Ginkgo tests now fail when you panic(nil) (#167)
Package Rankings
Top 7.46% on Alpine-v3.15
Top 8.0% on Alpine-v3.17
Top 0.42% on Proxy.golang.org
Top 7.88% on Alpine-v3.16
Top 1.27% on Alpine-v3.18
Top 6.45% on Alpine-v3.14
Top 5.94% on Alpine-v3.13
Top 5.21% on Alpine-edge
Badges
Extracted from project README
test