Overusing mocks and stubs can lead to tests that are ______ and do not adequately represent the system's behavior.
- Fragile
- Robust
- Isolated
- Comprehensive
Overusing mocks and stubs in testing can make tests fragile. A fragile test is one that breaks easily when the internal implementation of the system changes, and it may not adequately represent the system's actual behavior because it's too tightly coupled to the implementation details.
Loading...
Related Quiz
- How can middleware functions modify the request and response objects in Express.js?
- You are developing an application with multiple user roles, and each role has different levels of access to resources. How would you securely implement role-based access control to prevent unauthorized access?
- When creating a buffer in Node.js, if you do not specify an encoding type, the data will be treated as ______.
- In JavaScript, when destructuring an object, the … (three dots) is called the ______ operator.
- What is the output of the following code snippet: console.log(1 == '1')?