Python Programming - Testing - Discussion

Discussion Forum : Testing - General Questions (Q.No. 48)
48.
What is the purpose of the unittest.TestCase.subTest method?
Adds a sub-test to the test case
Adds a cleanup function to be run after the test method
Adds a condition to skip the test
Adds a setup function to be run before the test method
Answer: Option
Explanation:
The subTest method allows you to add a sub-test to the test case in Python's unittest module.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.