diff --git a/build.gradle b/build.gradle index 98fcd86b67..6885bfb681 100644 --- a/build.gradle +++ b/build.gradle @@ -122,9 +122,7 @@ subprojects { } tasks.withType(Test).configureEach { - useJUnitPlatform() { - excludeTags "RequiresDatabase" - } + useJUnitPlatform() {} testLogging { exceptionFormat = "full" events = ["standardOut", "standardError", "skipped", "failed"] diff --git a/lib/test-common/src/main/java/org/triplea/test/common/RequiresDatabase.java b/lib/test-common/src/main/java/org/triplea/test/common/RequiresDatabase.java deleted file mode 100644 index ce17f1b561..0000000000 --- a/lib/test-common/src/main/java/org/triplea/test/common/RequiresDatabase.java +++ /dev/null @@ -1,17 +0,0 @@ -package org.triplea.test.common; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import org.junit.jupiter.api.Tag; - -/** - * 'RequiresDatabase' means a database needs to be running (presumably on docker) for the test to - * pass. Tests annotated with 'RequiresDatabase' will not run with 'gradle test' task but will - * instead run with the 'check', 'testAll' or 'testWithDatabase' tasks. - */ -@Target({ElementType.TYPE, ElementType.METHOD}) -@Retention(RetentionPolicy.RUNTIME) -@Tag("RequiresDatabase") -public @interface RequiresDatabase {}