@Override
    public FilterResult apply(TestDescriptor descriptor) {
      boolean shouldRun = descriptor.getSource()
        .filter(MethodSource.class::isInstance)
        .map(MethodSource.class::cast)
        .map(this::shouldRun)
        .orElse(true);

      return FilterResult.includedIf(shouldRun);
    }
Copy relevant features of Maven Surefire Plugin's TestMethodFilter to recreate it here
spock-testkit/src/test/groovy/spock/platform/InheritedTest.java