-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete coverage of JSON Schema production unit tests #18
Comments
@wendellpiez will do a gap analysis of what tests are missing here. We will plan what tests to add based on this review. |
Notes here including some preliminary gap analysis: It's work in progress. I can make a PR. |
The link above is to a private repository. Here is a copy of the linked information: What we are testing explicitlyFlag definitionsDatatypesAllowed valuesMarkdown and character representationA full suite of markdown conversion tests is probably in order. GroupingJSON behaviors but not yet much on XML behaviors. Could use more thorough coverage. ALL FEATURESChecked if started - may be partial coverage
|
This issue needs to be split into two.
We need to build the additional issues. We can create issues in "feature clusters". Something like "assembly", "import", and "example" clusters that contain all gaps in each area. @wendellpiez Can you create these issues? |
I added a unit test for collapsible in the refactored Metaschema project. This project needs to be integrated with the current CI/CD workflow. I'll take care of this as part of this issue. |
User Story:
As an OSCAL developer, I can refer to unit tests to validate JSON Schema production from metaschemas for the different OSCAL models. While this currently functions well, it is still incomplete. A complete set of unit tests will exercise as much of the Metaschema semantics (as they are expressed in JSON) as anyone (ever) uses, and certainly any features of Metaschema that are used in OSCAL models.
Goals:
Unit testing can be trusted to provide solid regression testing going forward.
This unit testing needs to support OSCAL schema production, but also be portable into a standalone Metaschema repository cf usnistgov/OSCAL#500.
Dependencies:
We need some way to determine what "complete" means in this context. The Metaschema XSD should probably define the boundaries.
If/as we document Metaschema semantics, we could tie the documentation into (the) unit tests that illustrate the functionality. This suggests we also go the other way; i.e., as we document the Metaschema semantics, we come back to unit tests to ensure coverage.
Acceptance Criteria
TBD
{The items above are general acceptance criteria for all User Stories. Please describe anything else that must be completed for this issue to be considered resolved.}
The text was updated successfully, but these errors were encountered: