Skip to content

Commit a010265

Browse files
author
Vincent Potucek
committed
Add JupiterBestPractices junit-team#5193 junit-team#5002
- https://docs.openrewrite.org/recipes/java/testing/junit/jupiterbestpractices Signed-off-by: Vincent Potucek <vpotucek@me.com>
1 parent 820283a commit a010265

1 file changed

Lines changed: 39 additions & 39 deletions

File tree

gradle/plugins/common/src/main/kotlin/junitbuild.rewrite-conventions.gradle.kts

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -10,50 +10,50 @@ rewrite {
1010
activeRecipe("org.junit.openrewrite.SanityCheck")
1111
configFile = project.getRootProject().file("gradle/config/rewrite.yml")
1212
exclusion(
13-
// JupiterBestPractices: class scope issue;
14-
// "**AggregatorIntegrationTests.java",
15-
// "**BeforeAndAfterSuiteTests.java",
16-
// "**BridgeMethods.java",
17-
// "**CsvArgumentsProvider.java",
18-
// "**DefaultArgumentsAccessor.java",
19-
// "**DiscoverySelectorResolverTests.java",
20-
// "**DiscoveryTests.java",
21-
// "**DisplayNameGenerationTests.java",
22-
// "**DynamicNodeGenerationTests.java",
23-
// "**DynamicTestTests.java",
24-
// "**EngineDiscoveryResultValidatorTests.java", // fixable with @DisabledOnOs(WINDOWS)
25-
// "**ExceptionHandlingTests.java",
26-
// "**ExecutionCancellationTests.java",
27-
// "**ExtensionRegistrationViaParametersAndFieldsTests.java",
28-
// "**InvocationInterceptorTests.java",
29-
// "**IsTestMethodTests.java",
30-
// "**IsTestTemplateMethodTests.java",
31-
// "**JupiterTestDescriptorTests.java",
32-
// "**LifecycleMethodUtilsTests.java",
33-
// "**MultipleTestableAnnotationsTests.java",
34-
// "**NestedContainerEventConditionTests.java",
35-
// "**ParallelExecutionIntegrationTests.java",
36-
// "**ParameterResolverTests.java",
37-
// "**ParameterizedTestIntegrationTests.java",
38-
// "**RepeatedTestTests.java",
39-
// "**StaticPackagePrivateBeforeMethod.java",
40-
// "**SubclassedAssertionsTests.java",
41-
// "**TempDirectoryCleanupTests.java",
42-
// "**TestExecutionExceptionHandlerTests.java",
43-
// "**TestInstanceFactoryTests.java",
44-
// "**TestTemplateInvocationTestDescriptorTests.java",
45-
// "**TestTemplateInvocationTests.java",
46-
// "**TestTemplateTestDescriptorTests.java",
47-
// "**TestWatcherTests.java",
48-
// "**TimeoutExtensionTests.java",
49-
// "**UniqueIdTrackingListenerIntegrationTests.java",
50-
// "**WorkerThreadPoolHierarchicalTestExecutorServiceTests.java",
51-
// "**org/junit/jupiter/engine/bridge**",
5213
// legacy
5314
"**TestCase.java",
5415
"**TestCases.java",
5516
"**documentation/src/test/java/example**",
5617
"**testFixtures/java/org/junit/vintage/engine/samples**",
18+
// JupiterBestPractices: class scope issue;
19+
// "**AggregatorIntegrationTests.java",
20+
// "**BeforeAndAfterSuiteTests.java",
21+
// "**BridgeMethods.java",
22+
// "**CsvArgumentsProvider.java",
23+
// "**DefaultArgumentsAccessor.java",
24+
// "**DiscoverySelectorResolverTests.java",
25+
// "**DiscoveryTests.java",
26+
// "**DisplayNameGenerationTests.java",
27+
// "**DynamicNodeGenerationTests.java",
28+
// "**DynamicTestTests.java",
29+
// "**EngineDiscoveryResultValidatorTests.java", // fixable with @DisabledOnOs(WINDOWS)
30+
// "**ExceptionHandlingTests.java",
31+
// "**ExecutionCancellationTests.java",
32+
// "**ExtensionRegistrationViaParametersAndFieldsTests.java",
33+
// "**InvocationInterceptorTests.java",
34+
// "**IsTestMethodTests.java",
35+
// "**IsTestTemplateMethodTests.java",
36+
// "**JupiterTestDescriptorTests.java",
37+
// "**LifecycleMethodUtilsTests.java",
38+
// "**MultipleTestableAnnotationsTests.java",
39+
// "**NestedContainerEventConditionTests.java",
40+
// "**ParallelExecutionIntegrationTests.java",
41+
// "**ParameterResolverTests.java",
42+
// "**ParameterizedTestIntegrationTests.java",
43+
// "**RepeatedTestTests.java",
44+
// "**StaticPackagePrivateBeforeMethod.java",
45+
// "**SubclassedAssertionsTests.java",
46+
// "**TempDirectoryCleanupTests.java",
47+
// "**TestExecutionExceptionHandlerTests.java",
48+
// "**TestInstanceFactoryTests.java",
49+
// "**TestTemplateInvocationTestDescriptorTests.java",
50+
// "**TestTemplateInvocationTests.java",
51+
// "**TestTemplateTestDescriptorTests.java",
52+
// "**TestWatcherTests.java",
53+
// "**TimeoutExtensionTests.java",
54+
// "**UniqueIdTrackingListenerIntegrationTests.java",
55+
// "**WorkerThreadPoolHierarchicalTestExecutorServiceTests.java",
56+
// "**org/junit/jupiter/engine/bridge**",
5757
)
5858
setExportDatatables(true)
5959
setFailOnDryRunResults(true)

0 commit comments

Comments
 (0)