org.mockserver.junit.jupiter.MockServerSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockserver-junit-jupiter Show documentation
Show all versions of mockserver-junit-jupiter Show documentation
A JUnit5 Extension for MockServer
package org.mockserver.junit.jupiter;
import org.junit.jupiter.api.extension.ExtendWith;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Configure MockServer when used in conjunction with {@link MockServerExtension}
*/
@ExtendWith(MockServerExtension.class)
@Retention(RetentionPolicy.RUNTIME)
public @interface MockServerSettings {
boolean perTestSuite() default false;
int[] ports() default {};
}