cqframework / sample-content-ig

Sample Content IG
Apache License 2.0
7 stars 13 forks source link

Execute CQL with version in filename #12

Closed p9g closed 1 year ago

p9g commented 1 year ago

MADiE export includes the version number in the CQL filename, e.g., Foo-0.0.000.cql The file contents has library Foo version '0.0.000

The test cases are in tests/measure/Foo , so the folder name matched the CQL library name, Foo. If that file is opened and Execute CQL is run, it does not look in the Foo folder for the test cases; the output says "No data found at c:...\input\tests"

If the filename is changed to "Foo.cql" then Execute CQL works with "Data path: c:...\input\tests\measure\Foo"

It would be nice if Execute CQL could run without changing the CQL filename (keep the filename as exported from MADiE with the version number).

p9g commented 1 year ago

This comment was supposed to be for the vscode-cql repo. Opened there.