-
Notifications
You must be signed in to change notification settings - Fork 9
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 and repairs including JSON Schema generation enhancements #119
Conversation
* XSpec tests and minor XSLT improvements Co-authored-by: Wendell Piez <[email protected]>
Refactoring submodules; XProc-based testing; XSpec testing of JSON Schema generation; improvements to JSON Schema generation - addressing #105 also #2007.
Integrating branches Co-authored-by: A.J. Stein <[email protected]>
#117 is addressed in the file src/converter-gen/Makefile. In bash, invoke the XSpecs under It is also invoked under CI/CD, as shown in results. Planned next is cleanup, build-out and documentation of all testing. Making this easier for devs can be on this punchlist. |
I drilled down into the XSpec Test Results (https://github.com/usnistgov/metaschema-xslt/pull/119/checks?check_run_id=25960758809) by clicking Raw output under (The raw results appear to alphabetize the labels, btw.) |
Excellent, thanks @galtm. Before this branch is merged, more tests will be placed under the |
Includes updates to unit testing, Inspector XSLT, JSON Schema (#105) and others Co-authored-by: A.J. Stein <[email protected]>
Mostly testing support - * Adding Makefile in compose phase to run XSpec - presently showing errors! * Extending and reorganizing testing, including removing temporary artifacts from git * Adding subpipeline mistakenly omitted from the last PR * New Makefile for testing/tinydata * Mending XSpecs testing Metaschema composition (regression protection); also a new tinydata sample. * Update src/testing/tinydata/tiny-data/terms-of-art.xml (AJ Stein) Co-authored-by: A.J. Stein <[email protected]> --------- Co-authored-by: A.J. Stein <[email protected]>
This is ready to shake down. It includes lots of new tests, and refactors submodules. |
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.
There some really good improvements here. I did some quick integration testing with OSCAL models and it adds some nice cosmetic improvements. I think there are some other changes that can be made for JSON Schema generation, but that can wait for later issues and PRs filed.
Thanks for this big pile of work.
@@ -75,15 +75,15 @@ | |||
</define-flag> | |||
<METASCHEMA abstract="yes" | |||
module="oscal-test-m1" | |||
_base-uri="file:/C:/Users/wap1/Documents/usnistgov/metaschema/toolchains/xslt-M4/compose/testing/module_metaschema.xml"> | |||
_base-uri="..."> |
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.
Non-blocking: thanks for cleaning these things up, I appreciate it.
@@ -0,0 +1,7009 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
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.
Non-blocking: as always, I will recommend deleting intermediate outputs if possible to make the noise on changes as tests evolve cleaner and not confuse novice devs in the repo, but I defer to you as the maintainer on this project. 😄
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.
Hi, @aj-stein-nist . If I'm interpreting this PR correctly, I introduced this file in #87. The purpose of the file is to provide markup that XSpec can use for unit testing of pieces of this pipeline. Can your concern about novice devs be addressed by code comments in the file or a README in the directory?
This PR, when ready, will contain:
And other improvements.
Apologies for the size of this PR!
All Submissions:
Changes to Core Features: