-
Notifications
You must be signed in to change notification settings - Fork 318
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
Vignette on testing challenging functions #1265
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
https://blog.r-hub.io/2019/10/29/mocking/ was relatively popular (well for an R-hub post 🙂 ) so I think a vignette about such topics would be awesome. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Regarding plots, some guidance on testthat visual snapshots vs vdiffr (or how the two tools complement each other) would be nice. |
|
I made this list for a recent workshop on testing:
Are there any other major classes of challenge that you can think of? |
Regarding interactivity (and other examples like "code that should be run if there is no internet connection"), maybe also mention escape hatches? https://blog.r-hub.io/2023/01/23/code-switch-escape-hatch-test/ |
@maelle in that case (especially with |
At the moment the only reference to mockery is via the deprecation message of former mocking functions.
Could there be a link to mockery maybe from the README?
The text was updated successfully, but these errors were encountered: