Skip to content

Releases: dogmatiq/testkit

Version 0.6.0

12 Jun 00:22
Compare
Choose a tag to compare
Version 0.6.0 Pre-release
Pre-release

Changed

  • [BC] Renamed T to TestingT, to avoid conflicts with *testing.T when dot-importing
  • [BC] Renamed assert.T to S, to avoid conflicts with *testing.T when dot-importing

Version 0.5.0

11 Jun 05:50
Compare
Choose a tag to compare
Version 0.5.0 Pre-release
Pre-release

Added

  • [BC] Add assert.Assertion.End()
  • Add engine.Run() and RunTimeScaled()
  • engine.Engine now protects its internal state with a mutex, allowing concurrent use

Changed

  • [BC] assert.Should() now provides an assert.T to the user instead of checking the error return value
  • [BC] Rename assert.Assertion.Prepare() to Begin()
  • [BC] Add verbose parameter to assert.Assertion.BuildReport()

Version 0.4.0

04 Feb 04:50
Compare
Choose a tag to compare
Version 0.4.0 Pre-release
Pre-release

Added

  • Add assert.Should() for specifying user-defined assertions

Changed

  • [BC] Switched from enginekit to configkit for application configurations
  • [BC] Flatten fields from Envelope.Correlation directly into Envelope
  • 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

31 Oct 00:05
735f4ff
Compare
Choose a tag to compare
Version 0.3.0 Pre-release
Pre-release

Changed

  • Updated EngineKit to v0.8.0

Version 0.2.0

20 Oct 22:30
37b3e1e
Compare
Choose a tag to compare
Version 0.2.0 Pre-release
Pre-release
  • [BC] Rename StartTime() option to WithStartTime() for consistency

Version 0.1.1

18 Oct 02:42
4f1431f
Compare
Choose a tag to compare
Version 0.1.1 Pre-release
Pre-release
  • Add StartTime() test option to configure the initial time of the test clock

Version 0.1.0

01 Aug 04:02
68ce026
Compare
Choose a tag to compare
Version 0.1.0 Pre-release
Pre-release
  • Initial release