Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
eidottermihi committed May 15, 2024
1 parent dbe71bd commit 7756d11
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package org.testcontainers.junit.jupiter;

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.condition.EnabledIf;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@EnabledIf(
value = "org.testcontainers.junit.jupiter.TestcontainersExtension#isDockerAvailable",
disabledReason = "Docker is not available"
)
public @interface EnabledIfDockerAvailable {

}

0 comments on commit 7756d11

Please sign in to comment.