📞 0339-0387701 (WhatsApp) Contact

« Back to Software Engineering (NCCIA)

What is mutation testing?

A. Testing only the user interface
B. Testing that deliberately introduces small faults into code to check whether tests detect them ✅
C. Testing after a product is released
D. Testing with mutated user data only

Correct Answer: B. Testing that deliberately introduces small faults into code to check whether tests detect them

Explanation

Mutation testing creates mutants by changing code slightly; a good test suite should kill most mutants by failing.