#
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 Diff.blog
TOPICS
Test Doubles Taxonomy for R: Dummy, Stub, Spy, Mock, Fake
·
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
Learning Rust: recursive directories scan
Users Rust Lang ·
Sep 6, 2026
Rust
File System Traversal
How to Build Characterization Tests Before Refactoring Legacy Code
freeCodeCamp.org ·
Aug 31, 2026
typescript
artificial-intelligence
Download the latest "test" distribution
Freedos ·
Sep 1, 2026
FreeDOS
Software Testing
Git hooks
Flaviocopes ·
Aug 31, 2026
Git
Git Hooks
Reorganizing Python's sys module
Trey Hunner ·
Aug 13, 2026
Python
software development
Relying on Go
nalgeon ·
Aug 9, 2026
Go Programming
System Programming
Discover more posts →
AUTHOR
Sponsored
Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google