unisonweb / unison

A friendly programming language from the future
https://unison-lang.org
Other
5.78k stars 270 forks source link

Tests based on real-life Unison code #1041

Open seagreen opened 4 years ago

seagreen commented 4 years ago

This is just a suggestion, but I thought it might be useful for catching regressions.

We could assemble a collection of wild Unison code, starting with whatever's out there at the moment like Runar's repo. We could have tests that send it through the edit + slurp cycle, and use them to detect regressions, whether in the parser, pretty printer, or typechecker.

Thoughts?

seagreen commented 4 years ago

Somewhat related to https://github.com/unisonweb/unison/issues/643