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:

    1. Reference to a given TBTestSuite instance from which the test plan will be generated.
    2. String specifying the location where the test plan wants to be placed.
    3. Enumeration flag specifying the output format of the created test plan.
  • Outputs:

    None

  • Exceptions:

    1. If either the TBTestSuite reference of the provided output path is null or invalid then an Invalid Argument Exception will be thrown.
    2. If a non-supported output format enumeration is provided, then a Non-Supported Format exception will be thrown.

PublishResultReport

  • Inputs:

    1. Reference to a given TBTestSuite instance from which the result report will be generated.
    2. String specifying the location where the result report wants to be placed.
    3. Enumeration flag specifying the output format of the created result report.
  • Outputs:

    None

  • Exceptions:

    1. If either the TBTestSuite reference of the provided output path is null or invalid then an Invalid Argument Exception will be thrown.
    2. If a non-supported output format enumeration is provided, then a Non-Supported Format exception will be thrown.