Parser Testing in Scala - parboiled1/parboiled GitHub Wiki
Starting with release 0.9.9.0 parboiled includes a helper trait ParboiledTest that simplifies the development of tests for your custom parboiled for Scala parser. Parboiled uses it for its own tests, for example you can take a look at the WithContextTest for one possible use case.