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 new --equivalent ghostwriter which allows same-typed exceptions #3267

Closed
Zac-HD opened this issue Mar 26, 2022 · 0 comments · Fixed by #3273
Closed

Add new --equivalent ghostwriter which allows same-typed exceptions #3267

Zac-HD opened this issue Mar 26, 2022 · 0 comments · Fixed by #3273
Labels
new-feature entirely novel capabilities or strategies

Comments

@Zac-HD
Copy link
Member

Zac-HD commented Mar 26, 2022

The Ghostwriter often writes over-broad input strategies, which we accept on the basis that the user should be responsible for narrowing this down.

However, for the --equivalent property, we might (optionally) be OK with tested functions raising an exception - so long as they raise the same exception type. I'd implement this with an additional argument in the Python API, and a special value which can be passed via --except=<some special value> on the CLI. (still need to think of a good name for that)

@Zac-HD Zac-HD added the new-feature entirely novel capabilities or strategies label Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature entirely novel capabilities or strategies
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant