Releases: dogmatiq/testkit
Releases · dogmatiq/testkit
Version 0.8.0
Changed
- [BC] Remove aggregate
Create()
andExists()
methods (complies with Dogma v0.8.0)
Version 0.7.0
Added
- Add
Test.AdvanceTime()
,ByDuration()
andToTime()
- Add
Test.Call()
- Add
assert.Nothing
- Add
engine.CommandExecutor
- Add
engine.EventRecorder
- [BC] Add
op
parameter toassert.Assertion.Begin()
Removed
- [BC] Remove
Test.AdvanceTimeTo()
andAdvanceTimeBy()
- [BC] Remove
verbose
parameterassert.Assertion.BuildReport()
- [BC] Remove
RunnerVerbose()
andVerbose()
options - [BC] Remove
Engine.ExecuteCommand()
andRecordEvent()
Changed
- The
-v
(verbose) option togo test
no longer affects testkit's behavior, full logs are always rendered
Version 0.6.2
Changed
Test.AdvanceTimeBy()
andAdvanceTimeTo()
can now be called without making any assertions by passing anil
assertion
Version 0.6.1
Added
- Add
Exists()
andHasBegun()
methods to aggregate & process scopes
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