Skip to content

Commit 94f82c5

Browse files
committed
Updated result display
1 parent 60cadf6 commit 94f82c5

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

β€Žts/tests/XMLSchemaTestSuite.tsβ€Ž

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ export class XMLSchemaTestSuite {
109109
console.log(`πŸ”‡ Suppressed ${suppressedOutput.length} verbose parser messages for cleaner output`);
110110
console.log('');
111111
this.printResults();
112-
this.printErrorAnalysis();
113112
this.saveResults();
114113
}
115114

@@ -1106,37 +1105,6 @@ export class XMLSchemaTestSuite {
11061105

11071106
return recommendations;
11081107
}
1109-
1110-
private printErrorAnalysis(): void {
1111-
console.log('πŸ” Schema Validation Error Analysis');
1112-
console.log(' ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');
1113-
console.log(` β€’ Total Unique Error Types: ${this.results.errorAnalysis.totalUniqueErrors}`);
1114-
1115-
if (this.results.errorAnalysis.mostCommonError) {
1116-
console.log(` β€’ Most Common Error: "${this.results.errorAnalysis.mostCommonError}" (${this.results.errorAnalysis.mostCommonErrorCount} occurrences)`);
1117-
}
1118-
1119-
console.log('');
1120-
console.log(' πŸ“Š Error Categories (by frequency):');
1121-
for (let i = 0; i < this.results.errorAnalysis.errorCategories.length && i < 7; i++) {
1122-
const category = this.results.errorAnalysis.errorCategories[i];
1123-
console.log(` ${i + 1}. ${category}`);
1124-
}
1125-
1126-
console.log('');
1127-
console.log(' πŸ’‘ Top Recommendations:');
1128-
for (let i = 0; i < this.results.errorAnalysis.recommendations.length && i < 5; i++) {
1129-
console.log(` ${i + 1}. ${this.results.errorAnalysis.recommendations[i]}`);
1130-
}
1131-
1132-
console.log('');
1133-
console.log(' πŸ“‹ Next Steps:');
1134-
console.log(' β€’ Review w3c-schema-test-report.json for detailed error information');
1135-
console.log(' β€’ Focus on the most frequent error categories first');
1136-
console.log(' β€’ Use example files from the report to reproduce issues');
1137-
console.log(' β€’ Re-run tests after fixes to measure improvement');
1138-
console.log('');
1139-
}
11401108
}
11411109

11421110
// Type definitions

0 commit comments

Comments
Β (0)