Interface ReportSettingsInferrer

  • All Known Implementing Classes:
    GenericInferrer, JUnitInferrer, TestNGInferrer

    public interface ReportSettingsInferrer
    Interface to be implemented by classes that infer Project and Job names. Different unit testing frameworks (JUnit or TestNG) are inferred differently.
    • Field Detail

      • LOG

        static final org.slf4j.Logger LOG
        Logger instance.
    • Method Detail

      • inferReportSettings

        ReportSettings inferReportSettings()
        Infers Project and Job names from specific unit testing framework annotations.
        Returns:
        An instance of ReportSettings containing Project and Job names.
      • getUnnamedEntries

        default ReportSettings getUnnamedEntries()
        A default response for any inferrer, with 'Unnamed' Project and Job.
        Returns:
        An instance of ReportSettings containing 'Unnamed' Project and Job names.
      • inferTestName

        java.lang.String inferTestName()
        Infers Test name using specific Unit Test framework annotations.
        Returns:
        A name of the Test.