eclipse-test

Tools for running JUnit tests and Maven builds inside Eclipse projects. JUnit is a Java testing framework, and Maven is a tool that builds Java projects and manages their dependencies.

In plain words
What is it for?
Use them to run all tests, package or class tests, individual methods, Eclipse plug-in tests, and Maven builds.
Why use it?
They let you run exactly the tests needed after a change, from one method to the whole project. They also account for Eclipse plug-in tests that require the PDE workbench harness.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/gradusnikov/eclipse-chatgpt-plugin/eclipse-test
Any agent
npx skills add gradusnikov/eclipse-chatgpt-plugin --skill eclipse-test
Clone the repo
git clone --depth 1 https://github.com/gradusnikov/eclipse-chatgpt-plugin

Made for: Claude Code, Codex.

Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 977 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00031 $0.00977
Opus 5 $0.00015 $0.00489
Sonnet 5 $0.00006 $0.00195
Haiku 4.5 $0.00003 $0.00098

Measured 3d ago against content hash e4d1dfadfb09, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

eclipse-test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/eclipse-test/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Run Tests & Build in Eclipse

Execute JUnit tests and Maven builds using Eclipse's built-in infrastructure.

Test Tools

  • runAllTests — Run all tests in a project. Provide projectName and optional timeout (default: 60s).
  • runPackageTests — Run tests in a specific package. Provide projectName and packageName.
  • runClassTests — Run all tests in a specific test class. Provide projectName and className (fully qualified).
  • runTestMethod — Run a single test method. Provide projectName, className, and methodName.
  • findTestClasses — Find and classify tests as plain JUnit or PDE harness tests. PDE tests must use the *PDETest.java naming convention; likely harness-dependent misnamed tests are reported as warnings.

PDE Harness Tests

  • runJUnitPluginTests — Run all plug-in tests in the PDE harness. Use for the classes listed under PDE harness tests (*PDETest).
  • runJUnitPluginTestClass — Run one fully qualified *PDETest class.
  • runJUnitPluginTestClasses — Run a comma-separated set of fully qualified *PDETest classes in one PDE launch. Prefer it after a change touches several harness tests because Eclipse workbench startup is paid only once. The initial batch tool does not provide coverage; use the single-class or whole-project tools when coverage is required.
  • getActiveTarget / reloadTarget — Inspect or refresh the target platform when plug-in dependencies cannot resolve.
  • Keep ordinary unit tests named *Test.java; any test using Eclipse workspace, JDT, UI, platform, or OSGi runtime services must be named *PDETest.java so discovery routes it to the PDE harness.

Build Tools

  • runMavenBuild — Run Maven with specified goals. Provide projectName, goals (e.g., clean install), optional profiles, and timeout.
  • getEffectivePom — Get the effective POM for a Maven project.
  • listMavenProjects — List all Maven projects in the workspace.
  • getProjectDependencies — Get Maven dependencies for a project.

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 69 lines · 31 tokens per session scan A e4d1dfadfb09

Subscribe to this mod's changes

eclipse-test is a skill published in the GitHub repository gradusnikov/eclipse-chatgpt-plugin (166 stars, last pushed 5d ago), licensed MIT. It adds 31 tokens to every session and 977 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.