de.hilling.junit.cdi.scope.TestScoped Maven / Gradle / Ivy
package de.hilling.junit.cdi.scope;
import jakarta.enterprise.context.NormalScope;
import jakarta.inject.Scope;
import java.lang.annotation.*;
import org.immutables.value.Value;
/**
* Unit test scope valid for for the execution of one test.
*
* @see de.hilling.junit.cdi.scope.TestSuiteScoped
*/
@Scope
@NormalScope
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
@Value.Immutable
public @interface TestScoped {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy