Subjects

All subjects Django Java Python React Spring Boot JavaScript PHP
Sign Up Free
Question 5 of 7 · Testing React Applications
Interview question

What is mocking and stubbing? Mocking और stubbing क्या है?

Answer

Mocking - replace real functions with fake ones. Stubbing - provide fake implementations.

Mocking: functions को replace करना। Stubbing: fake implementations देना।

Was this answer clear?