📞 0339-0387701 (WhatsApp) Contact

« Back to Software Engineering (NCCIA)

Which of the following is a typical unit test?

A. Testing a single 'calculateTotal()' function with known prices ✅
B. Testing the complete checkout process
C. Testing the system under 1,000 users
D. Testing installation on a customer's machine

Correct Answer: A. Testing a single 'calculateTotal()' function with known prices

Explanation

A unit test targets one function or method; checkout, load, and installation tests belong to higher levels.