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

test: replace mockery with testthat mocking #149

Closed
wants to merge 1 commit into from
Closed

Conversation

maelle
Copy link
Contributor

@maelle maelle commented Mar 8, 2024

I'm suggesting this because I'd like to write an update to my post from 2019, where the real example was this keyring test. 😇 https://blog.r-hub.io/2019/10/29/mocking/#general-mocking

@gaborcsardi
Copy link
Member

Thanks! The thing is, I like mockery and the way it works, especially for packages that may be called during a test run. I think switching to testthat is probably fine, but it is just simpler to avoid thinking about this. And possibly keep thinking about it in the future.

@maelle
Copy link
Contributor Author

maelle commented Mar 8, 2024

Thanks for your response!
For info, the new post draft is at r-hub/blog#171

@maelle maelle closed this Mar 8, 2024
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.

2 participants