spec Interface
veve / spec
Interface: spec
Defined in: reporter/spec.ts:15
Extends
Reporter
Properties
name
name:
string
Defined in: reporter/Reporter.ts:62
Name of the reporter plugin. This is typically a descriptive name, e.g., "FileReporter".
Inherited from
Reporter.name
type
type:
"file"
|"console"
Defined in: reporter/Reporter.ts:69
The type of the reporter plugin, which determines how the report is generated and output.
Inherited from
Reporter.type
Methods
report()
report(
options
):Promise
<any
>
Defined in: reporter/Reporter.ts:79
Generates a report based on the provided options.
Parameters
options
ReportOptions
Configuration for generating the report.
Returns
Promise
<any
>
A Promise
that resolves when the report is successfully generated. If an error occurs, it should be thrown.
Throws
If there is an issue generating the report (e.g., missing required output directory for file-based reports).
Inherited from
Reporter.report