Python Programming - Testing - Discussion

Discussion Forum : Testing - General Questions (Q.No. 56)
56.
In Python's unittest module, what is the purpose of the unittest.skipUnless decorator?
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.skipUnless 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.