Schematron is a powerful, flexible, and user-friendly tool for validating and reporting on XML content. Developing a Schematron schema can involve a lot of testing to ensure that each Schematron rule works as expected. A robust test suite may contain multiple XML samples for every Schematron rule in order to test both passing and failing conditions. XSpec — an open source unit test and behavior-driven development framework for XSLT and XQuery — now has the ability to test Schematron. Tests for a Schematron can be described using XSpec test scenarios, and the tests can be run automatically by XSpec. The end result is a report showing which tests passed and which tests failed. The new support for Schematron testing in XSpec enables test-driven development for Schematron and automated regression testing for Schematron in a continuous integration environment.