Skip to content

Matcher to assert Duration within delta #515

@tisonkun

Description

@tisonkun

Suggest to add a builtin matcher for asserting the duration matches the expected value within a delta.

This is useful to test an operation is taken within a certain time window. For example, an action to be timed out in about 20 seconds.

Metadata

Metadata

Assignees

No one assigned

    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