Package org.alfresco.utility.listener
Class SanityTestsGeneratorListener
- java.lang.Object
-
- org.alfresco.utility.listener.SanityTestsGeneratorListener
-
- All Implemented Interfaces:
org.testng.ISuiteListener,org.testng.ITestNGListener
public class SanityTestsGeneratorListener extends java.lang.Object implements org.testng.ISuiteListenerListener class to generate a XML tests suite file, based on given TestGroups added as parameters. To run this listener, see src/main/resources/tas-suite-generator.xml file. By default, the testGroup is set to SANITY, but it can be changed setting testGroup parameter. The package name should point to the package we want to scan for tests. To generate the sanity xml suite: run tas-suite-generator.xml as TestNG suite. Result: the xml sanity suite will be generated on src/main/resources/tas-tests-suite.xml- Author:
- Cristina Diaconu
-
-
Constructor Summary
Constructors Constructor Description SanityTestsGeneratorListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonFinish(org.testng.ISuite suite)voidonStart(org.testng.ISuite suite)
-