Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MockK: use MockkRule if possible #1269

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

rfc2822
Copy link
Member

@rfc2822 rfc2822 commented Jan 27, 2025

To make sure everything is unmockked.

Unfortunately, LocalAddressBookStoreTest still uses MockKAnnotations.init(this) and isn't easy to rewrite, but it at least uses unmockkAll().

@rfc2822 rfc2822 added the refactoring Internal improvement of existing functions label Jan 27, 2025
@rfc2822 rfc2822 merged commit feccb76 into main-ose Jan 27, 2025
8 checks passed
@rfc2822 rfc2822 deleted the mockk-dont-initialize-manually branch January 27, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Internal improvement of existing functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant