Class ReporterConfiguration

java.lang.Object
org.apache.maven.surefire.api.report.ReporterConfiguration

public class ReporterConfiguration extends Object
Bits and pieces of reporting configuration that seem to be necessary on the provider side.
Todo: Consider moving these fields elsewhere, this concept does not smell too good
Author:
Kristian Rosenvold
  • Constructor Details

    • ReporterConfiguration

      public ReporterConfiguration(File reportsDirectory, boolean trimStackTrace)
  • Method Details

    • getReportsDirectory

      public File getReportsDirectory()
      The directory where reports will be created, normally ${project.build.directory}/surefire-reports
      Returns:
      A file pointing at the specified directory
    • isTrimStackTrace

      public boolean isTrimStackTrace()
      Indicates if reporting should trim the stack traces.
      Returns:
      true if stacktraces should be trimmed in reporting