8000 Releases · onsi/ginkgo · GitHub
[go: up one dir, main page]

Skip to content

Releases

v2.34.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 19:13

Features

  • DeferOnFailure registers a callback that runs only when a spec fails - as soon as the failing node returns and before any teardown (JustAfterEach, AfterEach, AfterAll, DeferCleanup) - so it can capture the state teardown is about to destroy. It takes exactly what DeferCleanup takes and shares its scoping: called in BeforeEach/JustBeforeEach/It it covers the spec, in BeforeAll the ordered container, and in BeforeSuite the whole suite. It is also available on GinkgoT(); note that this adds a method to FullGinkgoTInterface, so hand-written implementations of that interface need to add it. See https://onsi.github.io/ginkgo/#capturing-failure-state-deferonfailure

Fixes

  • Progress reporters (AttachProgressReporter) are no longer called while Ginkgo holds an internal lock, so a reporter that calls CurrentSpecReport() or AddReportEntry() no longer stalls for 5 seconds and has its output dropped.
  • --sleep-on-failure now runs after any DeferOnFailure callbacks, also pauses when a spec times out, and no longer pauses if the suite has already been interrupted.

v2.33.1

Choose a tag to compare

@github-actions github-actions released this 09 Oct 23:55

Fixes

  • Add several missing fields to spec report JSON output.

v2.33.0

Choose a tag to compare

@github-actions github-actions released this 17 Sep 19:35

Features

  • The JUnit reporter now records each spec's ReportEntrys as <properties> on its <testcase> element, with the entry's name and its JSON-encoded value. Thanks @pohly! [23db51a]

Maintenance

  • Releases are now cut by a GitHub Actions workflow (Actions -> Release -> Run workflow) rather than by hand, with changelog entries collected under ## Unreleased as the work happens. See RELEASING.md. [8616ecb]

v2.32.2

Choose a tag to compare

@onsi onsi released this 09 Sep 02:18

2.32.2

Fixes

  • fix bug where ginkgo -race -p was taking extra long to exit [c6792b0]

v2.32.1

Choose a tag to compare

@onsi onsi released this 10 Aug 22:18

2.32.1

Fixes

  • Defer AfterAll until repeated spec completes [e647b3b]

v2.32.0

Choose a tag to compare

@onsi onsi released this 22 Jun 17:31

2.32.0

-fd generate RSpec-style documentation output. Thank @woodie !
--sleep-on-failure pauses a failed spec before teardown. Thanks @qinqon !

v2.31.0

Choose a tag to compare

@onsi onsi released this 14 Jun 19:18

2.31.0

Add a bunch of Claude Skills via the marketplace:

/plugin marketplace add onsi/ginkgo
/plugin install ginkgo@ginkgo

v2.30.0

Choose a tag to compare

@onsi onsi released this 11 Jun 15:39

2.30.0

Features

Ginkgo now allows extentions/global.Reset to support running multiple suites from within a single process. This may take some massaging on your part (see 1672) but can dramatically speed up codebases with O(hundreds) of test suites.

Thanks @lawrencejones !

Fixes

  • Fix nested --github-output group for progress report nested inside timeline [4f62d7a]

v2.29.0

Choose a tag to compare

@onsi onsi released this 17 May 23:30

2.29.0

GinkgoHelperGo makes it easier to write test helpers that need to run in goroutines. Specifically, it makes managing the failure state and capturing failure panics correctly straightforward.

ginkgo outline now includes entries defined in DescribeTableSubtree

v2.28.3

Choose a tag to compare

@onsi onsi released this 28 Apr 22:55

2.28.3

Maintenance

Bump all dependencies

0