phax / ph-schematron

Java Schematron library that supports XSLT and native application
Apache License 2.0
112 stars 36 forks source link

Add tests for Schematron generation. #26

Closed baerrach closed 8 years ago

baerrach commented 8 years ago

Code for working on https://github.com/phax/ph-schematron/issues/25

Note: None of the test have assert/fails yet.

MavenPluginSchematronTest fails because of no namespace prefixes.

XlstSchematronTest succeeds because it has correct namespace prefixes.

PHSchematronTest is an attempt to write tests closer to the guts of where the code does the work as the MavenPlugin is too high level.

codecov-io commented 8 years ago

Current coverage is 54.78%

Merging #26 into master will decrease coverage by 1.04%

@@             master        #26   diff @@
==========================================
  Files            99        103     +4   
  Lines          4007       4200   +193   
  Methods           0          0          
  Messages          0          0          
  Branches        871        894    +23   
==========================================
+ Hits           2237       2301    +64   
- Misses         1447       1561   +114   
- Partials        323        338    +15   

Powered by Codecov. Last updated by c837594...452574a