renatahodovan / grammarinator

ANTLR v4 grammar-based test generator
Other
340 stars 61 forks source link

Support rule labels with recurring names #196

Closed renatahodovan closed 9 months ago

renatahodovan commented 9 months ago

The new approach produces postfixed methods from alternatives with recurring names. These methods create rule nodes without postfixes just like before. To make possible to regenerate these rules during mutation, a further generator method was added without postfix - to match the name of the created rules. It groups together all the alternatives with common labels and makes possible to regenerate the nodes of the common labels.

coveralls commented 9 months ago

Coverage Status

coverage: 88.359% (+0.09%) from 88.27% when pulling 9de88022de22471e389c4e77fa6060a51df05e05 on multi-label into 497351df6aa1d853eef519bf79ecd1733666128e on master.