Python Programming - Testing - Discussion

Discussion Forum : Testing - General Questions (Q.No. 24)
24.
What does the Python unittest.TestCase.subTest() method provide?
A method to create sub-tests within a test case
A way to skip parts of a test case
Access to the current test case instance
A method to check if a condition is true
Answer: Option
Explanation:
The unittest.TestCase.subTest() method is used to create sub-tests within a test case in Python unittest.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.