#
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
Test Doubles Taxonomy for R: Dummy, Stub, Spy, Mock, Fake
·
Jakub Sobolewski
·
June 12, 2026, 12:31 p.m.
software development
Software Testing
R programming
programming best practices
Summary
This post clarifies the distinctions between various types of test doubles in R programming: Dummy, Stub, Spy, Mock, and Fake. It discusses their specific uses and the potential pitfalls of confusing them.
Read full post on jakubsobolewski.com →
MORE POSTS LIKE THIS
Three New Debugging Aids in knitr
Yihui Xie ·
Sep 21, 2026
Debugging
software development
lisp.md: System Instructions for Lisp
Funcall Blogspot ·
Sep 19, 2026
Common Lisp
Vibe Coding
Feature request: Work/Codex should prioritize some form of output even if you hit the usage limit mid-task
Community Openai ·
Sep 19, 2026
user-experience
software development
Soft-deprecating re.match()
hugovk ·
Sep 10, 2026
Python
Regular expressions
Published a new book: "Modern Software Design in Fortran"
Fortran Lang Discourse ·
Sep 11, 2026
software development
software-design
Learning Rust: recursive directories scan
Users Rust Lang ·
Sep 6, 2026
error handling
software development
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
.