Skip to content

Allow for Dynamic Options #1

Description

@viktor-rick

Is your feature request related to a problem? Please describe.
Many apps use callback functions. They should be tested for.

Describe the solution you'd like
At the very least automatically convert the callback functions into strategies.

Dev notes
This is a complex thing as hypothesis doesn't easily allow for this. The Parametrization is parsed to strategies, and Hypothesis picks from this. Therefore, the callback function can't be ran as we don't know the filled in value (only the strategy on how to pick).

Optionally we'd test the callback functions as views seperately (similar to Controller views), and in the process create a mapping. After draw(strategy) is ran, we fill in the fields with Dynamic Options

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions