org.testng.IAlterTestName Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
A testing framework for the JVM
package org.testng;
/**
* This interface lets you alter the test name of an {@link ITestResult} object.
* Sample :
*
*
* if (testResult instanceOf IAlterTestName) {
* ((ITestResult) testResult).setTestName(newName);
* }
*
*
*/
public interface IAlterTestName {
/**
* @param name - The new name to be used as a test name
*/
void setTestName(String name);
}