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

org.catools.common.annotations.CTestIds 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 CTestIds} uses to mark test with the id which is using for future
 * traceability. (i.e. Jira Number)
 *
 * 

Please note: * *

    *
  • traceability is a most have for any testing system so we should be careful to have a unique * {@link CTestIds} for each test. *
  • we use Ids from this set when we get TestNG test suite for some scenarios. *
  • we plan to use this id for command line execution in future so using a command line you can * specify list of one or more tests to be executed. *
  • we use this ids to refer to the test during reporting . *
* * @see CDeferred * @see CAwaiting * @see COpenDefects */ @Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Target({METHOD}) public @interface CTestIds { @JsonProperty("ids") String[] ids(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy