You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we should do the same thing that we do in scalameta/scalameta - hand-pick a huge corpus of Scala files and write a test that ensures that our scanner and parser work for them in a reasonable fashion.
The text was updated successfully, but these errors were encountered:
One cool thing that I liked about our tests is the fact that they verify that all characters in all sources are covered by tokens, with every character covered exactly by one token.
Another useful thing to check is the fact that all trees have positions.
xeno-by
changed the title
Add a comprehensive test corpus for the scanner
Add a comprehensive test corpus for the parser
Mar 31, 2018
I think we should do the same thing that we do in scalameta/scalameta - hand-pick a huge corpus of Scala files and write a test that ensures that our scanner and parser work for them in a reasonable fashion.
The text was updated successfully, but these errors were encountered: