Add test case resource validation

Aperta
#202 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript, vscode

Direzione di ricerca

Read the earlier implementation on the local feature/resourse-validation branch and compare it with current code, then review the commands in cql-language-server 5.1.0. Trace the extension’s test case handling, CQL Explorer, config editor, and schema entry points. Done means the requested validation flows and opt-in settings work, the bundled language server is bumped, and docs and changelog are updated.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Add test case resource validation to the extension, using the commands shipped in cql-language-server 5.1.0 (cqframework/cql-language-server#160).

Scope

  • Validate command (cql.test-case.validate): validates a test case file, folder, or all test cases of the active library. Results appear as diagnostics in the Problems panel at the offending file and line.
  • CQL Explorer: validate a single test case or all test cases of a library from the tree, with an error/warning/pass icon and tooltip counts on each test case.
  • Validate on save: opt-in, debounced per test case folder. Ignores results/ and shared/.
  • Before-execute check: opt-in off / warn / block for Execute CQL and the debugger.
  • Optional FHIR profile validation (QUICK / FULL) with background prewarm. While the engine builds, results include custom checks only and the user is told to re-run.
  • Config: a validation section in input/tests/config.jsonc, editable in the config editor, and added to schemas/cql-config.schema.json.
  • Bump the bundled language server to 5.1.0.
  • Docs and changelog.

Notes

An earlier implementation exists on a local branch (feature/resourse-validation) and is being re-applied onto current code. It was held back until the language server release existed.

Related: #114 (warning for test cases with bad references).

Lingua principale
TypeScript
Stelle
14
Fork
8
Merge medio
1g 22h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cqframework/vscode-cql

Tutte le issue di cqframework/vscode-cql

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.