Skip to content

Add linter rule test support - #976

Closed
st0012 wants to merge 11 commits into
codex/linter-ruby-lsp-integrationfrom
codex/linter-rule-test-case
Closed

Add linter rule test support#976
st0012 wants to merge 11 commits into
codex/linter-ruby-lsp-integrationfrom
codex/linter-rule-test-case

Conversation

@st0012

@st0012 st0012 commented Aug 3, 2026

Copy link
Copy Markdown
Member

Expose Rubydex::Linter::RuleTestCase for rule tests with file-backed graphs, multi-file sources, shared sources, and inline diagnostic annotations. Related information is matched at its own location, and missing graph dependencies can be asserted.

The helper loads only when required, so rubydex/linter does not load Minitest.

@st0012
st0012 requested a review from a team as a code owner August 3, 2026 16:37
@st0012
st0012 marked this pull request as draft August 3, 2026 16:45
@st0012
st0012 force-pushed the codex/linter-rule-authoring branch from 37415e3 to 3e68ce8 Compare August 3, 2026 21:28
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from 57a1cc2 to de63126 Compare August 3, 2026 21:28
@st0012
st0012 force-pushed the codex/linter-rule-authoring branch from 3e68ce8 to 8b59102 Compare August 4, 2026 12:11
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from de63126 to cc811cc Compare August 4, 2026 12:11
@st0012
st0012 force-pushed the codex/linter-rule-authoring branch from 8b59102 to 72d6117 Compare August 4, 2026 12:14
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from cc811cc to 999e135 Compare August 4, 2026 12:14
@st0012
st0012 force-pushed the codex/linter-rule-authoring branch from 72d6117 to c15f29b Compare August 4, 2026 18:05
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from 999e135 to bea6a70 Compare August 4, 2026 18:05
@st0012
st0012 force-pushed the codex/linter-rule-authoring branch from c15f29b to 97d1738 Compare August 4, 2026 21:11
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from bea6a70 to 972b406 Compare August 4, 2026 21:11
@st0012
st0012 force-pushed the codex/linter-rule-authoring branch from 97d1738 to ef69eb1 Compare August 5, 2026 10:02
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from 972b406 to 92dffe6 Compare August 5, 2026 10:02
@st0012
st0012 force-pushed the codex/linter-rule-authoring branch from ef69eb1 to 1ed3b94 Compare August 5, 2026 18:48
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from 92dffe6 to 01662ea Compare August 5, 2026 18:53
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from 01662ea to e304017 Compare August 6, 2026 16:34
@st0012
st0012 force-pushed the codex/linter-rule-authoring branch from 1ed3b94 to 1619fc8 Compare August 6, 2026 16:34
@st0012
st0012 changed the base branch from codex/linter-rule-authoring to codex/linter-ruby-lsp-integration August 6, 2026 16:35
@st0012
st0012 force-pushed the codex/linter-ruby-lsp-integration branch from cf7903a to 90fed04 Compare August 6, 2026 17:17
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from e304017 to 0dc2caf Compare August 6, 2026 17:17
@st0012
st0012 force-pushed the codex/linter-ruby-lsp-integration branch from 90fed04 to 5f23055 Compare August 6, 2026 18:32
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from 0dc2caf to c1770d0 Compare August 6, 2026 18:32
@st0012
st0012 force-pushed the codex/linter-ruby-lsp-integration branch from 5f23055 to 24921d7 Compare August 6, 2026 19:30
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from c1770d0 to 75829ce Compare August 6, 2026 19:30
@st0012
st0012 force-pushed the codex/linter-ruby-lsp-integration branch from 24921d7 to 4bc5773 Compare August 6, 2026 20:33
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from 75829ce to 70dda92 Compare August 6, 2026 20:33
@st0012
st0012 force-pushed the codex/linter-rule-test-case branch from 70dda92 to 65d2f65 Compare August 6, 2026 21:06
@st0012
st0012 force-pushed the codex/linter-ruby-lsp-integration branch 2 times, most recently from 1c7f1e7 to c210581 Compare August 7, 2026 17:11
@st0012

st0012 commented Aug 7, 2026

Copy link
Copy Markdown
Member Author

This work is now folded into #988.

@st0012 st0012 closed this Aug 7, 2026
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