Skip to content

Releases: onsi/ginkgo

v2.11.0

16 Jun 17:12
Compare
Choose a tag to compare

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]

v2.10.0

07 Jun 04:12
Compare
Choose a tag to compare

2.10.0

Features

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

Fixes

Maintenance

  • Bump golang.org/x/tools from 0.9.1 to 0.9.3 (#1215) [2b76a5e]

v2.9.7

31 May 03:37
Compare
Choose a tag to compare

2.9.7

Fixes

  • fix race when multiple defercleanups are called in goroutines [07fc3a0]

v2.9.6

31 May 01:40
Compare
Choose a tag to compare

2.9.6

Fixes

  • fix: create parent directory before report files (#1212) [0ac65de]

Maintenance

  • Bump github.com/onsi/gomega from 1.27.6 to 1.27.7 (#1202) [3e39231]

v2.9.5

15 May 14:03
Compare
Choose a tag to compare

2.9.5

Fixes

  • ensure the correct deterministic sort order is produced when ordered specs are generated by a helper function [7fa0b6b]

Maintenance

v2.9.4

03 May 20:24
Compare
Choose a tag to compare

2.9.4

Fixes

  • fix hang with ginkgo -p (#1192) [15d4bdc] - this addresses a long standing issue related to Ginkgo hanging when a child process spawned by the test does not exit.

  • fix: fail fast may cause Serial spec or cleanup Node interrupted (#1178) [8dea88b] - prior to this there was a small gap in which specs on other processes might start even if one process has tried to abort the suite.

Maintenance

  • Document run order when multiple setup nodes are at the same nesting level [903be81]

v2.9.3

03 May 03:19
Compare
Choose a tag to compare

2.9.3

Features

  • Add RenderTimeline to GinkgoT() [c0c77b6]

Fixes

Maintenance

  • Bump commonmarker from 0.23.8 to 0.23.9 in /docs (#1183) [8b925ab]
  • Bump nokogiri from 1.14.1 to 1.14.3 in /docs (#1184) [e3795a4]
  • Bump golang.org/x/tools from 0.7.0 to 0.8.0 (#1182) [b453793]
  • Bump actions/setup-go from 3 to 4 (#1164) [73ed75b]
  • Bump github.com/onsi/gomega from 1.27.4 to 1.27.6 (#1173) [0a2bc64]
  • Bump github.com/go-logr/logr from 1.2.3 to 1.2.4 (#1174) [f41c557]
  • Bump golang.org/x/sys from 0.6.0 to 0.7.0 (#1179) [8e423e5]

v2.9.2

23 Mar 16:13
Compare
Choose a tag to compare

2.9.2

Maintenance

  • Bump github.com/go-task/slim-sprig (#1167) [3fcc5bf]
  • Bump github.com/onsi/gomega from 1.27.3 to 1.27.4 (#1163) [6143ffe]

v2.9.1

12 Mar 18:53
Compare
Choose a tag to compare

2.9.1

Fixes

This release fixes a longstanding issue where ginkgo -coverpkg=./... would not work. This is now resolved and fixes #1161 and #995

  • Support -coverpkg=./... [26ca1b5]
  • document coverpkg a bit more clearly [fc44c3b]

Maintenance

  • bump various dependencies
  • Improve Documentation and fix typo (#1158) [93de676]

v2.9.0

03 Mar 21:12
Compare
Choose a tag to compare

2.9.0

Features

  • AttachProgressReporter is an experimental feature that allows users to provide arbitrary information when a ProgressReport is requested [28801fe]

  • GinkgoT() has been expanded to include several Ginkgo-specific methods [2bd5a3b]

    The intent is to enable the development of third-party libraries that integrate deeply with Ginkgo using GinkgoT() to access Ginkgo's functionality.