Releases: dogmatiq/testkit
Releases · dogmatiq/testkit
Version 0.6.0
Changed
- [BC] Renamed
T
toTestingT
, to avoid conflicts with*testing.T
when dot-importing - [BC] Renamed
assert.T
toS
, to avoid conflicts with*testing.T
when dot-importing
Version 0.5.0
Added
- [BC] Add
assert.Assertion.End()
- Add
engine.Run()
andRunTimeScaled()
engine.Engine
now protects its internal state with a mutex, allowing concurrent use
Changed
- [BC]
assert.Should()
now provides anassert.T
to the user instead of checking theerror
return value - [BC] Rename
assert.Assertion.Prepare()
toBegin()
- [BC] Add
verbose
parameter toassert.Assertion.BuildReport()
Version 0.4.0
Added
- Add
assert.Should()
for specifying user-defined assertions
Changed
- [BC] Switched from
enginekit
toconfigkit
for application configurations - [BC] Flatten fields from
Envelope.Correlation
directly intoEnvelope
- Test logs and assertion reports now display the file and line number of the test operation
Removed
- [BC] Removed the
assert.CompositeAssertion
type - [BC] Removed the
assert.MessageAssertion
type - [BC] Removed the
assert.MessageTypeAssertion
type
Fixed
assert.CommandExecuted()
now renders the correct suggestions when it fails due to mismatched message role
Version 0.3.0
Changed
- Updated EngineKit to v0.8.0
Version 0.2.0
- [BC] Rename
StartTime()
option toWithStartTime()
for consistency
Version 0.1.1
- Add
StartTime()
test option to configure the initial time of the test clock
Version 0.1.0
- Initial release