Skip to content

✅ test(mq-test): support test discovery inside module nodes #1600

Merged
harehare merged 2 commits intomainfrom
test/discover-module-tests
Apr 15, 2026
Merged

✅ test(mq-test): support test discovery inside module nodes #1600
harehare merged 2 commits intomainfrom
test/discover-module-tests

Conversation

@harehare
Copy link
Copy Markdown
Owner

No description provided.

Refactored `discover_test_functions` to recursively traverse `Module`
CST nodes, so `def test_*` and `# @test`-annotated functions defined
inside a `module` block are now included in the discovered test list.

Also fixed a typo in the helper function name and removed an unused
`std::sync::Arc` import.
@harehare harehare merged commit 48f619d into main Apr 15, 2026
4 checks passed
@harehare harehare deleted the test/discover-module-tests branch April 15, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant