All Versions
31
Latest Version
Avg Release Cycle
63 days
Latest Release
-
Changelog History
Page 3
Changelog History
Page 3
-
v1.7.0 Changes
August 28, 2019 -
v1.6.0 Changes
August 19, 2019๐ Features
๐ Fixes
- โ Remove duplication in XML matcher tests [cc1a6cb]
- โ Remove unnecessary conversions (#357) [7bf756a]
- ๐ Fixed import order (#353) [2e3b965]
- โ Added missing error handling in test (#355) [c98d3eb]
- Simplify code (#356) [0001ed9]
- Simplify code (#354) [0d9100e]
- ๐ Fixed typos (#352) [3f647c4]
- โ Add failure message tests to BeElementOf matcher [efe19c3]
- โก๏ธ Update go-testcov untested sections [37ee382]
- โ Mark all uncovered files so go-testcov ./... works [53b150e]
- Reenable gotip in travis [5c249dc]
- ๐ Fix the typo of comment (#345) [f0e010e]
- Optimize contain_element_matcher [abeb93d]
-
v1.5.0 Changes
March 12, 2019 -
v1.4.3 Changes
November 21, 2018 -
v1.4.2 Changes
September 11, 2018๐ Fixes:
- โ Add go.mod and go.sum files to define the gomega go module [f3de367, a085d30]
- โช Work around go vet issue with Go v1.11 (#300) [40dd6ad]
- ๐ Better output when using with go XUnit-style tests, fixes #255 (#297) [29a4b97]
- ๐ Fix MatchJSON fail to parse json.RawMessage (#298) [ae19f1b]
- ๐ show threshold in failure message of BeNumericallyMatcher (#293) [4bbecc8]
-
v1.4.0 Changes
๐ Features
- ๐ง Make string pretty diff user configurable (#273) [eb112ce, 649b44d]
๐ Fixes
- ๐จ Use httputil.DumpRequest to pretty-print unhandled requests (#278) [a4ff0fc, b7d1a52]
- ๐ fix typo floa32 > float32 (#272) [041ae3b, 6e33911]
- ๐ Fix link to documentation on adding your own matchers (#270) [bb2c830, fcebc62]
- ๐ Use setters and getters to avoid race condition (#262) [13057c3, a9c79f1]
- ๐ฆ Avoid sending a signal if the process is not alive (#259) [b8043e5, 4fc1762]
- ๐ Improve message from AssignableToTypeOf when expected value is nil (#281) [9c1fb20]
-
v1.3.0 Changes
๐ Improvements:
- The
Equal
matcher matches byte slices more performantly. - ๐ Improved how
MatchError
matches error strings. MatchXML
ignores the order of xml node attributes.- ๐ Improve support for XUnit style golang tests. (#254)
๐ Bug Fixes:
- Diff generation now handles multi-byte sequences correctly.
- ๐ Multiple goroutines can now call
gexec.Build
concurrently.
- The
-
v1.2.0 Changes
๐ Improvements:
- โ Added
BeSent
which attempts to send a value down a channel and fails if the attempt blocks. Can be paired withEventually
to safely send a value down a channel with a timeout. - โ
ฮฉ
,Expect
,Eventually
, andConsistently
now immediatelypanic
if there is no registered fail handler. This is always a mistake that can hide failing tests. Receive()
no longer errors when passed a closed channel, it's perfectly fine to attempt to read from a closed channel so ฮฉ(c).Should(Receive()) always fails and ฮฉ(c).ShoudlNot(Receive()) always passes with a closed channel.- โ Added
HavePrefix
andHaveSuffix
matchers. ghttp
can now handle concurrent requests.- โ Added
Succeed
which allows one to writeฮฉ(MyFunction()).Should(Succeed())
. - ๐ Improved
ghttp
's behavior around failing assertions and panics:- If a registered handler makes a failing assertion
ghttp
will return500
. - If a registered handler panics,
ghttp
will return500
and fail the test. This is new behavior that may cause existing code to break. This code is almost certainly incorrect and creating a false positive.
- If a registered handler makes a failing assertion
ghttp
servers can take anio.Writer
.ghttp
will write a line to the writer when each request arrives.- โ Added
WithTransform
matcher to allow munging input data before feeding into the relevant matcher - โ Added boolean
And
,Or
, andNot
matchers to allow creating composite matchers - โ Added
gbytes.TimeoutCloser
,gbytes.TimeoutReader
, andgbytes.TimeoutWriter
- these are convenience wrappers that timeout if the underlying Closer/Reader/Writer does not return within the alloted time. - โ Added
gbytes.BufferReader
- this constructs agbytes.Buffer
that asynchronously reads the passed-inio.Reader
into its buffer.
๐ Bug Fixes:
- gexec:
session.Wait
now usesEventuallyWithOffset
to get the right line number in the failure. ContainElement
no longer bails if a passed-in matcher errors.
- โ Added
-
v1.0 Changes
No changes. Dropping "beta" from the version number.