Skip to content

Detect missing super calls in setup and teardown #111

@andyw8

Description

@andyw8

From the minitest README:

If you want to extend your test using setup/teardown via a module, just make sure you ALWAYS call super.

I'd love to have a cop to check for this.

Is your feature request related to a problem? Please describe.

While debugging some intermittently test failures, I found a missing setup call.

Describe the solution you'd like

.

Describe alternatives you've considered

.

Additional context

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions