My specific question is with regards to JUnit's [Parameterized Tests](https://github.com/junit-team/junit/wiki/Parameterized-tests), filtering (essentially not running) tests if it contains a certain property. For example:

```
@Test
public void test1() {
    if (property.contains("example")) {
        return;
    }
    assertEquals(expected, methodToTest1(actual));
}

@Test
public void test2() {
    if (property.contains("example")) {
        return;
    }
    assertEquals(expected, methodToTest2(actual));
}

```

The question is, does a technique exist where the constraint `if (property.equals("example"))...` be defined somewhere else statically, instead of before each and every test method? Like this:

```
/** define constraint "property.equals("example")" somewhere **/

@Test
public void test1() {
    assertEquals(expected, methodToTest1(actual));
}

@Test
public void test2() {
    assertEquals(expected, methodToTest2(actual));
}

```