Class ProductTestAnnotationTransformer

java.lang.Object
io.trino.tempto.internal.listeners.ProductTestAnnotationTransformer
All Implemented Interfaces:
org.testng.IAnnotationTransformer, org.testng.ITestNGListener

public class ProductTestAnnotationTransformer extends Object implements org.testng.IAnnotationTransformer
Responsible for transforming the Test annotations in the following ways:

  1. Ensure that the annotation is only on a test method and not a class or constructor
  • Constructor Details

    • ProductTestAnnotationTransformer

      public ProductTestAnnotationTransformer()
  • Method Details

    • transform

      public void transform(org.testng.annotations.ITestAnnotation annotation, Class testClass, Constructor testConstructor, Method testMethod)
      Specified by:
      transform in interface org.testng.IAnnotationTransformer