Skip to content

Organize ruby_indexer tests into nested submodules#672

Open
alexcrocha wants to merge 5 commits into03-13-extract_class_and_module_tests_from_monolithic_mod_testsfrom
03-17-extract_definition_tests_into_nested_submodules
Open

Organize ruby_indexer tests into nested submodules#672
alexcrocha wants to merge 5 commits into03-13-extract_class_and_module_tests_from_monolithic_mod_testsfrom
03-17-extract_definition_tests_into_nested_submodules

Conversation

@alexcrocha
Copy link
Contributor

@alexcrocha alexcrocha commented Mar 18, 2026

Part of #649.

This PR extracts and groups more tests into nested submodules: constants, methods, singleton classes, visibility, and attr accessors.

We also move assert_parameter! into method_tests since nothing else uses it.

I am splitting this refactor into multiple commits and PRs to catch and address any issues more easily. Please expect about 2 more PRs for ruby_indexer.rs.

Tip: the diff looks noisy due to indentation changes from nesting. Toggle "Hide whitespace" in GitHub's diff settings for a cleaner review.

Copy link
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@alexcrocha alexcrocha changed the title Extract constant_tests into nested submodules Group indexer test submodules from ruby_indexer Mar 18, 2026
@alexcrocha alexcrocha changed the title Group indexer test submodules from ruby_indexer Organize ruby_indexer tests into nested submodules Mar 18, 2026
@alexcrocha alexcrocha added the chore Something that should not be included in release notes label Mar 18, 2026
@alexcrocha alexcrocha self-assigned this Mar 18, 2026
@alexcrocha alexcrocha marked this pull request as ready for review March 18, 2026 00:47
@alexcrocha alexcrocha requested a review from a team as a code owner March 18, 2026 00:47
@st0012
Copy link
Member

st0012 commented Mar 18, 2026

Why nested instead of another top level test module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Something that should not be included in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants