run-test
Skill by jenkinsci
Runs the Maven test suite for the P4 Jenkins plugin and reports pass or fail results with JaCoCo coverage. Use it to run all tests, a single class or method, or to re-run failing tests.
Install run-test
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jenkinsci/p4-plugin /tmp/p4-plugin && mkdir -p ~/.claude/skills && cp -r /tmp/p4-plugin/.claude/skills/run-test ~/.claude/skills/run-testRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jenkinsci/p4-plugin /tmp/p4-plugin && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/p4-plugin/.claude/skills/run-test ~/.gemini/antigravity-cli/skills/run-testAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill runs the Maven test cases for the P4 Jenkins plugin and reports the result. With no argument, it runs the full suite using mvn clean test. When a user names a class or method, it narrows the run with -Dtest so only that scope runs. Tests always start with clean, and they run single-threaded because they share a real p4d server.
After a run, the skill reads the JaCoCo report at target/site/jacoco/jacoco.xml and summarizes line, branch, method and instruction coverage. It reports any failing test with its assertion error. The skill is for developers working on the P4 Jenkins plugin who need to run tests, re-run failures or verify that tests pass. It does not write or change code.
Written from the project's SKILL.md and checked against it.
What it can do
- Run full suiteRuns all tests with mvn clean test when no argument is given.
- Run single class or methodScopes the run to one test class or method using -Dtest.
- Run several classesRuns a comma-separated list of test classes in one command.
- Report coverageSummarizes JaCoCo line, branch, method and instruction coverage from the report.
- Report failuresLists failing test classes, methods and assertion errors from the Surefire output.
What you need
- Apache Maven (mvn command)
- Access to a p4d (Perforce) server for the tests
- Run from the project root where pom.xml is
Try asking
- Run the full test suite for the P4 Jenkins plugin.
- Run only the ChangeListTest class and report the result.
- Re-run the failing test methods and show the coverage summary.
Good to know
- This skill only runs tests and does not write or modify code.
- Tests run single-threaded and must not be run in parallel.
- Coverage totals cover the whole project even when a single test is run.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/run-test/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to run-test
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
run-test: common questions
Does this skill fix failing tests?
No. The skill reports failures with the failing class, method and assertion error, then stops. Fixing code is a separate task.
Why does it always run clean before tests?
The source says clean prevents a stale target/ directory from affecting results. It uses mvn clean test rather than mvn test.
What happens if the coverage report is missing?
If target/site/jacoco/jacoco.xml is missing, the skill reports coverage as N/A rather than making up a number.
How do I install run-test?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is run-test free?
The code is published under the BSD-2-Clause licence. The service it connects to may have its own pricing.
Is run-test safe to use?
It scores 69 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to run-test?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
