Skip to content

Make success a strategy #18

@dsaff

Description

@dsaff

Ooooh. It occurs to me that if we also make success a strategy, something wonderful happens. We can write a one-line test like this:

expectFailingBecause("Not true that is inclusively in range ").whenAsserting().that(1).isInclusivelyInRange(2, 4);

It also allows "logging successes", which people have asked from JUnit several times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions