Updates the existing testSchema.xsd to support inline library tests:
Adds a name attribute to <output>, which should correspond to the expression definition name in the CQL
Adds a <library> element, which can be repeated.
Adds an initial example overload matching test. More should be added in separate PRs with appropriate discussion.
Some considerations:
This test schema is shared by FHIR Path as well, and we're adding CQL-only concepts to it. In discussion with @brynrhodes this was preferred to adding a separate cql-only test schema.
Using this test schema means we are still required to have groups of tests, which may be less applicable to library tests.
In a future PR I will:
Add GitHub actions CI to at least validate our XMLs against our XSDs to prevent accidental drift.
This change:
name
attribute to<output>
, which should correspond to the expression definition name in the CQL<library>
element, which can be repeated.Some considerations:
group
s of tests, which may be less applicable to library tests.In a future PR I will: