test: split graphite tests into a module with a shared harness - #2106
Open
dbradf wants to merge 1 commit into
Open
test: split graphite tests into a module with a shared harness#2106dbradf wants to merge 1 commit into
dbradf wants to merge 1 commit into
Conversation
Converts the flat tests/integration/graphite.rs into a graphite/ module so
the gt runner can be shared with the upcoming remote-backed test suite.
- graphite/graphite_test_harness.rs: the gt() runner, git-shim helpers,
require_gt!, and the shared setup/assert helpers, lifted verbatim.
- graphite/local_ops.rs: the existing tests, unchanged.
main.rs needs no edit: `mod graphite;` resolves to graphite/mod.rs. Test
paths shift to graphite::local_ops::*, so TEST_FILTER=graphite still
selects the whole suite.
No behavior change; all 21 non-ignored tests pass as before.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
dbradf
marked this pull request as ready for review
August 7, 2026 14:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Converts the flat tests/integration/graphite.rs into a graphite/ module so
the gt runner can be shared with the upcoming remote-backed test suite.
require_gt!, and the shared setup/assert helpers, lifted verbatim.
main.rs needs no edit:
mod graphite;resolves to graphite/mod.rs. Testpaths shift to graphite::local_ops::*, so TEST_FILTER=graphite still
selects the whole suite.
No behavior change; all 21 non-ignored tests pass as before.
Co-Authored-By: Claude Opus 5 noreply@anthropic.com