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

org.catools.common.annotations.CAwaiting Maven / Gradle / Ivy

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 CAwaiting} uses to mark test which fails and awaiting action from someone
 * or if needs investigation.
 *
 * 

Please note: * *

    *
  • We have a flag CORE_SKIP_CLASS_WITH_AWAITING_TEST to avoid running tests with {@link * CAwaiting} annotation. *
  • if test fails due to knows defect then we should use {@link COpenDefects} annotation * instead. *
  • after when defect has been fixed we replace {@link COpenDefects} with {@link CDefects}. We * do this to ensure that we have visibility on all related defects so in case if open return * developers can identify the root cause faster. *
* * @see CDeferred * @see CIgnored * @see CDefects * @see COpenDefects */ @Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Target({METHOD}) public @interface CAwaiting { @JsonProperty("cause") String cause(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy