Codebase list golang-gomega / 8916066
v1.22.0 Onsi Fakhouri 1 year, 6 months ago
2 changed file(s) with 21 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 ## v1.21.1
0 ## 1.22.0
1
2 ### Features
3
4 Several improvements have been made to `Eventually` and `Consistently` in this and the most recent releases:
5
6 - Eventually and Consistently can take a context.Context [65c01bc]
7 This enables integration with Ginkgo 2.3.0's interruptible nodes and node timeouts.
8 - Eventually and Consistently that are passed a SpecContext can provide reports when an interrupt occurs [0d063c9]
9 - Eventually/Consistently will forward an attached context to functions that ask for one [e2091c5]
10 - Eventually/Consistently supports passing arguments to functions via WithArguments() [a2dc7c3]
11 - Eventually and Consistently can now be stopped early with StopTrying(message) and StopTrying(message).Now() [52976bb]
12
13 These improvements are all documented in [Gomega's docs](https://onsi.github.io/gomega/#making-asynchronous-assertions)
14
15 ## Fixes
16
17 ## Maintenance
18
19 ## 1.21.1
120
221 ### Features
322 - Eventually and Consistently that are passed a SpecContext can provide reports when an interrupt occurs [0d063c9]
2121 "github.com/onsi/gomega/types"
2222 )
2323
24 const GOMEGA_VERSION = "1.21.1"
24 const GOMEGA_VERSION = "1.22.0"
2525
2626 const nilGomegaPanic = `You are trying to make an assertion, but haven't registered Gomega's fail handler.
2727 If you're using Ginkgo then you probably forgot to put your assertion in an It().