Skip to content

Bail out when finding static TEST_BEGIN_OVERRIDE/TEST_END_OVERRIDE hooks #495

@t-b

Description

@t-b

We don't search for static test begin/end hooks. The idea, IIRC, was that these are global for all tests so it does not make sense to allow them to be file level static.

See also getLocalHooks/getGlobalHooks.

But as I have just noticed in MIES, I don't remembered that, so I had to fix it in AllenInstitute/MIES@05a4f76.

We should bail out if we find static test begin/end hooks to prevent similiar errors in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions