#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
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 now
→
Learn more
TOPICS
Test Doubles Taxonomy for R: Dummy, Stub, Spy, Mock, Fake
58
·
Jakub Sobolewski
·
June 12, 2026, 12:31 p.m.
R programming
Software Testing
test doubles
software development
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
A use of code comments
Natemeyvis ·
Jul 6, 2026
Software
Code Readability
How to Build a Production-Safe Agent Loop: From Exit Conditions to Audit Trails
freeCodeCamp.org ·
Jun 16, 2026
Python
AI
11 Test Smells That Make Your Tests Lie to You
Jakub Sobolewski ·
Jun 2, 2026
R programming
Software Testing
CTAN update: match_parens
Ctan ·
May 30, 2026
software development
package updates
Extending The Horizon Of Agent Autonomy Is A Testing Problem
Codemanship Wordpress ·
May 21, 2026
AI
context engineering
Converting testthat Tests to testit
Yihui Xie ·
May 15, 2026
R programming
unit testing
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google