Modify Annotations Programmatically Using TestNG IAnnotationTransformer2

Among the sevral listeners provided by TestNG, I find IAnnotationTransformer2 listener as one of the coolest ones. Th reason being, it allows to modify or change the annotations through code by changing the annotations parameters, instead of declarative approach through XML. It works at both levels viz. annotations on classes and methods. Read more about … Continue reading Modify Annotations Programmatically Using TestNG IAnnotationTransformer2

Advertisements