Skip to content

Fail if there is no assert in test #112

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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