Tests defined as test_ methods in spec-style describe blocks are not discovered
Open
Nobody has claimed this yet.
bug
pinned
- Dominant language
- Ruby
- Stars
- 2k
- Forks
- 281
- Avg merge
- 2h 14m
- Merged PRs (30d)
- 6
Description
Test methods (test_ prefix) in a describe block are not discovered:
describe MyGem do
def test_foo
end
end
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the shown Ruby describe block and trace the test-discovery entry point that processes methods in spec-style describe blocks. Done means methods with a test_ prefix inside such blocks are discovered while existing discovery behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- testing-qa, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100