Class ReportConfiguration
The class used for configuring the report.
public class ReportConfiguration : BaseConfiguration, IReportConfiguration
- Inheritance
-
ReportConfiguration
- Implements
Constructors
ReportConfiguration()
Initializes a new instance of the ReportConfiguration class that is initialized with the report configuration values from the local assembly's app.config file.
public ReportConfiguration()
ReportConfiguration(Assembly)
Initializes a new instance of the ReportConfiguration class with the assembly value of type System.Configuration.Assembly.
public ReportConfiguration(Assembly assembly)
Parameters
assemblyAssemblyThe System.Configuration.Assembly containing the app.config whose report configuration you want to use.
Remarks
Using this constructor is useful if you want multiple assemblies to all use the report configuration settings from a central app.config file.
Properties
Description
the report description.
public string Description { get; set; }
Property Value
Remarks
The description appears directly below the title in the report. By default, the description is empty.
IsJUnitEnabled
The boolean value indicating if the JUnit report will be generated or not.
public bool IsJUnitEnabled { get; set; }
Property Value
IsOverrideExisting
Indicates whether the existing report files will be overridden. If false, each report filename gets an ordinal suffix.
public bool IsOverrideExisting { get; set; }
Property Value
ReportEnabled
Specifies if the report should be enabled or not.
public bool ReportEnabled { get; }
Property Value
Remarks
Default = true
ReportFolder
The name of the folder where the report is generated.
public string ReportFolder { get; set; }
Property Value
Remarks
Default = RunResults
ReportLevel
The level of events to be reported. Possible values: ReportLevel.
public ReportLevel ReportLevel { get; set; }
Property Value
SeparateReport
Defines the report separation.
public ReportGranularity SeparateReport { get; set; }
Property Value
Remarks
Default = Off
SnapshotsLevel
The snapshot capture level used to generate the report.
public CaptureLevel SnapshotsLevel { get; set; }
Property Value
Remarks
Possible values: CaptureLevel
TargetDirectory
The root directory where report folders are generated. Default = project Output path.
public string TargetDirectory { get; set; }
Property Value
Title
the report title.
public string Title { get; set; }
Property Value
Remarks
Default = Run Results