#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
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.
Testing
unit-tests
dependency management
R programming
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
Testing
Fortran
Converting testthat Tests to testit
Yihui Xie ·
May 15, 2026
unit testing
software development
Hexagonal Architecture in Vue: Where to Put Your Code and Why
alexop.dev ·
Sep 30, 2026
Vue
Architecture
Cargo install/update error
Users Rust Lang ·
Sep 27, 2026
Rust
cargo
Looking back at my first year as the Renovate Project Lead
Jamie Tanna ·
Sep 21, 2026
Open Source
renovate
Unit tests mark territory more than squash bugs
Yosef Mendelsohn ·
Sep 18, 2026
integration testing
code-quality
Discover more posts →
AUTHOR
Advertise
Sponsor diff.blog
Put your product in front of developers who read and write about their craft. One exclusive sponsor at a time.
Become a sponsor →
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google
By continuing, you agree to our
Privacy Policy
.