构造函数
constructor
-
方法
scanDirectory
-
scanDirectory(testDir: string): Promise<Annotation[]>
scanFile
-
getAnnotationsByType
-
getAnnotationsByFile
-
getSummary
-
getSummary(): { total: number; byType: Record<AnnotationType, number>; byFile: Record<string, number>;}
返回 {
total: number;
byType: Record<AnnotationType, number>;
byFile: Record<string, number>;
}
shouldSkipTest
-
shouldSkipTest(testId: string): boolean
返回 boolean
shouldExpectFail
-
shouldExpectFail(testId: string): boolean
返回 boolean
isSlowTest
-
isSlowTest(testId: string): boolean
返回 boolean
getPlaywrightAnnotations
-
getPlaywrightAnnotations(): Record<string, boolean>
返回 Record<string, boolean>
generateAnnotationReport
-
generateAnnotationReport(outputPath: string): Promise<string>
返回 Promise<string>