Skip to content

Assert no Exception happened #2484

@guilhermeblanco

Description

@guilhermeblanco

Until PHPUnit 6, a successful execution could be left without any assertion, while faulty situations were captured using Exceptions. Now on PHPUnit 6, successful executions are being considered risky (R), and sometimes no assertion at all is needed.

We should be able to flag that no exceptions happened during the execution of the method, which would be a much better replacement than the current alternative self::assertTrue(true);.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions