Enteee / plantuml-parser

Parse PlantUML with JavaScript or TypeScript
https://duckpond.ch/category/plantuml-parser
Apache License 2.0
141 stars 33 forks source link

Implement Error case testing #15

Closed Enteee closed 5 years ago

Enteee commented 5 years ago

Is your feature request related to a problem? Please describe. I would also like to be able to test for bad syntax.

Describe the solution you'd like The fixtures directory should support error files which do contain information about expected parsing exceptions. Those negative tests are successful if the parsing raises that exact exception.

Additional context This might enable me to bump code coverage above 70% or so.