I'm testing native mobile apps with Appium (iOS and Android, using the Java client). We have a family of apps where some features are turned on or off depending on the particular app (like A/B testing, but that's not actually what we're doing).
How could I exclude tests from the test suite based on what features I know it's going to see in the app under test? (We start the test suite though Jenkins.)
It would be very easy to check at the beginning of each test and then bail out as appropriate, but I'm worried about how that affects statistics of how many tests actually passed.