This repository was archived by the owner on Apr 22, 2022. It is now read-only.
fix(deps): update module github.com/onsi/gomega to v1.19.0 #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.9.0->v1.19.0Release Notes
onsi/gomega
v1.19.0Compare Source
Features
HaveEachmatcher to ensure that each and every element in anarray,slice, ormapsatisfies the passed in matcher. (#523) [9fc2ae2] (#524) [c8ba582]Gomegainterface to implement custom behavior on each assertion. (#521) [1f2e714]ContainElementnow accepts an additional pointer argument. Elements that satisfy the matcher are stored in the pointer enabling developers to easily add subsequent, more detailed, assertions against the matching element. (#527) [1a4e27f]Fixes
0917cde]49ab4b0]f1b4456]1c84497]4dea8d5]56d2a29]b607941]v1.18.1Compare Source
79e41a3]v1.18.0Compare Source
Features
2570272]bdc087c]360db9d]Fixes
c29c1c0]Maintenace
72e6040]f383637]2b4b2c0]f58a52b]3f8160d]v1.17.0Compare Source
1.17.0
Features
3a26311]2f96943]18a4723]e001fab]bf93408]Fixes
Stop using deprecated ioutil package (#467) [
07f405d]v1.16.0Compare Source
Features
aa69f1b]dd83a96]504e1f2]e5b3157]v1.15.0Compare Source
1.15.0
Fixes
The previous version (1.14.0) introduced a change to allow
EventuallyandConsistentlyto support functions that make assertions. This was accomplished by overriding the global fail handler when running the callbacks passed toEventually/Consistentlyin order to capture any resulting errors. Issue #457 uncovered a flaw with this approach: when multipleEventuallys are running concurrently they race when overriding the singleton global fail handler.1.15.0 resolves this by requiring users who want to make assertions in
Eventually/Consistentlycall backs to explicitly pass in a function that takes aGomegaas an argument. The passed-inGomegainstance can be used to make assertions. Any failures will causeEventuallyto retry the callback. This cleaner interface avoids the issue of swapping out globals but comes at the cost of changing the contract introduced in v1.14.0. As such 1.15.0 introduces a breaking change with respect to 1.14.0 - however we expect that adoption of this feature in 1.14.0 remains limited.In addition, 1.15.0 cleans up some of Gomega's internals. Most users shouldn't notice any differences stemming from the refactoring that was made.
v1.14.0Compare Source
1.14.0
Features
e94dbca]2f04e6e]These assertions must pass or the function is considered to have failed and is retried.
if they contain no failed assertion. Otherwise they return an error wrapping the first assertion failure. This allows
these functions to be used with the Succeed() matcher.
and halts execution in its passed-in callback.
Fixes
496e6fd]7356360]v1.13.0Compare Source
Set consistently and eventually defaults on init (#443)
Using environment variables
Closes #434
Signed-off-by: toby lorne toby@toby.codes
gmeasure provides BETA support for benchmarking (#447)
gmeasure is a new gomega subpackage intended to provide measurement and benchmarking support for durations and values. gmeasure replaces Ginkgo V1s deprecated Measure nodes and provides a migration path for users migrating to Ginkgo V2.
gmeasure is organized around an Experiment metaphor. Experiments can record several different Measurements, with each Measurement comprised of multiple data points. Measurements can hold time.Durations and float64 values and gmeasure includes support measuring the duraiton of callback functions and for sampling functions repeatedly to build an ensemble of data points. In addition, gmeasure introduces a Stopwatch abtraction for easily measuring and recording durations of code segments.
Once measured, users can readily generate Stats for Measurements to capture their key statistics and these stats can be ranked using a Ranking and associated RankingCriteria.
Experiments can be Cached to disk to speed up subsequent runs. Experiments are cached by name and version number which makes it easy to manage and bust the cache.
Finally, gmeasure integrates with Ginkgo V2 via the new ReportEntry abstraction. Experiments, Measurements, and Rankings can all be registered via AddReportEntry. Doing so generates colorful reports as part of Ginkgo's test output.
gmeasure is currently in beta and will go GA around when Ginkgo V2 goes GA.
v1.12.0Compare Source
Features
c548f31]3360b8c]cc80b6f]c3c0920]Fixes
09c074a]e5f6ea0]adae3bf]3275b35]v1.11.0Compare Source
Features
334e00d]47c613f]Fixes
3c60a15]b82522a]b75d2f2]f08e2dc]1fa9468]v1.10.5Compare Source
Fixes
6b4eb5a]073b880]7266efe]v1.10.4Compare Source
Fixes
817a8b9]0bae715]ea06b9b]v1.10.3Compare Source
Fixes
c479356]v1.10.2Compare Source
Fixes
990941a]v1.10.1Compare Source
Fixes
9f5eecd]v1.10.0Compare Source
Features
f335c94]6024f5b]c0be499]f8032b4]Configuration
📅 Schedule: "every weekend" in timezone GB.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.