public class TestSuite extends Object
ISimpleTest
object of the tests present in the suite file.Constructor and Description |
---|
TestSuite(File file,
List<String> arguments)
Constructor to create
TestSuite object. |
Modifier and Type | Method and Description |
---|---|
List<ISimpleTest> |
getAllTestsAsList()
This method internally identifies the supported
ISuiteFileReader implementation in the framework and accordingly parses
the suite file and return ISimpleTest objects for all the tests present in the suite file. |
Object[][] |
getAllTestsForDataDrive()
This method internally identifies the supported
ISuiteFileReader implementation in the framework and accordingly parses
the suite file and return ISimpleTest objects for all the tests present in the suite file. |
Object[][] |
getTobeExecutedTests()
This method internally identifies the supported
ISuiteFileReader implementation in the framework and accordingly parses
the suite file and return ISimpleTest objects of only those tests that are enabled in the suite file. |
public List<ISimpleTest> getAllTestsAsList()
ISuiteFileReader
implementation in the framework and accordingly parses
the suite file and return ISimpleTest
objects for all the tests present in the suite file.List
or ISimpleTest
for all the tests present inside the said test-suite file.public Object[][] getAllTestsForDataDrive()
ISuiteFileReader
implementation in the framework and accordingly parses
the suite file and return ISimpleTest
objects for all the tests present in the suite file.
This method is mainly used as a Data provider for the TestNG data driven methods.Object
[][] containing object of ISimpleTest
for all the tests present inside the said test-suite file.public Object[][] getTobeExecutedTests()
ISuiteFileReader
implementation in the framework and accordingly parses
the suite file and return ISimpleTest
objects of only those tests that are enabled in the suite file.
This method is mainly used as a Data provider for the TestNG data driven methods.Object
[][] containing object of ISimpleTest
for the enabled tests present inside the said test-suite file.Copyright © 2014. All rights reserved.