DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

Clean R Tests with `local_mocked_bindings` and Dependency Wrapping

· Jakub Sobolewski · Sept. 23, 2025, 8:05 a.m.
R programming Testing unit-tests testthat
Summary
This post explains how to enhance R unit tests using `testthat::local_mocked_bindings` to wrap external dependencies, resulting in faster and cleaner tests.
Read full post on jakubsobolewski.com →
MORE POSTS LIKE THIS
How to build dependencies for test program with fpm
Fortran Lang Discourse · Aug 20, 2026
Fortran fpm
Converting testthat Tests to testit
Yihui Xie · May 15, 2026
R programming unit testing
Supply chain attack on arrayref
The Rust Programming Language · Aug 20, 2026
supply chain security Rust Programming
T is for time-machine - Python A to Z
Juha-Matti Santala · Aug 22, 2026
Python Testing
How to Measure Code Coverage with pytest-cov
Python Developer Tooling Handbook – pydevtools.com · Aug 24, 2026
pytest code-coverage
Code organisation - test fixtures for unit & integration tests
Users Rust Lang · Aug 24, 2026
Rust Testing
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google