Skip to content

feat: clean up mock diff/equal setup and improve docs (#146)#146

Merged
tkrop merged 1 commit into
mainfrom
cleanup
May 20, 2026
Merged

feat: clean up mock diff/equal setup and improve docs (#146)#146
tkrop merged 1 commit into
mainfrom
cleanup

Conversation

@tkrop
Copy link
Copy Markdown
Owner

@tkrop tkrop commented May 20, 2026

Description

This pull request is cleaning up the mocks.Diff/mocks.Equal setup concept removing the main configuration approach. The default DiffConfig is now updated using SetArg(mock.DefaultDiffConfigName,config) removing the previous configuration pattern. To simplify life, the DiffConfig now supports a fluent update interface.

Besides, the pull request is improving code quality and the documentation to prepare a public release.

Related Issue(s)

fixes #146.

Testing

Run make test, since the code is highly unit tested.

Checklist

  • I have reviewed and tested the changes thoroughly.
  • I have added appropriate documentation to the code for clarity.
  • I have communicated the consequences of the updates to customers.

Signed-off-by: Tronje Krop tronje.krop@jactors.de

@tkrop tkrop self-assigned this May 20, 2026
@tkrop tkrop marked this pull request as ready for review May 20, 2026 14:35
Signed-off-by: Tronje Krop <tronje.krop@jactors.de>
@tkrop tkrop merged commit 285b183 into main May 20, 2026
8 of 9 checks passed
@tkrop tkrop deleted the cleanup branch May 20, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant