-
Notifications
You must be signed in to change notification settings - Fork 183
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
Testing Toolkit and Build Automation #355
Conversation
Killed old fork - cloned from master - recreated testing in the new repository
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. @howieavp76 I recommend updating the PR title and description to better reflect the fact that you're re-adding the JSON examples, since they're integral to the testing functionality you're merging. Also, nit ... you can remove the erroneous space in [ x]
in the checkboxes in the description so they are properly rendered.
@anweiss - updated per your request. |
… for JSON validation script.
@howieavp76 I merged this PR into PR #358. I removed the scripts from your PR as most of this is handled by the current scripts, which use config files instead of hard coded entries. I am going to close this PR. |
@howieavp76 Here is some feedback on the scripts.
|
@howieavp76 I also noticed that jsonschema v3 is needed to support JSON schema draft-07. When I tried to install the latest version using I think it might be best to stick with ajv-cli for JSON validation, which works well. |
@david-waltermire-nist that sounds like a local package issue whereby when you use |
@david-waltermire-nist @anweiss I will switch the JSON checks to AJV as recommended. The jsonschema tool was underwhelming anyway and this will make life simpler. I will change out all of those checks to match. |
… for JSON validation script.
…358) * refactored directory structure to match the structure defined in issue #331. * removed travis config * removed generated documentation from the repository and added a script to generate them * initial commit of site build * Updated readmes to fix broken links and cleaned up unused files * Added a CircleCI status badge * merged in python scripts from #355. Enhanced error reporting for JSON validation script. * Updated out of date JSON files
…358) * refactored directory structure to match the structure defined in issue #331. * removed travis config * removed generated documentation from the repository and added a script to generate them * initial commit of site build * Updated readmes to fix broken links and cleaned up unused files * Added a CircleCI status badge * merged in python scripts from #355. Enhanced error reporting for JSON validation script. * Updated out of date JSON files
Testing Toolkit and Build Automation
Committer Notes
Initial test suite for validating OSCAL content. Includes automation scripts for conversions, XML validation, JSON validation, timestamp checks, and round trip conversions checks to improve the quality of OSCAL content. Related to issues #321 and #342. In addition, this change allows automated builds of JSON from the XML master data. This is necessary to validate conversion scripts and to ensure proper timestamp checking.
All Submissions:
Changes to Core Features: