Python Programming - Testing - Discussion

Discussion Forum : Testing - General Questions (Q.No. 65)
65.
What does the unittest.skipUnless decorator do in Python testing?
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.