Constructor and Description |
---|
TestSuiteBuilder() |
Modifier and Type | Method and Description |
---|---|
TestSuite |
build() |
TestSuite.TestSuiteBuilder |
withAbortCount(String abortCount)
Sets aborted test case count in suite.
|
TestSuite.TestSuiteBuilder |
withElapsedTime(String elapsedTime)
Sets suite duration.
|
TestSuite.TestSuiteBuilder |
withFailCount(String failCount)
Sets failed test case count in suite.
|
TestSuite.TestSuiteBuilder |
withName(String name)
Sets the name.
|
TestSuite.TestSuiteBuilder |
withPassCount(String passCount)
Sets passed test case count in suite.
|
TestSuite.TestSuiteBuilder |
withStart(String start)
Sets suite start moment as Date.
|
TestSuite.TestSuiteBuilder |
withStop(String stop)
Sets suite stop moment as Date.
|
TestSuite.TestSuiteBuilder |
withTestCases(List<TestCase> testCases)
Sets test cases.
|
TestSuite.TestSuiteBuilder |
withTotalTestsCount(String totalTestsCount)
Sets total test case count in suite.
|
TestSuite.TestSuiteBuilder |
withWarningCount(String warningCount)
Sets warned test case count in suite.
|
public TestSuite.TestSuiteBuilder withTestCases(List<TestCase> testCases)
testCases
- test casespublic TestSuite.TestSuiteBuilder withName(String name)
name
- namepublic TestSuite.TestSuiteBuilder withElapsedTime(String elapsedTime)
elapsedTime
- string test durationpublic TestSuite.TestSuiteBuilder withStart(String start)
start
- string timestamp in yyyy-MM-dd'T'HH:mm:ss-SSSS formatpublic TestSuite.TestSuiteBuilder withStop(String stop)
stop
- string timestamp in yyyy-MM-dd'T'HH:mm:ss-SSSS formatpublic TestSuite.TestSuiteBuilder withTotalTestsCount(String totalTestsCount)
totalTestsCount
- test case countpublic TestSuite.TestSuiteBuilder withPassCount(String passCount)
passCount
- passed test case countpublic TestSuite.TestSuiteBuilder withFailCount(String failCount)
failCount
- failed test case countpublic TestSuite.TestSuiteBuilder withWarningCount(String warningCount)
warningCount
- warned test case countpublic TestSuite.TestSuiteBuilder withAbortCount(String abortCount)
abortCount
- aborted test case countpublic TestSuite build()
Copyright © 2016–2022 CA Technologies. All rights reserved.