构造函数
方法
scanDirectory
scanDirectory(testDir: string): Promise<Annotation[]>
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
shouldExpectFail
shouldExpectFail(testId: string): boolean
isSlowTest
isSlowTest(testId: string): boolean
getPlaywrightAnnotations
getPlaywrightAnnotations(): Record<string, any>
generateAnnotationReport
generateAnnotationReport(outputPath: string): Promise<string>