org.catools.common.annotations.COpenDefects Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common.testng Show documentation
Show all versions of common.testng Show documentation
The common TestNG extensions
The newest version!
package org.catools.common.annotations;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
/**
* This annotation {@link COpenDefects} uses to link test to related open defects.
*
* Please note:
*
*
* - if defect fixed then we should remove {@link COpenDefects} and add fixed defect id
* to @CDefects annotation.
*
- if defect deferred for short term then we can change {@link COpenDefects} to {@link
* CDeferred}.
*
*
* @see CDeferred
* @see CAwaiting
* @see COpenDefects
*/
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@Target({METHOD})
public @interface COpenDefects {
@JsonProperty("ids") String[] ids();
}