Skip to content

Fail if there is no assert in test #112

@janmarek

Description

@janmarek

I wrote my first test with TestCase and I forgot to run the test case ( (new SomethingTestCase())->run(); ). This might be common mistake for former PHPUnit users.

Tester said that there was 1 passed test.

I thing that error or at least warning would be better if there is no assert in test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions