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

Add a quiet flag #179

Merged
merged 3 commits into from
Nov 15, 2023
Merged

Add a quiet flag #179

merged 3 commits into from
Nov 15, 2023

Conversation

n-osborne
Copy link
Collaborator

@n-osborne n-osborne commented Nov 14, 2023

This PR proposes to add a quiet flag to ortac. The flag is exposed as part of Ortac_core.Registration so it can be used by different plugins. Then the flag is used by ortac-qcheck-stm.

Using a flag implies that there are only too level of verbosity for warnings (errors are always displayed when they occur). We may to add more control over the verbosity in the future, but I think we should wait for more stability in the warning system. Still, I believe the user can benefit from a quiet mode, especially when generating tests with dune.

Related to #151

@n-osborne n-osborne requested a review from shym November 14, 2023 09:48
Copy link
Contributor

@shym shym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good idea! Indeed, I agree that a fine-grain control would be nice but we should wait for more use cases to design it on real cases rather than what we imagine might be useful.

@shym shym merged commit 94298b7 into ocaml-gospel:main Nov 15, 2023
3 checks passed
@n-osborne n-osborne deleted the quiet-flag branch November 15, 2023 10:21
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

Successfully merging this pull request may close these issues.

2 participants