Skip to content

Group class and module indexing tests into dedicated test module#664

Open
alexcrocha wants to merge 1 commit into03-26-move_ruby_indexer_tests_to_separate_filefrom
03-13-extract_class_and_module_tests_from_monolithic_mod_tests
Open

Group class and module indexing tests into dedicated test module#664
alexcrocha wants to merge 1 commit into03-26-move_ruby_indexer_tests_to_separate_filefrom
03-13-extract_class_and_module_tests_from_monolithic_mod_tests

Conversation

@alexcrocha
Copy link
Copy Markdown
Contributor

@alexcrocha alexcrocha commented Mar 14, 2026

This PR is the second in a stack that addresses #649.

By grouping class and module indexing tests into a dedicated test module, we improve discoverability for both editor navigation and code search by giving class/module definition tests a named boundary.

Follows the existing name_dependent_tests pattern.

Copy link
Copy Markdown
Contributor Author

alexcrocha commented Mar 14, 2026

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 marked this pull request as ready for review March 14, 2026 03:17
@alexcrocha alexcrocha requested a review from a team as a code owner March 14, 2026 03:17
@alexcrocha alexcrocha self-assigned this Mar 14, 2026
@alexcrocha alexcrocha added the chore Something that should not be included in release notes label Mar 14, 2026
@alexcrocha alexcrocha force-pushed the 03-13-extract_class_and_module_tests_from_monolithic_mod_tests branch 2 times, most recently from 393ad5f to 6356a83 Compare March 17, 2026 23:07
Copy link
Copy Markdown
Contributor

@Morriar Morriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering the size of this file, should we start extracting these tests in external test files?

Improves discoverability for both editor navigation (document symbols)
and code search by giving class/module definition tests a named boundary
@alexcrocha alexcrocha changed the base branch from main to graphite-base/664 March 26, 2026 23:49
@alexcrocha alexcrocha force-pushed the 03-13-extract_class_and_module_tests_from_monolithic_mod_tests branch from 6356a83 to deb574e Compare March 26, 2026 23:49
@alexcrocha alexcrocha changed the base branch from graphite-base/664 to 03-26-move_ruby_indexer_tests_to_separate_file March 26, 2026 23:49
@alexcrocha
Copy link
Copy Markdown
Contributor Author

Considering the size of this file, should we start extracting these tests in external test files?

Documenting the outcome of this question here. After a brief chat async, the team decided it was indeed time to split the tests into their own file.

#705 is the new base of this stack

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.

4 participants