Skip to content

Tests defined as test_ methods in spec-style describe blocks are not discovered #3722

Description

@g-arjones

Test methods (test_ prefix) in a describe block are not discovered:

describe MyGem do
    def test_foo
    end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpinnedThis issue or pull request is pinned and won't be marked as stale

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions