generated from tweag/project
-
Couldn't load subscription status.
- Fork 46
Open
Labels
Description
Is your feature request related to a problem? Please describe.
Topiary capture names are only tested vicariously, by virtue of them being used in the language support I/O test suite. There's no way of validating a capture name does the right thing in isolation and, when new capture names are introduced (e.g., see #1105), testing lags until they can be used in the language support suite.
Describe the solution you'd like
For each capture name that Topiary supports, provide tests that check its functionality. This should be part of the CI.
Describe alternatives you've considered
Checking new capture names manually.
Additional context
- Some capture names will need many tests to get reasonable feature coverage.
- We'd need a grammar that expresses everything. Perhaps some toy grammar can be created specifically for testing Topiary capture names...