org.kasource.qa.annotation.CoverageIgnore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qa-rules Show documentation
Show all versions of qa-rules Show documentation
The Quality Assurance rules for projects
package org.kasource.qa.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marks methods as ignore coverage checks.
*
* Note: Java 10 (or later) projects does not support coverage ignore by annotations, since JaCoCo is used.
**/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface CoverageIgnore {
/**
* Describe why this method should be omitted from coverage check
*
* @return Reason why coverage check should be ignored
*/
String justification();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy