Skip to content

Warn when tests are accidentally disabled due to nesting within setUp() method #1961

Open
@rtannenbaum

Description

@rtannenbaum

Hello,

We recently discovered that several tests were accidentally nested inside a setUp() method.

While the tests compile, they were not actually run by the test runner, and we had no way to detect this. We only happened to notice coincidentally.

It would be helpful if the test runner could warn that tests are disabled when this happens.

Thanks for your consideration.

Rachel

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions