We use Selenium webdriver + SpecFlow for testing our Web application.
For some functionality, everything is clear. But imagine the situation: some questions arrive to Web user from external system he may answer. The test should "test" if the user can see those questions in appropriate view and successfully submit some or all answers. If there are no questions for the given user - section "New questions" is not displayed on the Web site.
So I am stuck with the following: how to make the situation "There is nothing to test" NOT a failure or success, but to just stop the test and return "ignore" status? I may add, that there might be tons of tests for whole system and it looks very difficult to sort them manually somehow (marking as "ignore" in advance).