public class TestSuite extends AbstractTest
| 构造器和说明 |
|---|
TestSuite(com.alibaba.fastjson.JSONObject suite) |
| 限定符和类型 | 方法和说明 |
|---|---|
TestSuite |
browser(String browser,
com.alibaba.fastjson.JSONObject config) |
int |
countTestCases()
Returns count of the test.
|
void |
run(TestResult result)
running test
|
void |
setUp(String type)
invoke the setUp of the test.
|
void |
teardown(String type)
invoke the teardown of the test.
|
addVariables, duration, getName, getSteps, setEndTime, setNamepublic int countTestCases()
Testpublic void run(TestResult result)
Testresult - the test resultpublic void setUp(String type) throws ExtenderException
AbstractTestsetUp 在类中 AbstractTestExtenderExceptionpublic void teardown(String type)
AbstractTestCopyright © 2019. All rights reserved.