From da695eb56c105334b7dddd50f01072dea221a748 Mon Sep 17 00:00:00 2001 From: Paul Carleton Date: Thu, 30 Oct 2025 13:26:21 +0000 Subject: [PATCH] fix runner --- src/runner/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/runner/index.ts b/src/runner/index.ts index 582072f..4c90a12 100644 --- a/src/runner/index.ts +++ b/src/runner/index.ts @@ -146,12 +146,14 @@ async function main(): Promise { try { const result = await runConformanceTest(command, scenario); + const denominator = result.checks.filter(c => c.status === 'SUCCESS' || c.status == 'FAILURE').length; const passed = result.checks.filter(c => c.status === 'SUCCESS').length; const failed = result.checks.filter(c => c.status === 'FAILURE').length; + console.log(`Checks:\n${JSON.stringify(result.checks, null, 2)}`); + console.log(`\nTest Results:`); - console.log(`Passed: ${passed}/${result.checks.length}`); - console.log(`Failed: ${failed}/${result.checks.length}`); + console.log(`Passed: ${passed}/${denominator}, ${failed} failed`); if (failed > 0) { console.log('\nFailed Checks:');