Testing Neopolitan's Parser
In-Flight Testing
I'm pulling the code to parse Neopolitan files out of Neopoligen to make a stand-alone parser. I'm doing some refactoring to improve things based on what I've learned over the past couple years when I started the project.
As part of that, I'm improving the code that tests the parer itself. This is what that looks like:

There's a bunch of tests above and blew that too. And, all that is just to test how aspect of the parser1
It can get tedious. But, once you get into a flow it goes pretty quick. Knowing everything is well tested also makes it an easy sell.
-a
-- end of line --
Footnotes
Specifically, it makes sure "flags" in shorthand spans work properly. A flag being something like:
hidden
in
<<span|some text|hidden>>
All those tests for just that one word position.