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

org.testng.IAlterSuiteListener Maven / Gradle / Ivy

There is a newer version: 7.10.1
Show newest version
package org.testng;

import org.testng.xml.XmlSuite;

import java.util.List;

/**
 * Implementations of this interface will gain access to the {@link XmlSuite} object and thus let
 * users be able to alter a suite or a test based on their own needs. This listener can be added
 * ONLY via the following two ways :
 *
 * 
    *
  1. <listeners> tag in a suite file. *
  2. via Service loaders *
* *

Note: This listener will NOT be invoked if it is wired in via the @ * Listeners annotation. */ public interface IAlterSuiteListener extends ITestNGListener { /** @param suites - The list of {@link XmlSuite}s that are part of the current execution. */ default void alter(List suites) { // not implemented } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy