Skip to content

test: split graphite tests into a module with a shared harness - #2106

Open
dbradf wants to merge 1 commit into
git-ai-project:mainfrom
dbradf:move-graphite-tests-to-directory
Open

test: split graphite tests into a module with a shared harness#2106
dbradf wants to merge 1 commit into
git-ai-project:mainfrom
dbradf:move-graphite-tests-to-directory

Conversation

@dbradf

@dbradf dbradf commented Aug 6, 2026

Copy link
Copy Markdown

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

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>
@CLAassistant

CLAassistant commented Aug 6, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@dbradf
dbradf marked this pull request as ready for review August 7, 2026 14:35

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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.

2 participants