Interface IGetsReportPath
- Namespace
- CSF.Screenplay.Reporting
- Assembly
- CSF.Screenplay.Abstractions.dll
A service which gets the path to which the Screenplay report should be written.
public interface IGetsReportPath
Methods
GetReportPath()
Gets the path to which the report should be written.
string GetReportPath()
Returns
- string
The report path.
Remarks
If the returned path is null then Screenplay's reporting functionality should be disabled and no report should be written. Otherwise, implementations of this interface should return an absolute file system path to which the report should be written. This path must be writable by the executing process.
Reporting could be disabled if either the Screenplay Options report path is null or a whitespace-only string, or if the path indicated by those options is not writable.