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

org.junit.Rule Maven / Gradle / Ivy

Go to download

JUnit is a regression testing framework. It is used by the developer who implements unit tests in Java.

There is a newer version: 4.13.2
Show newest version
package org.junit;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import org.junit.rules.MethodRule;

/**
 * Annotates fields that contain rules. Such a field must be public, not
 * static, and a subtype of {@link MethodRule}. For more information,
 * see {@link MethodRule}
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface Rule {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy