Skip to content

Commit e2de059

Browse files
adds CQL Explorer (#159)
* adds CQL Explorer * fixes a cross platform directory testing issue * fixes linux specific file path test errors
1 parent ce68c3b commit e2de059

71 files changed

Lines changed: 11571 additions & 906 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ target
77
dist
88
bin
99
.vscode-test
10-
src/__test__/resources/test-workspace/input/tests/results
10+
src/__test__/resources/simple-project/input/tests/results

.vscode-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { defineConfig } = require('@vscode/test-cli');
33
module.exports = defineConfig({
44
label: 'Tests (Empty Folder)',
55
files: 'dist/__test__/**/*.test.js',
6-
workspaceFolder: './src/__test__/resources/test-workspace',
6+
workspaceFolder: './src/__test__/resources/simple-project',
77
launchArgs: [
88
'tests/empty',
99
'--new-window',

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"request": "launch",
1919
"runtimeExecutable": "${execPath}",
2020
"args": [
21-
"${workspaceFolder}/src/__test__/resources/test-workspace",
21+
"${workspaceFolder}/src/__test__/resources/simple-project",
2222
"--extensionDevelopmentPath=${workspaceFolder}",
2323
"--disable-extensions",
2424
"--new-window",

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,7 @@
3030
"editor.codeActionsOnSave": {
3131
"source.organizeImports": "explicit"
3232
},
33-
"editor.formatOnSave": true
33+
"editor.formatOnSave": true,
34+
"mochaExplorer.files": "src/__test__/**/*",
35+
"mochaExplorer.require": "ts-node/register"
3436
}

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Change Log
22

3+
## v0.9.2 (prerelease)
4+
5+
Date: 2026-03-31
6+
7+
### CQL Explorer
8+
9+
Adds a new **CQL Explorer** tree view for managing CQL libraries and MADIE test cases.
10+
11+
* **Library tree** — browse all CQL libraries in the workspace alongside their FHIR test case directories
12+
* **Expand / collapse all** — expand or collapse the entire tree with a single toolbar button
13+
* **Execute all test cases** — run all test cases for a library or for the entire workspace from the toolbar or context menu
14+
* **Test case cloning** — clone an existing test case with fresh patient and resource UUIDs auto-generated
15+
* **Resource operations** — copy, cut, paste, rename, and delete individual FHIR resources within a test case; paste rewrites all patient ID references to match the target test case
16+
* **Fix references** — auto-correct patient UUID mismatches across resources in a test case
17+
* **Filtering** — filter libraries by name (hide empty libraries, show only matching names) and filter test cases within a library by name or description; active filters are shown in the tree view description
18+
* **Sorting** — sort libraries ascending or descending by name
19+
* **Layout warnings** — detects non-standard test case directory structures and reports them in the Problems panel
20+
* **Expansion state persistence** — remembers which libraries and test cases are expanded across tree rebuilds
21+
322
## v0.9.1 (prerelease)
423

524
Date: 2026-03-30

icons/cqframework-white-bg.png

4.9 KB
Loading

0 commit comments

Comments
 (0)