Skip to content

[Suggestion] Default timeout for generators #30

@AlgorithmsAreCool

Description

@AlgorithmsAreCool

Howdy!

I incorrectly wrote a generator that called unbounded ArrayUnique from a finite Gen.OneOfConst. As a result the test hung trying to find some impossible of number of unique items. It took me a little while to understand what was happening.

What would you think of having a default timeout for Generators so that they throw exceptions after some delay if they can't produce any samples?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions