ORA·techORA·tech

Learn fast · Interview fast

Interview prep
Explore
  • Home
    • Overview
    • Question library
    • Interview sprint
    • Mock interview simulator
    • Memory review
    • Leaderboard
    • Free vs Pro
  • Tools
  • Dev Document
  • AI
  • Feedback
  • Generic Security
  • ISMS
ORA·tech
⌘K
20' interview
Sign in
anonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·tech
anonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·tech
anonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·tech
anonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·tech
anonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·tech
anonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·tech
anonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·tech
anonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·tech
anonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·tech
anonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·techanonymous · 23:03 3/6/26 · ORA·tech
2026 ORA Team·Built with ❤️ for fast learners·Privacy·Terms·version f5e8cbb6
Library/Backend/Testing
Advanced Pro#testing

Phân biệt Dummy, Stub, Spy, Mock và Fake trong Unit Test

February 15, 2026

Quick summary

"Test Double" is the generic term for objects that replace real dependencies during testing. The core difference lies in their purpose: Dummy fills parameter slots, Stub provides canned data (State Verification), Mock verifies interactions (Behavior Verification), Spy records usage of real objects, and Fake is a simplified, working implementation.

guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech
guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech
guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech
guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech
guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech
guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech

Sample answer:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.

Pro content

Unlock all Medium & Advanced questions with detailed answers.

Upgrade to Pro
Back to topic