All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jupiter.tools.spring.test.mongo.junit5.EnableMongoDbTestContainers Maven / Gradle / Ivy

There is a newer version: 0.15
Show newest version
package com.jupiter.tools.spring.test.mongo.junit5;

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;
import org.junit.jupiter.api.extension.ExtendWith;

import org.springframework.test.context.ActiveProfiles;

/**
 * Created on 02.12.2018.
 *
 * Runs single MongoDb testcontainer before all tests.
 *
 * @author Korovin Anatoliy
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Tag("antkorwin-mongodb-testcontainers")
@ExtendWith(MongoDbTcExtension.class)
@ActiveProfiles("antkorwin-mongodb-testcontainers")
public @interface EnableMongoDbTestContainers {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy