Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce coverage of a grammar rule #131

Open
bendrissou opened this issue Sep 20, 2023 · 1 comment
Open

Enforce coverage of a grammar rule #131

bendrissou opened this issue Sep 20, 2023 · 1 comment

Comments

@bendrissou
Copy link

bendrissou commented Sep 20, 2023

Is there away to make sure that a rule gets covered at least once during the generation process?

For example if I want integers to be included in all of my generated json inputs. It would be nice if I can annotate the grammar such that the corresponding rule is always exercised by Grammarinator.

@marcellomaugeri
Copy link

@bendrissou I guess you have to model your grammar to act like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants