Interface Report

All Known Implementing Classes:
Counting, CSVReport, StoredReport

public interface Report
Specify a report resulting from a DefaultTestCampaign.
Author:
Fabien Hermenier
  • Method Summary

    Modifier and Type Method Description
    default int defects()
    Returns the number of defects that is the failures plus the over-filtering plus the under-filtering.
    default void done()
    An event to signal the last test has been executed.
    int failures()
    Indicates the number of test cases that crashed
    int overFiltering()
    Indicates the number of over-filtering test cases.
    int success()
    Indicates the number of successful test cases.
    int underFiltering()
    Indicates the number of under-filtering test cases.
    void with​(TestCaseResult r)
    Add a given result
  • Method Details

    • with

      void with​(TestCaseResult r)
      Add a given result
      Parameters:
      r - the result to add
    • overFiltering

      int overFiltering()
      Indicates the number of over-filtering test cases.
      Returns:
      a positive number
    • underFiltering

      int underFiltering()
      Indicates the number of under-filtering test cases.
      Returns:
      a positive number
    • failures

      int failures()
      Indicates the number of test cases that crashed
      Returns:
      a positive number
    • success

      int success()
      Indicates the number of successful test cases.
      Returns:
      a positive number
    • defects

      default int defects()
      Returns the number of defects that is the failures plus the over-filtering plus the under-filtering.
      Returns:
      a positive number
    • done

      default void done()
      An event to signal the last test has been executed.