Integration Tests for pREST
prest/prest
Guides writing and reviewing pREST Docker-based integration tests so every HTTP request is explained by step comments or table-driven descriptions.
Create backend tests for Rundeck (unit, API, functional). An agent skill from rundeck/rundeck.
$ npx skills add rundeck/rundeck --skill create-test -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rundeck/rundeck create-test --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/rundeck/rundeck.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/create-test .claude/skills/create-test && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "create-test" agent skill from https://github.com/rundeck/rundeck/tree/main/.claude/skills/create-test into .claude/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/rundeck/rundeck/tree/main/.claude/skills/create-testType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add rundeck/rundeck --skill create-test -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rundeck/rundeck create-test --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rundeck/rundeck.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/create-test .agents/skills/create-test && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "create-test" agent skill from https://github.com/rundeck/rundeck/tree/main/.claude/skills/create-test into .agents/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rundeck/rundeck --skill create-test -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rundeck/rundeck create-test --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rundeck/rundeck.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/create-test .cursor/skills/create-test && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "create-test" agent skill from https://github.com/rundeck/rundeck/tree/main/.claude/skills/create-test into .cursor/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/rundeck/rundeck.git --path .claude/skills/create-test--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add rundeck/rundeck --skill create-test -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rundeck/rundeck create-test --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rundeck/rundeck.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/create-test .gemini/skills/create-test && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "create-test" agent skill from https://github.com/rundeck/rundeck/tree/main/.claude/skills/create-test into .gemini/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install rundeck/rundeck create-testInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add rundeck/rundeck --skill create-test -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rundeck/rundeck.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/create-test .github/skills/create-test && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "create-test" agent skill from https://github.com/rundeck/rundeck/tree/main/.claude/skills/create-test into .github/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rundeck/rundeck --skill create-test -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rundeck/rundeck create-test --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rundeck/rundeck.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/create-test .opencode/skills/create-test && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "create-test" agent skill from https://github.com/rundeck/rundeck/tree/main/.claude/skills/create-test into .opencode/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
create-testCreate backend tests for Rundeck (unit, API, functional). An agent skill from rundeck/rundeck.
Create Test is an agent skill from rundeck/rundeck. Create backend tests for Rundeck (unit, API, functional). Auto-loads testing guidelines. For frontend unit tests use write-jest-tests.
Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Unit testing, Integration testing and API testing. It works with Jest, Ansible and Docker. The repository describes itself as: Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 9c3c82c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are groovy and bash).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
spockframework.orgtestcontainers.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Create Test loads about 3.2k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 796 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from rundeck/rundeck at commit 9c3c82c, republished under its Apache-2.0 licence (© rundeck). 796 words, ~3,202 tokens.
.claude/skills/create-test/SKILL.md (or your agent's skills folder).For frontend unit tests: Use write-jest-tests skill
Automatically read:
.claude/docs/testing-guidelines.md - Complete testing guide (all test types).claude/docs/development-guidelines.md - Code standards, testing philosophyDetermine which test type(s) are needed:
Unit Tests - Functions, classes, services
API Tests - REST endpoints
Functional Tests - Feature integration with Docker
functional-testIntegration Tests - External systems
Structure: Use given/when/then blocks
class UserServiceSpec extends Specification {
def userService = new UserService()
def "should return user when valid ID provided"() {
given: "a valid user ID"
def userId = 123
when: "finding user by ID"
def user = userService.findById(userId)
then: "user is returned with correct ID"
user != null
user.id == userId
}
def "should throw exception when user not found"() {
given: "an invalid user ID"
def userId = 999
when: "finding user by ID"
userService.findById(userId)
then: "exception is thrown"
thrown(UserNotFoundException)
}
}Mocking with Spock:
def "should call external service"() {
given: "a mocked external service"
def mockService = Mock(ExternalService)
def userService = new UserService(mockService)
when: "getting user data"
userService.getUserData(123)
then: "external service is called once"
1 * mockService.fetchData(123) >> "user data"
}Data-Driven Tests with @Unroll:
@Unroll
def "should validate #scenario"() {
expect:
validator.isValid(input) == expected
where:
scenario | input | expected
"valid email" | "a@b.c" | true
"invalid email" | "abc" | false
}Framework: Testcontainers + Spock
Purpose: Test Rundeck server API behavior with real server
CRITICAL: Test API version requirements
class ProjectApiSpec extends Specification {
@Shared
def container = new RundeckContainer()
def "should return projects for API v44"() {
when: "calling API v44"
def response = client.get("/api/44/projects")
then: "projects are returned"
response.status == 200
response.json.size() > 0
}
def "should reject for API v43"() {
when: "calling API v43"
def response = client.get("/api/43/projects")
then: "request is rejected"
response.status == 404
}
}Test Requirements:
Purpose: Test complete features/workflows with Rundeck running in Docker
Functional tests run in functional-test module using Testcontainers to launch Rundeck instances and verify functionality through APIs.
@APITest - Standard functional tests
BaseContainerpackage org.rundeck.functional.api.myfeature
import org.rundeck.util.common.jobs.JobUtils
import org.rundeck.annotations.APITest
import org.rundeck.util.container.BaseContainer
@APITest
class MyFeatureSpec extends BaseContainer {
static final String TEST_PROJECT = "test-project"
def setupSpec() {
startEnvironment() // Starts Rundeck in Docker
setupProject(TEST_PROJECT) // Creates test project
// Optional: Configure feature flags
def config = [
[
"key": "rundeck.feature.myFeature.enabled",
"value": "true",
"strata": "default"
]
]
client.post("/config/save", config, Map)
waitFeatureFlag("rundeck.feature.myFeature.enabled")
}
def cleanupSpec() {
deleteProject(TEST_PROJECT)
}
def "feature works as expected"() {
given: "test data setup"
// Setup via API
when: "performing action"
def response = client.get("/api/endpoint", Map)
then: "expected result"
response.status == "success"
}
}Environment Setup:
startEnvironment() - Starts Rundeck containersetupProject(projectName) - Creates projectdeleteProject(projectName) - Deletes project (cleanup)API Calls:
client.get(path, Type) - GET request, parse as Typeclient.post(path, body, Type) - POST requestget(path, Type) - Shorthand for client.getdoGet(path) - Raw HTTP GETdoPost(path, body) - Raw HTTP POSTUtilities:
waitFeatureFlag(key) - Wait for config to propagateloadKey(path, value, type) - Create key storage entryhold(seconds) - Wait fixed time (use sparingly)jsonValue(body) - Parse JSON responseJob Operations (JobUtils):
JobUtils.createJob(project, yaml, client) - Import jobJobUtils.waitForExecution(status, execId, client, timeout) - Wait for executionJobUtils.getExecutionOutputText(execId, client) - Get logs@APITest
class SystemInfoSpec extends BaseContainer {
def setupSpec() {
startEnvironment()
}
def "system info returns valid response"() {
when:
def data = get("/system/info", Map)
then:
!data.error
data.system.rundeck.apiversion.toInteger() >= 14
}
}@APITest
class JiraPluginSpec extends BaseContainer {
static final String TEST_PROJECT = "jira-test"
def setupSpec() {
startEnvironment()
setupProject(TEST_PROJECT)
// Configure Jira URL at system level
def config = [
["key": "jira.url", "value": "https://jira.example.com", "strata": "default"]
]
client.post("/config/save", config, Map)
waitFeatureFlag("jira.url", "https://jira.example.com")
// Store credentials
loadKey("jira.pass", "test-password", "password")
}
def cleanupSpec() {
deleteProject(TEST_PROJECT)
}
def "jira plugin reads system config"() {
given: "a job using Jira plugin"
def jobXml = """<joblist>
<job>
<name>jira test</name>
<sequence>
<command>
<node-step-plugin type='jira-create-issue'>
<configuration>
<entry key='summary' value='Test Issue' />
<entry key='password' value='keys/jira.pass' />
</configuration>
</node-step-plugin>
</command>
</sequence>
</job>
</joblist>"""
when: "importing and running the job"
def importResult = JobUtils.createJob(TEST_PROJECT, jobXml, client)
def jobId = importResult.succeeded[0].id
def response = doPost("/job/${jobId}/executions", ["loglevel": "DEBUG"])
def execId = jsonValue(response.body()).id as String
then: "job starts successfully"
execId != null
when: "waiting for completion"
def exec = JobUtils.waitForExecution(
ExecutionStatus.FAILED.state, // Expected to fail (no real Jira)
execId,
client,
WaitingTime.EXCESSIVE
)
then: "execution attempted to use system config URL"
exec.status == 'failed'
def fullLog = JobUtils.getExecutionOutputText(execId, client)
fullLog.contains("jira.example.com")
}
}Test Data Setup:
setupProjectArchiveDirectoryResource() for complex project setupWaiting:
waitFeatureFlag() for config propagationJobUtils.waitForExecution() for job completionhold() except for cluster sync scenariosAssertions:
getExecutionOutputText()Cleanup:
cleanupSpec()# Backend unit tests
./gradlew test
# Specific module
./gradlew :module-name:test
# API tests
./gradlew :functional-test:apiTest
# Functional tests
./gradlew :functional-test:testUpdate existing tests to cover new behaviors
CRITICAL: Add missing tests for existing code FIRST
Before considering tests complete:
❌ Don't:
cleanupSpec() - leaves test datahold() instead of proper waits✅ Do:
.claude/docs/testing-guidelines.md - Complete testing guide.claude/docs/development-guidelines.md - Testing philosophy, code standardsfunctional-test/src/test/groovy/© rundeck, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/create-test of rundeck/rundeck.
Open the folder on GitHubat commit 9c3c82c
Create Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Create Test this skillrundeck/rundeck | 6.3k | — | ~3.2k | Automated safety check: Pass | Apache-2.0 | |
| Integration Tests for pRESTprest/prest | 4.6k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Designing TestsCloudAI-X/claude-workflow-v2 | 1.4k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Write Testsgrafana/synthetic-monitoring-app | 171 | — | ~1.2k | Automated safety check: Pass | AGPL-3.0 | |
| Running TestsNangoHQ/nango | 13k | — | ~876 | Automated safety check: Pass | Custom licence | |
| Slow TestsUKGovernmentBEIS/inspect_ai | 3k | — | ~1.4k | Automated safety check: Pass | MIT |
prest/prest
Guides writing and reviewing pREST Docker-based integration tests so every HTTP request is explained by step comments or table-driven descriptions.
CloudAI-X/claude-workflow-v2
Designs and implements testing strategies for any codebase. An agent skill from CloudAI-X/claude-workflow-v2.
grafana/synthetic-monitoring-app
Write Jest integration and unit tests for the Grafana Synthetic Monitoring app using React Testing Library, MSW, and src/test helpers.
NangoHQ/nango
A skill your agent uses when running tests in the Nango monorepo - knows unit vs integration configs, vitest commands, Docker setup, and common test patterns
UKGovernmentBEIS/inspect_ai
Run the gated test classes that plain pytest skips (slow Docker/sandbox tests, live model-provider API tests, flaky tests, trio variants).
nginx/kubernetes-ingress
Testing conventions for the NGINX Ingress Controller repo: Go table-driven tests, mandatory snapshot regeneration, Helm tests and Python pytest integration tests.
rundeck/rundeck
Backport commits from an existing GitHub Pull Request to a target branch and open a new backport PR.
rundeck/rundeck
Verify if a CVE affects the project and remediate it. An agent skill from rundeck/rundeck.
rundeck/rundeck
Generate standardized CONTEXT.md files for features. An agent skill from rundeck/rundeck.
rundeck/rundeck
Internationalize Vue component templates by replacing all hardcoded strings with $t() calls and adding translations to i18n.ts or enUS.js.
rundeck/rundeck
Guide a new contributor through the rundeck OSS repo. An agent skill from rundeck/rundeck.
rundeck/rundeck
Write Vue component unit tests. An agent skill from rundeck/rundeck.
Categories
Create backend tests for Rundeck (unit, API, functional). An agent skill from rundeck/rundeck. Create Test is an agent skill from rundeck/rundeck. Create backend tests for Rundeck (unit, API, functional).
Create Test fits situations like: tasks that involve Unit testing; tasks that involve Integration testing; tasks that involve API testing.
Run `npx skills add rundeck/rundeck --skill create-test -a claude-code`. Or copy the skill folder (.claude/skills/create-test in rundeck/rundeck) into .claude/skills/create-test in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rundeck/rundeck --skill create-test -a codex`. Or copy the skill folder (.claude/skills/create-test in rundeck/rundeck) into .agents/skills/create-test in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rundeck/rundeck --skill create-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-test, .gemini/skills/create-test, .github/skills/create-test and .opencode/skills/create-test in your project.
SKILL.md names no scripts, command-line tools or credentials: Create Test is instructions for the agent only. Our summary lists: Docker.
SKILL.md names 2 domains. As links in the text: spockframework.org and testcontainers.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Create Test is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Create Test: Integration Tests for pREST (prest/prest, 4.6k stars), Designing Tests (CloudAI-X/claude-workflow-v2, 1.4k stars), Write Tests (grafana/synthetic-monitoring-app, 171 stars) and Running Tests (NangoHQ/nango, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rundeck (a GitHub organization) maintains it in rundeck/rundeck, which has 6,329 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.
Source: rundeck/rundeck on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.