So you have your Schematron schema. How do you make a unit or regression test for it, to demonstrate that it works (or has not broken)?
The XSpec unit test framework now allows tests of Schematron schemas.
Announcing this, Vincent Lizzi has a paper Testing Schematron using XSpec at the Basilage: The Markup Conference 2017 website.