Interface TestReportMetrics.Builder

  • Method Details

    • testsTotal

      TestReportMetrics.Builder testsTotal(Integer testsTotal)

      The total number of tests in the job.

      Parameters:
      testsTotal - The total number of tests in the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testsPassed

      TestReportMetrics.Builder testsPassed(Integer testsPassed)

      The number of tests that passed.

      Parameters:
      testsPassed - The number of tests that passed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testsFailed

      TestReportMetrics.Builder testsFailed(Integer testsFailed)

      The number of tests that failed.

      Parameters:
      testsFailed - The number of tests that failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testsSkipped

      TestReportMetrics.Builder testsSkipped(Integer testsSkipped)

      The number of tests that were skipped.

      Parameters:
      testsSkipped - The number of tests that were skipped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testsErrored

      TestReportMetrics.Builder testsErrored(Integer testsErrored)

      The number of tests that errored.

      Parameters:
      testsErrored - The number of tests that errored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testsOther

      TestReportMetrics.Builder testsOther(Integer testsOther)

      The number of tests with other result types.

      Parameters:
      testsOther - The number of tests with other result types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testsPassedPercentage

      TestReportMetrics.Builder testsPassedPercentage(Double testsPassedPercentage)

      The percentage of tests that passed.

      Parameters:
      testsPassedPercentage - The percentage of tests that passed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalTestExecutionDurationSeconds

      TestReportMetrics.Builder totalTestExecutionDurationSeconds(Double totalTestExecutionDurationSeconds)

      The total execution duration of all tests in the job, in seconds.

      Parameters:
      totalTestExecutionDurationSeconds - The total execution duration of all tests in the job, in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • medianTestExecutionDurationSeconds

      TestReportMetrics.Builder medianTestExecutionDurationSeconds(Double medianTestExecutionDurationSeconds)

      The median execution duration of tests in the job, in seconds.

      Parameters:
      medianTestExecutionDurationSeconds - The median execution duration of tests in the job, in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.