Class GenericInferrer

    • Constructor Summary

      Constructors 
      Constructor Description
      GenericInferrer​(java.util.List<java.lang.StackTraceElement> traces)
      Initializes a new Generic inferrer.
    • Constructor Detail

      • GenericInferrer

        public GenericInferrer​(java.util.List<java.lang.StackTraceElement> traces)
        Initializes a new Generic inferrer.
        Parameters:
        traces - Stack traces list to analyze.
    • Method Detail

      • inferReportSettings

        public ReportSettings inferReportSettings()
        Returns Project and Job names using package and class names.

        Method uses the package name and the class names of the first entry in stack, for Project and Job names accordingly.

        Specified by:
        inferReportSettings in interface ReportSettingsInferrer
        Returns:
        An instance of ReportSettings containing Project and Job names.
      • inferTestName

        public java.lang.String inferTestName()
        Infers Test name using specific Unit Test framework logic.
        Specified by:
        inferTestName in interface ReportSettingsInferrer
        Returns:
        A name of the Test.