Python Programming - Testing - Discussion

Discussion Forum : Testing - General Questions (Q.No. 50)
50.
In Python's unittest module, what does the unittest.skipIf decorator do?
Skips the entire test case
Skips the next test method
Skips the test unless a condition is True
Marks the test as skipped
Answer: Option
Explanation:
The unittest.skipIf decorator is used to skip a test unless a specified condition is True 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.