Does anyone know away of ignoring selected tests when the network is unavailable. Something like a conditional Ignore attribute?
Does anyone know away of ignoring selected tests when the network is unavailable. Something
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know about ignoring certain tests at runtime. However, you could two things I can think of. The first is at the start of the test you could check if the network is available and if not just return which would mark the test as passed. Or, you could check for the network in an Assert Inconclusive which would mark the test inconclusive in the results.