ginkgo

A Modern Testing Framework for Go

MIT License

Stars
8.3K
Committers
204
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.20.2 Latest Release

Published by onsi 2 months ago

2.20.2

Require Go 1.22+

Maintenance

  • bump go to v1.22 [a671816]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.20.1

Published by onsi 2 months ago

2.20.1

Fixes

  • make BeSpecEvent duration matcher more forgiving [d6f9640]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.20.0

Published by onsi 3 months ago

2.20.0

Features

  • Add buildvcs flag [be5ab95]

Maintenance

  • Add update-deps to makefile [d303d14]
  • bump all dependencies [7a50221]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.19.1

Published by onsi 3 months ago

2.19.1

Fixes

  • update supported platforms for race conditions [63c8c30]
  • [build] Allow custom name for binaries. [ff41e27]

Maintenance

  • bump gomega [76f4e0c]
  • Bump rexml from 3.2.6 to 3.2.8 in /docs (#1417) [b69c00d]
  • Bump golang.org/x/sys from 0.20.0 to 0.21.0 (#1425) [f097741]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.19.0

Published by onsi 5 months ago

2.19.0

Features

Label Sets allow for more expressive and flexible label filtering.

ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.18.0

Published by onsi 5 months ago

2.18.0

Features

  • Add --slience-skips and --force-newlines [f010b65]
  • fail when no tests were run and --fail-on-empty was set [d80eebe]

Fixes

  • Fix table entry context edge case [42013d6]

Maintenance

  • Bump golang.org/x/tools from 0.20.0 to 0.21.0 (#1406) [fcf1fd7]
  • Bump github.com/onsi/gomega from 1.33.0 to 1.33.1 (#1399) [8bb14fd]
  • Bump golang.org/x/net from 0.24.0 to 0.25.0 (#1407) [04bfad7]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.17.3

Published by onsi 6 months ago

2.17.3

Fixes

ginkgo watch now ignores hidden files [bde6e00]

ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.17.2

Published by onsi 6 months ago

2.17.2

Fixes

  • fix: close files [32259c8]
  • fix github output log level for skipped specs [780e7a3]

Maintenance

  • Bump github.com/google/pprof [d91fe4e]
  • Bump github.com/go-task/slim-sprig to v3 [8cb662e]
  • Bump golang.org/x/net in /integration/_fixtures/version_mismatch_fixture (#1391) [3134422]
  • Bump github-pages from 230 to 231 in /docs (#1384) [eca81b4]
  • Bump golang.org/x/tools from 0.19.0 to 0.20.0 (#1383) [760def8]
  • Bump golang.org/x/net from 0.23.0 to 0.24.0 (#1381) [4ce33f4]
  • Fix test for gomega version bump [f2fcd97]
  • Bump github.com/onsi/gomega from 1.30.0 to 1.33.0 (#1390) [fd622d2]
  • Bump golang.org/x/tools from 0.17.0 to 0.19.0 (#1368) [5474a26]
  • Bump github-pages from 229 to 230 in /docs (#1359) [e6d1170]
  • Bump google.golang.org/protobuf from 1.28.0 to 1.33.0 (#1374) [7f447b2]
  • Bump golang.org/x/net from 0.20.0 to 0.23.0 (#1380) [f15239a]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.17.1

Published by onsi 7 months ago

2.17.1

Fixes

  • If the user sets --seed=0, make sure all parallel nodes get the same seed [af0330d]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.17.0

Published by onsi 7 months ago

2.17.0

Features

  • add --github-output for nicer output in github actions [e8a2056]

Maintenance

  • fix typo in core_dsl.go [977bc6f]
  • Fix typo in docs [e297e7b]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.16.0

Published by onsi 8 months ago

2.16.0

Features

  • add SpecContext to reporting nodes

Fixes

  • merge coverages instead of combining them (#1329) (#1340) [23f0cc5]
  • core_dsl: disable Getwd() with environment variable (#1357) [cd418b7]

Maintenance

  • docs/index.md: Typo [2cebe8d]
  • fix docs [06de431]
  • chore: test with Go 1.22 (#1352) [898cba9]
  • Bump golang.org/x/tools from 0.16.1 to 0.17.0 (#1336) [17ae120]
  • Bump golang.org/x/sys from 0.15.0 to 0.16.0 (#1327) [5a179ed]
  • Bump github.com/go-logr/logr from 1.3.0 to 1.4.1 (#1321) [a1e6b69]
  • Bump github-pages and jekyll-feed in /docs (#1351) [d52951d]
  • Fix docs for handling failures in goroutines (#1339) [4471b2e]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.15.0

Published by onsi 9 months ago

2.15.0

Features

  • JUnit reports now interpret Label(owner:X) and set owner to X. [8f3bd70]
  • include cancellation reason when cancelling spec context [96e915c]

Fixes

  • emit output of failed go tool cover invocation so users can try to debug things for themselves [c245d09]
  • fix outline when using nodot in ginkgo v2 [dca77c8]
  • Document areas where GinkgoT() behaves differently from testing.T [dbaf18f]
  • bugfix(docs): use Unsetenv instead of Clearenv (#1337) [6f67a14]

Maintenance

  • Bump to go 1.20 [4fcd0b3]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.14.0

Published by onsi 10 months ago

2.14.0

Features

You can now use GinkgoTB() when you need an instance of testing.TB to pass to a library.

Prior to this release table testing only supported generating individual Its for each test entry. DescribeTableSubtree extends table testing support to entire testing subtrees - under the hood DescrieTableSubtree generates a new container for each entry and invokes your function to fill our the container. See the docs to learn more.

  • Introduce DescribeTableSubtree [65ec56d]
  • add GinkgoTB() to docs [4a2c832]
  • Add GinkgoTB() function (#1333) [92b6744]

Fixes

  • Fix typo in internal/suite.go (#1332) [beb9507]
  • Fix typo in docs/index.md (#1319) [4ac3a13]
  • allow wasm to compile with ginkgo present (#1311) [b2e5bc5]

Maintenance

  • Bump golang.org/x/tools from 0.16.0 to 0.16.1 (#1316) [465a8ec]
  • Bump actions/setup-go from 4 to 5 (#1313) [eab0e40]
  • Bump github/codeql-action from 2 to 3 (#1317) [fbf9724]
  • Bump golang.org/x/crypto (#1318) [3ee80ee]
  • Bump golang.org/x/tools from 0.14.0 to 0.16.0 (#1306) [123e1d5]
  • Bump github.com/onsi/gomega from 1.29.0 to 1.30.0 (#1297) [558f6e0]
  • Bump golang.org/x/net from 0.17.0 to 0.19.0 (#1307) [84ff7f3]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.13.2

Published by onsi 11 months ago

2.13.2

Fixes

  • Fix file handler leak (#1309) [e2e81c8]
  • Avoid allocations with (*regexp.Regexp).MatchString (#1302) [3b2a2a7]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.13.1

Published by onsi 12 months ago

2.13.1

Fixes

  • 1296 fix(precompiled test guite): exec bit check omitted on Windows (#1301) [26eea01]

Maintenance

  • Bump github.com/go-logr/logr from 1.2.4 to 1.3.0 (#1291) [7161a9d]
  • Bump golang.org/x/sys from 0.13.0 to 0.14.0 (#1295) [7fc7b10]
  • Bump golang.org/x/tools from 0.12.0 to 0.14.0 (#1282) [74bbd65]
  • Bump github.com/onsi/gomega from 1.27.10 to 1.29.0 (#1290) [9373633]
  • Bump golang.org/x/net in /integration/_fixtures/version_mismatch_fixture (#1286) [6e3cf65]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.13.0

Published by onsi about 1 year ago

2.13.0

Features

Add PreviewSpect() to enable programmatic preview access to the suite report (fixes #1225)

ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.12.1

Published by onsi about 1 year ago

2.12.1

Fixes

  • Print logr prefix if it exists (#1275) [90d4846]

Maintenance

  • Bump actions/checkout from 3 to 4 (#1271) [555f543]
  • Bump golang.org/x/sys from 0.11.0 to 0.12.0 (#1270) [d867b7d]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.12.0

Published by onsi about 1 year ago

2.12.0

Features

  • feat: allow MustPassRepeatedly decorator to be set at suite level (#1266) [05de518]

Fixes

  • fix-errors-in-readme (#1244) [27c2f5d]

Maintenance

Various chores/dependency bumps.

ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.11.0

Published by onsi over 1 year ago

2.11.0

In prior versions of Ginkgo specs the CLI filter flags (e.g. --focus, --label-filter) would override any programmatic focus. This behavior has proved surprising and confusing in at least the following ways:

  • users cannot combine programmatic filters and CLI filters to more efficiently select subsets of tests
  • CLI filters can override programmatic focus on CI systems resulting in an exit code of 0 despite the presence of (incorrectly!) committed focused specs.

Going forward Ginkgo will AND all programmatic and CLI filters. Moreover, the presence of any programmatic focused tests will always result in a non-zero exit code.

This change is technically a change in Ginkgo's external contract and may require some users to make changes to successfully adopt. Specifically: it's possible some users were intentionally using CLI filters to override programmatic focus. If this is you please open an issue so we can explore solutions to the underlying problem you are trying to solve.

Fixes

  • Programmatic focus is no longer overwrriten by CLI filters [d6bba86]

Maintenance

  • Bump github.com/onsi/gomega from 1.27.7 to 1.27.8 (#1218) [4a70a38]
  • Bump golang.org/x/sys from 0.8.0 to 0.9.0 (#1219) [97eda4d]
ginkgo - https://github.com/onsi/ginkgo/releases/tag/v2.10.0

Published by onsi over 1 year ago

2.10.0

Features

  • feat(ginkgo/generators): add --tags flag (#1216) [a782a77]
    adds a new --tags flag to ginkgo generate

Fixes

  • Fix broken link of MIGRATING_TO_V2.md (#1217) [548d78e]

Maintenance

  • Bump golang.org/x/tools from 0.9.1 to 0.9.3 (#1215) [2b76a5e]
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