fix operation list missing in report (#945)
Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com>
This commit is contained in:
Родитель
a4f72e091a
Коммит
dcf092c73b
|
@ -20,7 +20,7 @@ import { NewmanExecution, NewmanReport, Scenario, Step } from "./apiScenarioType
|
|||
import { DataMasker } from "./dataMasker";
|
||||
import { JUnitReporter } from "./junitReport";
|
||||
import { generateMarkdownReport } from "./markdownReport";
|
||||
import { SwaggerAnalyzer } from "./swaggerAnalyzer";
|
||||
import { SwaggerAnalyzer, SwaggerAnalyzerOption } from "./swaggerAnalyzer";
|
||||
|
||||
export interface ApiScenarioTestResult {
|
||||
apiScenarioFilePath: string;
|
||||
|
@ -69,7 +69,9 @@ export interface RuntimeError {
|
|||
severity: SeverityString;
|
||||
}
|
||||
|
||||
export interface NewmanReportValidatorOption extends ApiScenarioLoaderOption {
|
||||
export interface NewmanReportValidatorOption
|
||||
extends ApiScenarioLoaderOption,
|
||||
SwaggerAnalyzerOption {
|
||||
apiScenarioFilePath: string;
|
||||
reportOutputFilePath: string;
|
||||
markdown?: boolean;
|
||||
|
|
|
@ -516,6 +516,7 @@ class PostmanCollectionRunner {
|
|||
const newmanReport = parseNewmanSummary(summary as any);
|
||||
|
||||
const newmanReportValidatorOption: NewmanReportValidatorOption = {
|
||||
swaggerFilePaths: scenario._scenarioDef._swaggerFilePaths,
|
||||
apiScenarioFilePath: scenario._scenarioDef._filePath,
|
||||
reportOutputFilePath: defaultQualityReportFilePath(reportExportPath),
|
||||
checkUnderFileRoot: false,
|
||||
|
|
Загрузка…
Ссылка в новой задаче