一键导入
eclipse-plugin-testing
Guidance for testing Eclipse plugins with JUnit, PDE, Tycho, SWTBot, runtime tests, and UI stability considerations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidance for testing Eclipse plugins with JUnit, PDE, Tycho, SWTBot, runtime tests, and UI stability considerations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidance for implementing and modifying Eclipse plugin, RCP, and OSGi-based code while preserving target-platform and JDK compatibility.
Guidance for SWT, JFace, commands, handlers, views, editors, dialogs, wizards, and Eclipse workbench UI integration.
Guidance for Tycho, target-platform, p2, feature, category, and Eclipse dependency/build alignment.
| name | eclipse-plugin-testing |
| description | Guidance for testing Eclipse plugins with JUnit, PDE, Tycho, SWTBot, runtime tests, and UI stability considerations. |
Use this skill when working on tasks related to:
Add or modify tests that are reliable, maintainable, and compatible with the repository's minimum supported Eclipse target-platform and JDK.
Before adding tests, determine what the repository already uses:
Prefer the existing testing approach over introducing a new one.
Prefer the simplest test type that can verify the behavior correctly:
Avoid solving purely non-UI logic with expensive UI-level tests.
Test code must also respect:
Do not use newer test libraries, APIs, or Java features that exceed the current project baseline unless explicitly requested.
For SWTBot or other UI-driven tests:
For Eclipse plugin tests, be careful about:
Tests should isolate assumptions as much as possible.
Only add the setup required to verify the behavior under test.
Avoid broad fixture initialization when a narrow fixture will do.
Tests should make it clear:
Tests should clean up:
Avoid leaving hidden shared state between test runs.
Before considering a testing task complete, check:
When proposing or implementing plugin tests, include relevant notes about: