18F / fedramp-automation

FedRAMP Automation
https://federalist-2372d2fd-fc94-42fe-bcc7-a8af4f664a51.app.cloud.gov/site/18f/fedramp-automation/
Other
16 stars 6 forks source link

Unit Test Harness for schematron validations #5

Closed mike-stern closed 3 years ago

mike-stern commented 3 years ago

As a schematron developer, i want a unit test harness to prove the validation rules I add are delivering their intended function.

mike-stern commented 3 years ago

XSpec seems to be a leading candidate: https://www.balisage.net/Proceedings/vol19/html/Lizzi01/BalisageVol19-Lizzi01.html

mike-stern commented 3 years ago

Xspec is direction, Add

mike-stern commented 3 years ago

Looking at the direction of using xml-model for declarative Schematron validation within XML. ala

<?xml-model href="../../src/ssp.sch" type="applicaiont/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>

This aligns with the goals of having tooling support that would highlight (in-line) validations of the business rules set forth in the Schematron

mike-stern commented 3 years ago

Also researching tooling (vs Code or other open source options) that support xml-model and or xpec test harness. These videos (xpec and schematron and Schematron quick fixes) highlight the power brought forth using oxygen XML editor, but the license cost may be prohibitive for community adoption.