|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITestContext
This class defines a test context which contains all the information for a given test run. An instance of this context is passed to the test listeners so they can query information about their environment.
Method Summary | |
---|---|
ITestNGMethod[] |
getAllTestMethods()
|
XmlTest |
getCurrentXmlTest()
|
Date |
getEndDate()
When this test stopped running. |
String[] |
getExcludedGroups()
|
Collection<ITestNGMethod> |
getExcludedMethods()
|
IResultMap |
getFailedButWithinSuccessPercentageTests()
|
IResultMap |
getFailedConfigurations()
Retrieves information about the failed configuration method invocations. |
IResultMap |
getFailedTests()
|
String |
getHost()
|
String[] |
getIncludedGroups()
|
String |
getName()
The name of this test. |
String |
getOutputDirectory()
|
IResultMap |
getPassedConfigurations()
Retrieves information about the successful configuration method invocations. |
IResultMap |
getPassedTests()
|
IResultMap |
getSkippedConfigurations()
Retrieves information about the skipped configuration method invocations. |
IResultMap |
getSkippedTests()
|
Date |
getStartDate()
When this test started running. |
ISuite |
getSuite()
|
Methods inherited from interface org.testng.IAttributes |
---|
getAttribute, getAttributeNames, removeAttribute, setAttribute |
Method Detail |
---|
String getName()
Date getStartDate()
Date getEndDate()
IResultMap getPassedTests()
IResultMap getSkippedTests()
IResultMap getFailedButWithinSuccessPercentageTests()
IResultMap getFailedTests()
ITestNGMethod
String[] getIncludedGroups()
String[] getExcludedGroups()
String getOutputDirectory()
ISuite getSuite()
ITestNGMethod[] getAllTestMethods()
String getHost()
Collection<ITestNGMethod> getExcludedMethods()
IResultMap getPassedConfigurations()
IResultMap getSkippedConfigurations()
IResultMap getFailedConfigurations()
XmlTest getCurrentXmlTest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |