Python Programming - Testing - Discussion

Discussion Forum : Testing - General Questions (Q.No. 9)
9.
What is the purpose of the TestCase class in the unittest module?
To define a test suite
To represent an individual test case
To mark a test as skipped
To perform setup and teardown for the entire test suite
Answer: Option
Explanation:
The TestCase class in the unittest module is used to represent an individual test case, allowing the definition of test methods within it.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.