@Override public boolean includeMethod(IMethodSelectorContext context, ITestNGMethod method, boolean isTestMethod) { boolean include = applyMetafilter(method); if (!include) { context.setStopped(true); } return include; }
@Override public boolean includeMethod(IMethodSelectorContext context, ITestNGMethod method, boolean isTestMethod) { TestMetadata testMetadata = testMetadataReader.readTestMetadata(method); return includeBasedOnTestName(testMetadata) && includeBasedOnGroups(testMetadata) && !excludeBasedOnGroups(testMetadata); }
@Override public boolean includeMethod( IMethodSelectorContext context, ITestNGMethod method, boolean isTestMethod ) { if( TestNgExecutor.methodName != null ) { return method.getMethodName().equals( TestNgExecutor.methodName ); } return true; }
@Override public boolean includeMethod(IMethodSelectorContext context, ITestNGMethod method, boolean isTestMethod) { return true; }