gomega v1.14.0 Release Notes

  • ๐Ÿ”‹ Features

    • gmeasure.SamplingConfig now suppers a MinSamplingInterval [e94dbca]
    • ๐Ÿ‘ Eventually and Consistently support functions that make assertions [2f04e6e]
      • Eventually and Consistently now allow their passed-in functions to make assertions. These assertions must pass or the function is considered to have failed and is retried.
      • Eventually and Consistently can now take functions with no return values. These implicitly return nil 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.
      • Introduce InterceptGomegaFailure - an analogue to InterceptGomegaFailures - that captures the first assertion failure and halts execution in its passed-in callback.

    ๐Ÿ›  Fixes

    • Call Verify GHTTPWithGomega receiver funcs (#454) [496e6fd]
    • ๐Ÿ— Build a binary with an expected name (#446) [7356360]