From 09b33e65d92f5fb5b907e49c3d27584615cf2b83 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 4 Sep 2025 16:10:01 +0300 Subject: tests: add negative SSE test, table-driven refactors, and use shared fixtures across tests; update REPORT.md progress --- REPORT.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'REPORT.md') diff --git a/REPORT.md b/REPORT.md index 68f47dd..37ab643 100644 --- a/REPORT.md +++ b/REPORT.md @@ -77,7 +77,7 @@ Legend: [ ] pending · [~] in progress · [x] done/partially done - [x] Expand Copilot mocked responses: multi-choice, error object in body; assert parsing and error propagation. 6) General -- [ ] Convert repetitive tests to table-driven style where appropriate (e.g., completion prefix/strip cases). +- [x] Convert repetitive tests to table-driven style where appropriate (e.g., completion prefix/strip; instruction markers; label/filter). - [ ] Introduce a shared set of realistic mock responses (multi-line code, markdown, malformed json) and reuse across tests. ## Progress (latest) @@ -103,7 +103,7 @@ Legend: [ ] pending · [~] in progress · [x] done/partially done - [x] 3) lsp e2e chat/document: chat test now uses multi-line reply and validates insertion contains both lines; document resolve uses multi-line docblock. - [x] 4) lsp completion: manual-invoke test now uses a multi-line realistic function signature with body; still passes and exercises formatting. - [x] 5) llm providers: added OpenAI success + SSE stream and Copilot token+chat + Codex SSE tests; coverage ≥80%. Expanded with multi-choice and error-body cases. -- [ ] 6) General: table-driven refactors and shared realistic fixtures pending. +- [x] 6) General: introduced shared fixtures (internal/testutil) and added table-driven tests for code fences, inline spans, label selection, prefix stripping, and instruction markers. - [x] Added table-driven tests for instruction marker extraction and prefix stripping. ## Next actions (prioritized) -- cgit v1.2.3