Skip to content

AssertEx.WaitUntil should infer a better name if it can #29

@michael-sterling

Description

@michael-sterling

Scenario:

AssertEx.WaitUntil(() => (string) null)
    .IsTrue(foo => foo.Length == 2);

Expected:

Expected:
    foo != null

Actual: 
    foo == null

Actual:

Expected:

Expected:
    value != null

Actual: 
    value == null

This should ideally be done by "looking ahead" at any chained assertion and using the parameter name, if present.

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