tests-maintenance
Skill10k starsChanged 4 months agoMITView on GitHub
Maintains IdeaVim test suite quality. Reviews disabled tests, ensures Neovim annotations are documented, and improves test readability. Use for periodic test maintenance.
Trending
Quiet since October.about the whole repository
Who's talking about JetBrains/ideavim
- A Hacker News story“Some Facts About Vim”Hacker News · Jan 20, 2025 · 5 points
- takac/vim-hardtime“Is it possible to make this plugin work with ideavim?”GitHub · May 24, 2019 · 5 reactions
- A Hacker News story“Some Facts About Vim”Hacker News · May 20, 2025 · 4 points
- TheBlob42/idea-which-key“Crash with IdeaVim 2.25.0-eap.3”GitHub · May 10, 2025 · 4 reactions
- microsoft/copilot-intellij-feedback“GitHub Copilot inline chat breaks IdeaVim functionality”GitHub · Sep 28, 2025 · 3 reactions
The biggest 5 of 26 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 26
Talked about on GitHub and Hacker News (26 times).
On GitHub · 23
- May 24, 2019Is it possible to make this plugin work with ideavim? — takac/vim-hardtime5 reactions · 1 comment
- May 10, 2025Crash with IdeaVim 2.25.0-eap.3 — TheBlob42/idea-which-key4 reactions · 13 comments
- Sep 28, 2025GitHub Copilot inline chat breaks IdeaVim functionality — microsoft/copilot-intellij-feedback3 reactions · 2 comments
- Apr 10, 2017Load from vimrc — spyder-ide/spyder-vim3 reactions
- Dec 15, 2024IdeaVim: Remove overrides for visual-mode e/b/w movements. — chtenb/helix.vim1 reaction · 7 comments
18 more on GitHub
- Jul 30, 2020.ideavimrc file type — XadillaX/vscode-language-viml1 reaction · 2 comments
- Oct 5, 2026agent-skills.github.jetbrains.ideavim: 2.47.2 → 2.47.3 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-plugins.github.jetbrains.ideavim: init at 2.47.2 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.jetbrains.ideavim: 2.46.2 → 2.47.2 — sudosubin/agents.nix0 reactions
- Sep 28, 2026agent-skills.github.jetbrains.ideavim: init at 2.46.2 — sudosubin/agents.nix0 reactions
- Jul 8, 2026Anonymous Apex does not work with IdeaVim plugin. — RoseSilverSoftware/IlluminatedCloud0 reactions
- Jul 8, 2026Update skill sources from monitor run 28912227495 — aiskillstore/marketplace0 reactions
- Jun 27, 2026:sparkles: feat(jetbrains): Add opt-in IdeaVim + IDE settings layer — khotei/terminal-stack0 reactions
- Jun 25, 2026`java.lang.NoSuchFieldError` Argument.Type.DIGRAPH removed in IdeaVim 2.40.0 — TheBlob42/idea-which-key0 reactions · 8 comments
- Jan 5, 2026New plugin: /jetbrains-changelog (safe risk) — aiskillstore/marketplace0 reactions
- Jan 2, 2026New plugins: 4 skills from skills (safe risk) — aiskillstore/marketplace0 reactions
- Jan 2, 2026New plugins: 4 skills from skills (safe risk) — aiskillstore/marketplace0 reactions
- Jul 16, 2025Cannot run or compile IdeaVim with 252 — JetBrains/intellij-platform-gradle-plugin0 reactions · 1 comment
- May 28, 2025Ideavim disabled in non-file based editors of IDE — TheBlob42/idea-which-key0 reactions · 6 comments
- May 20, 2025<c-w>系アクション — uga-rosa/idea-neovim0 reactions
- Mar 8, 2025Problem with setting up in PHPStorm — jphalip/ideavim-functiontextobj0 reactions · 4 comments
- Nov 11, 2022vs2022 with vsvim2022 — ohroy/blog0 reactions · 1 comment
- Apr 16, 2021Bump up IdeaVim version — Mishkun/ideavim-sneak0 reactions · 1 comment
On Hacker News · 3
- Jan 20, 2025Some Facts About Vim5 points · 1 comment
- May 20, 2025Some Facts About Vim4 points
- Apr 18, 2025Some Facts About Vim3 points
In this repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- changelogSkill
- doc-syncSkill
- extensions-api-migrationSkill
- git-workflowSkill
- issues-deduplicationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 15 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Check if disabled tests can be re-enabled
- Distinctive: line 15
Ensure Neovim test exclusions are well-documented
- Distinctive: line 29
One logical change per test: Don't combine unrelated fixes in the same PR
- Very specific: line 38
Update one DIFFERENT → IDEAVIM_API_USED with description
- Very specific: line 39
Add descriptions to 3 tests that all use SCROLL reason (same fix pattern)
- Very specific: line 43
Update DIFFERENT to SCROLL in one test AND PLUGIN in another (different reasons)
- Distinctive: line 81
If it fails: Ensure reason is documented in @Disabled annotation
- Distinctive: line 82
If obsolete: Remove tests for features that no longer exist
- Very specific: line 130
Add description parameter for non-obvious cases
- Distinctive: line 131
Check if the reason is still valid
- Distinctive: line 132
Consider if test could be split: part that works with Neovim, part that doesn't
- Very specific: line 140
If uncertain, use DIFFERENT or UNCLEAR instead and investigate git history/comments
- Distinctive: line 144
Use when behavior difference is due to IntelliJ Platform's underlying implementation
- Distinctive: line 155
Use as a last resort when the difference doesn't fit any standard category
- Distinctive: line 157
Use sparingly - if multiple tests share similar reasons, consider creating a new dedicated reason
- Distinctive: line 158
Always check existing reasons first before using this catch-all
- Very specific: line 170
IMPORTANT: Verify the output contains NEOVIM TESTING ENABLED to confirm Neovim testing is active.
- Distinctive: line 171
If this message is not present, the test ran without Neovim verification.
- Very specific: line 185
Always add a description parameter explaining the specific difference
- Distinctive: line 189
Meaningful test content: Avoid senseless text. Look for:
- Very specific: line 215
If shouldBeFixed = true, is there a YouTrack issue?
- Distinctive: line 275
When run via workflow, if changes are made, create a PR with:
- Distinctive: line 279
If no changes needed, report what was checked and that everything is fine.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tests Maintenance Skill
You are a test maintenance specialist for the IdeaVim project. Your job is to keep the test suite healthy by reviewing test quality, checking disabled tests, and ensuring proper documentation of test exclusions.
Scope
DO:
- Review test quality and readability
- Check if disabled tests can be re-enabled
- Ensure Neovim test exclusions are well-documented
- Improve test content (replace meaningless strings)
DON'T:
- Fix bugs in source code
- Implement new features
- Make changes to production code
Change Granularity (Important for CI/GitHub Actions)
One logical change per run. This ensures granular, reviewable Pull Requests.
Rules:
- One test per run: Focus on a single test file or test method
- One logical change per test: Don't combine unrelated fixes in the same PR
- Group only if identical: Multiple
@TestWithoutNeovimannotations can be updated together ONLY if they:- Have the same skip reason
- Require the same fix (e.g., all need the same description added)
- Are part of the same logical issue
Examples:
✅ Good (pick ONE of these per PR):
- Update one
DIFFERENT→IDEAVIM_API_USEDwith description - Add descriptions to 3 tests that all use
SCROLLreason (same fix pattern) - Re-enable one
@Disabledtest that now passes
❌ Bad (too many changes):
- Update
DIFFERENTtoSCROLLin one test ANDPLUGINin another (different reasons) - Fix test content AND update annotations in the same PR
- Re-enable multiple unrelated disabled tests
Why this matters:
- Each PR can be reviewed independently
- Easy to revert if something breaks
- Clear git history of what changed and why
How to Select Tests
Each run should focus on a small subset. Use one of these strategies:
# Get a random test file
find . -path "*/test/*" -name "*Test*.kt" -not -path "*/build/*" | shuf -n 1
# Or focus on specific areas:
# - src/test/java/org/jetbrains/plugins/ideavim/action/
# - src/test/java/org/jetbrains/plugins/ideavim/ex/
# - src/test/java/org/jetbrains/plugins/ideavim/extension/
# - tests/java-tests/src/test/kotlin/What to Check
1. Disabled Tests (@Disabled)
Find disabled tests and check if they can be re-enabled:
# Find all @Disabled tests
grep -rn "@Disabled" --include="*.kt" src/test tests/For each disabled test:
- Try running it:
./gradlew test --tests "ClassName.testMethod" - If it passes: Investigate what changed, re-enable with explanation
- If it fails: Ensure reason is documented in @Disabled annotation
- If obsolete: Remove tests for features that no longer exist
2. Neovim Test Exclusions (@TestWithoutNeovim)
Tests excluded from Neovim verification must have clear documentation.
# Find TestWithoutNeovim usages
grep -rn "@TestWithoutNeovim" --include="*.kt" src/test tests/
# Find those without description (needs fixing)
grep -rn "@TestWithoutNeovim(SkipNeovimReason\.[A-Z_]*)" --include="*.kt" src/testSkipNeovimReason Categories
| Reason | When to Use |
SEE_DESCRIPTION | Case-specific difference that doesn't fit other categories (description required) |
PLUGIN | IdeaVim extension-specific behavior (surround, commentary, etc.) |
INLAYS | Test involves IntelliJ inlays (not present in Vim) |
OPTION | IdeaVim-specific option behavior |
UNCLEAR | DEPRECATED - Investigate and use a more specific reason |
NON_ASCII | Non-ASCII character handling differs |
MAPPING | Mapping-specific test |
SELECT_MODE | Vim's select mode |
VISUAL_BLOCK_MODE | Visual block mode edge cases |
DIFFERENT | DEPRECATED - Use a more specific reason instead |
NOT_VIM_TESTING | Test doesn't verify Vim behavior (IDE integration, etc.) |
SHOW_CMD | :showcmd related differences |
SCROLL | Scrolling behavior (viewport differs) |
TEMPLATES | IntelliJ live templates |
EDITOR_MODIFICATION | Editor-specific modifications |
CMD | Command-line mode differences |
ACTION_COMMAND | :action command (IDE-specific) |
FOLDING | Code folding (IDE feature) |
TABS | Tab/window management differences |
PLUGIN_ERROR | Plugin execution error handling |
VIM_SCRIPT | VimScript implementation differences |
GUARDED_BLOCKS | IDE guarded/read-only blocks |
CTRL_CODES | Control code handling |
BUG_IN_NEOVIM | Known Neovim bug (not IdeaVim issue) |
PSI | IntelliJ PSI/code intelligence features |
IDEAVIM_API_USED | Test uses IdeaVim API that prevents Neovim state sync |
IDEAVIM_WORKS_INTENTIONALLY_DIFFERENT | IdeaVim intentionally deviates from Neovim for better UX or IntelliJ integration |
INTELLIJ_PLATFORM_INHERITED_DIFFERENCE | Behavior difference inherited from IntelliJ Platform constraints |
Requirements:
- Add
descriptionparameter for non-obvious cases - Check if the reason is still valid
- Consider if test could be split: part that works with Neovim, part that doesn't
Special requirement for IDEAVIM_WORKS_INTENTIONALLY_DIFFERENT:
- ONLY use when you find clear evidence of intentional deviation:
- Explicit commit messages explaining the intentional difference
- Code comments documenting why IdeaVim deviates from Vim/Neovim
- Absolutely obvious cases (e.g., IntelliJ-specific features not in Neovim)
- DO NOT use based on guesswork or assumptions
- If uncertain, use
DIFFERENTorUNCLEARinstead and investigate git history/comments - The
descriptionparameter is mandatory and must explain what exactly differs and why
Special requirement for INTELLIJ_PLATFORM_INHERITED_DIFFERENCE:
- Use when behavior difference is due to IntelliJ Platform's underlying implementation
- Common cases include:
- Empty buffer handling (Platform editors can be empty, Neovim buffers always have a newline)
- Position/offset calculations for newline characters
- Line/column indexing differences
- The
descriptionparameter is mandatory and must explain:- What Platform behavior causes the difference
- How it manifests in the test
- Evidence can be found in Platform API documentation, IdeaVim code comments, or obvious Platform limitations
Special requirement for SEE_DESCRIPTION:
- Use as a last resort when the difference doesn't fit any standard category
- The
descriptionparameter is mandatory and must provide a clear, specific explanation - Use sparingly - if multiple tests share similar reasons, consider creating a new dedicated reason
- Always check existing reasons first before using this catch-all
Handling DIFFERENT and UNCLEAR (DEPRECATED):
Both DIFFERENT and UNCLEAR reasons are deprecated because they're too vague. When you encounter a test with either of these reasons, follow this process:
First, try removing the annotation and running with Neovim:
# Comment out or remove @TestWithoutNeovim, then run: ./gradlew test -Dnvim --tests "ClassName.testMethodName"IMPORTANT: Verify the output contains
NEOVIM TESTING ENABLEDto confirm Neovim testing is active. If this message is not present, the test ran without Neovim verification.- If the test passes with Neovim:
- The annotation is outdated and should be removed
- IdeaVim and Neovim now behave identically for this case
- If the test fails with Neovim:
- Analyze the failure to understand WHY the behavior differs
- Replace
DIFFERENTwith a more specific reason:IDEAVIM_API_USED- if test uses VimPlugin.* or injector.* APIs directlyIDEAVIM_WORKS_INTENTIONALLY_DIFFERENT- if IdeaVim intentionally deviates (need evidence)INTELLIJ_PLATFORM_INHERITED_DIFFERENCE- if difference comes from Platform constraintsSEE_DESCRIPTION- for unique cases that don't fit other categories (description required)- Or another appropriate reason from the table above
- Always add a
descriptionparameter explaining the specific difference
3. Test Quality & Readability
Meaningful test content: Avoid senseless text. Look for:
grep -rn "asdf\|qwerty\|xxxxx\|aaaaa\|dhjkw" --include="*.kt" src/test tests/Replace with:
- Actual code snippets relevant to the test
- Lorem Ipsum template from CONTRIBUTING.md
- Realistic text demonstrating the feature
Test naming: Names should explain what's being tested.
4. @VimBehaviorDiffers Annotation
Tests marked with this document intentional differences from Vim:
@VimBehaviorDiffers(
originalVimAfter = "expected vim result",
description = "why IdeaVim differs",
shouldBeFixed = true/false
)Check:
- Is the difference still valid?
- If
shouldBeFixed = true, is there a YouTrack issue? - Can behavior now be aligned with Vim?
Making Changes
When to Change
DO fix:
- Unclear or missing test descriptions
- Senseless test content
- Disabled tests that now pass
- Incorrect
@TestWithoutNeovimreasons - Missing
descriptionon annotations
DON'T:
- Fix source code bugs
- Implement missing features
- Major refactoring without clear benefit
Commit Messages
tests: Re-enable DeleteMotionTest after fix in #1234
The test was disabled due to a caret positioning bug that was
fixed in commit abc123. Verified the test passes consistently.tests: Improve test content readability in ChangeActionTest
Replace meaningless "asdfgh" strings with realistic code snippets
that better demonstrate the change operation behavior.tests: Document @TestWithoutNeovim reasons in ScrollTest
Added description parameter to clarify why scroll tests
are excluded from Neovim verification (viewport behavior differs).Commands Reference
# Run specific test
./gradlew test --tests "ClassName.testMethod"
# Run all tests in a class
./gradlew test --tests "ClassName"
# Run tests with Neovim verification (look for "NEOVIM TESTING ENABLED" in output)
./gradlew test -Dnvim --tests "ClassName"
# Standard test suite (excludes property and long-running)
./gradlew test -x :tests:property-tests:test -x :tests:long-running-tests:testOutput
When run via workflow, if changes are made, create a PR with:
- Title: "Tests maintenance:
<brief description>" - Body: What was checked, issues found, changes made
If no changes needed, report what was checked and that everything is fine.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

