Publisher - S41nz/TBTAF GitHub Wiki
TBTAF Publisher
Overview
Is in charge on generating all the test execution related documentation collateral.
- Based on the discovered test metadata it can build a Test plan specification on a desired format.
- Based on the execution result of a given test suite, it can build a Test execution report on a desired format.
API Specification
PublishTestPlan
-
Inputs:
- Reference to a given TBTestSuite instance from which the test plan will be generated.
- String specifying the location where the test plan wants to be placed.
- Enumeration flag specifying the output format of the created test plan.
-
Outputs:
None
-
Exceptions:
- If either the TBTestSuite reference of the provided output path is null or invalid then an Invalid Argument Exception will be thrown.
- If a non-supported output format enumeration is provided, then a Non-Supported Format exception will be thrown.
PublishResultReport
-
Inputs:
- Reference to a given TBTestSuite instance from which the result report will be generated.
- String specifying the location where the result report wants to be placed.
- Enumeration flag specifying the output format of the created result report.
-
Outputs:
None
-
Exceptions:
- If either the TBTestSuite reference of the provided output path is null or invalid then an Invalid Argument Exception will be thrown.
- If a non-supported output format enumeration is provided, then a Non-Supported Format exception will be thrown.