asked 16.8k views
1 vote
Multiple class testing is too complex to be tested using random test cases?

1) True
2) False

asked
User Sathyz
by
8.5k points

1 Answer

0 votes

Final answer:

Multiple class testing can be complex but can be done systematically by designing specific test cases that cover various class interactions and scenarios. The correct option is 2) False

Step-by-step explanation:

Multiple-class testing can indeed be too complex to be tested using random test cases. Random test cases may not cover all possible scenarios and combinations of class interactions, making it difficult to identify and fix errors.

Instead, a systematic testing approach is often required for multiple-class testing. This involves designing test cases that consider the different classes and their interactions, including both valid and invalid inputs.

Techniques like equivalence partitioning and boundary value analysis can also be used to ensure thorough testing.

For example, if there is a banking system with classes for customers, accounts, and transactions, a test case could involve creating a customer, opening an account for them, and then making various transactions like deposits and withdrawals. This would test the interactions between the different classes and help identify any issues.The correct option is 2) False

answered
User Qwurticus
by
8.8k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.