I have a test suite that is being run on a bunch of sites we have created. The majority of the sites work the same way so instead of having lots of duplicate code I can run all the tests on all sites.
I now have a a couple of tests that I only want run on a few of the sites, is there a way to only run these tests if the url is for site A,B or C?
For each site I read in a properties file which has the url and other information needed in the test, would it be possible to have a property ignoreTests= followed by the tests to ignore and then when I read the properties file in the @Before section of the tests I can set each @Test read in to be ignored.