Java SDK E2E Test with Replay Snapshot
github/copilot-sdk
Creates a Java SDK end-to-end test for the Copilot SDK that runs against a recorded YAML snapshot through a replay proxy, so CI needs no real authentication.
Dagster integration test fixture lifecycle. An agent skill from rocky-data/rocky.
$ npx skills add rocky-data/rocky --skill rocky-test-fixtures -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rocky-data/rocky rocky-test-fixtures --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/rocky-data/rocky.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/rocky-test-fixtures .claude/skills/rocky-test-fixtures && 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 "rocky-test-fixtures" agent skill from https://github.com/rocky-data/rocky/tree/main/.agents/skills/rocky-test-fixtures into .claude/skills/rocky-test-fixtures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rocky-test-fixtures", 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/rocky-data/rocky/tree/main/.agents/skills/rocky-test-fixturesType 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 rocky-data/rocky --skill rocky-test-fixtures -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rocky-data/rocky rocky-test-fixtures --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/rocky-test-fixtures .agents/skills/rocky-test-fixtures && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "rocky-test-fixtures" agent skill from https://github.com/rocky-data/rocky/tree/main/.agents/skills/rocky-test-fixtures into .agents/skills/rocky-test-fixtures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rocky-test-fixtures", 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 rocky-data/rocky --skill rocky-test-fixtures -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rocky-data/rocky rocky-test-fixtures --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/rocky-test-fixtures .cursor/skills/rocky-test-fixtures && 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 "rocky-test-fixtures" agent skill from https://github.com/rocky-data/rocky/tree/main/.agents/skills/rocky-test-fixtures into .cursor/skills/rocky-test-fixtures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rocky-test-fixtures", 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/rocky-data/rocky.git --path .agents/skills/rocky-test-fixtures--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 rocky-data/rocky --skill rocky-test-fixtures -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rocky-data/rocky rocky-test-fixtures --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/rocky-test-fixtures .gemini/skills/rocky-test-fixtures && 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 "rocky-test-fixtures" agent skill from https://github.com/rocky-data/rocky/tree/main/.agents/skills/rocky-test-fixtures into .gemini/skills/rocky-test-fixtures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rocky-test-fixtures", 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 rocky-data/rocky rocky-test-fixturesInstalls 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 rocky-data/rocky --skill rocky-test-fixtures -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/rocky-test-fixtures .github/skills/rocky-test-fixtures && 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 "rocky-test-fixtures" agent skill from https://github.com/rocky-data/rocky/tree/main/.agents/skills/rocky-test-fixtures into .github/skills/rocky-test-fixtures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rocky-test-fixtures", 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 rocky-data/rocky --skill rocky-test-fixtures -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rocky-data/rocky rocky-test-fixtures --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/rocky-test-fixtures .opencode/skills/rocky-test-fixtures && 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 "rocky-test-fixtures" agent skill from https://github.com/rocky-data/rocky/tree/main/.agents/skills/rocky-test-fixtures into .opencode/skills/rocky-test-fixtures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rocky-test-fixtures", 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.
rocky-test-fixturesDagster integration test fixture lifecycle. An agent skill from rocky-data/rocky.
Rocky Test Fixtures is an agent skill from rocky-data/rocky. Dagster integration test fixture lifecycle. Use when regenerating live-binary fixtures via just regen-fixtures / scripts/regenfixtures.sh, debugging why a generated fixture differs across runs, or adding scenario data for new CLI commands. Covers determinism (zeroed timings, sentinel timestamps), the relationship between tests/scenarios.py and tests/fixturesgenerated/, and the two POCs that back the corpus.
Its SKILL.md is about 2.3k 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 Test data and fixtures, Integration testing and Debugging. It works with Dagster and Pydantic. The repository describes itself as: A SQL transformation engine that type-checks your whole pipeline and catches breaking changes before they run — branches, replay, column-level lineage, compile-time contracts… The licence is Apache-2.0.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 365aebf. 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.
Shell commands in SKILL.md call:
justcargouvbrewgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv and git, which can reach the network depending on how they are called.
From 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.
Rocky Test Fixtures loads about 2.3k tokens when it runs. Until then it costs about 110 tokens; SKILL.md has 993 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 rocky-data/rocky at commit 365aebf, republished under its Apache-2.0 licence (© rocky-data). 993 words, ~2,267 tokens.
.claude/skills/rocky-test-fixtures/SKILL.md (or your agent's skills folder).The dagster integration has two parallel sources of test data with different roles. Conflating them causes confusion, so this skill is worth reading before touching either.
| Path | Role | Edit policy |
|---|---|---|
integrations/dagster/tests/scenarios.py | Source of truth for parsing/translator/component tests. Hand-crafted Python dicts exposed as *_json pytest fixtures via conftest.py (which json.dumps each scenario). | Edit by hand. Add new scenarios when introducing a new CLI command or covering a new shape. |
integrations/dagster/tests/fixtures_generated/ | Live-binary corpus. Captured from the running rocky binary against the playground POCs. Used for drift detection — test_generated_fixtures.py re-validates that every captured JSON still parses against the current Pydantic models. | Regenerated by just regen-fixtures. Don't hand-edit — the next regen overwrites your changes. |
Tests in test_types.py, test_translator.py, test_component.py, etc. consume the *_json fixtures backed by scenarios.py. The generated corpus is exercised solely by test_generated_fixtures.py to catch shape drift between the Rust binary and the Pydantic models.
A legacy tests/fixtures/*.json directory previously held the parsing-test corpus; it was removed once scenarios.py became the source of truth. See conftest.py for the migration note. The --in-place flag in scripts/regen_fixtures.sh still targets that directory and is effectively a no-op today.
*Output struct that affects a fixture's shape (pairs with the rocky-codegen skill — codegen updates the Pydantic models; the captured fixtures should still parse against them)test_types.py (you'll add a scenarios.py entry, not a JSON file)test_generated_fixtures.py fails after a binary or schema changejust regen-fixtures
# or
./scripts/regen_fixtures.shWrites to integrations/dagster/tests/fixtures_generated/. The captured JSON should git diff cleanly except for fields that legitimately changed; non-trivial diffs warrant inspection.
After regenerating, always run from integrations/dagster/:
uv run pytest tests/test_generated_fixtures.py -vThis catches any captured-output shape that no longer parses against the current Pydantic models.
The script hard-fails if either is missing:
Release binary at engine/target/release/rocky — build with:
cd engine && cargo build --release --bin rockyor run just codegen (which also builds in release mode and shares the artifact).
duckdb CLI on $PATH — used to seed the playground POC's DuckDB file:
brew install duckdb # macOSregen_fixtures.sh runs the binary against two playground POCs, captured into different subdirectories of fixtures_generated/:
| POC | Purpose | Fixtures produced |
|---|---|---|
examples/playground/pocs/00-foundations/01-replication-basics/ | Baseline full_refresh replication pipeline. Produces most fixtures. (00-playground-default is now a transformation pipeline; this is its verbatim replication clone, kept as the fixture source so captures stay byte-identical.) | discover.json, plan.json, run.json, state.json, compile.json, test.json, ci.json, lineage.json, doctor.json, history.json, metrics.json, optimize.json, etc. |
examples/playground/pocs/02-performance/03-partition-checksum/ | time_interval (partition-keyed) pipeline. Exercises partition-specific shapes. | partition/compile.json, partition/run_single.json, partition/run_backfill.json, partition/run_late.json |
If you need a fixture shape that neither POC produces naturally (e.g. drift.json from a non-zero schema diff), add it as a scenarios.py entry rather than coercing the POC into producing it.
Without post-processing, every regen would produce a slightly different diff because Rocky stamps:
_ms, _seconds, _secs suffixes)now() (updated_at, started_at, finished_at, timestamp, captured_at)The capture helper inside regen_fixtures.sh runs a Python normalizer (scripts/_normalize_fixture.py) over each captured JSON file that:
_ms / _seconds / _secs"2000-01-01T00:00:00Z"Important invariants the normalizer preserves:
last_value (watermarks) — NOT touched. It's a logical value derived from seeded data and is genuinely deterministic across runs.data payload — NOT touched. Only top-level wall-clock fields get the sentinel.If you add a new timing or timestamp field to an *Output struct, you may need to extend TIMING_SUFFIXES or WALL_CLOCK_FIELDS in the normalizer. Otherwise your new fixture will drift on every regen.
The capture helper tolerates non-zero exit codes as long as stdout parses as JSON. This is intentional:
rocky doctor exits 1 when any check is warning, 2 when critical — and both still emit valid JSON.rocky run can exit non-zero on partial success and still emit a valid RunOutput.The dagster integration's allow_partial=True path mirrors this tolerance in production — see integrations/dagster/src/dagster_rocky/resource.py.
For a new CLI command whose output the dagster tests need to parse:
rocky-codegen skill).just codegen-sdk).scenarios.py entry with a representative output dict, then expose it via a *_json pytest fixture in conftest.py.test_types.py that loads the fixture and asserts on key fields.capture call in scripts/regen_fixtures.sh so the playground POC contributes a live-binary sample under fixtures_generated/. Run just regen-fixtures afterwards.If the playground POC can't produce the command naturally (e.g. an adapter-specific command that needs Databricks), skip step 5 — the scenarios.py entry is the test source of truth.
Symptoms and causes:
| Symptom | Likely cause |
|---|---|
test_generated_fixtures.py fails with ValidationError | Pydantic model changed but captured fixture is stale — run just regen-fixtures |
fixtures_generated/<name>.json differs by a single _ms field | Normalizer missed a new duration field — extend TIMING_SUFFIXES |
| Fixture differs wildly between runs | Playground POC has non-deterministic seed data (rare) or a new timestamp field — extend WALL_CLOCK_FIELDS |
capture prints ==> <name> but the file is empty | Command exited non-zero AND wrote to stderr, not stdout — check the command manually |
rocky binary not found at engine/target/release/rocky | Missing release build — run cd engine && cargo build --release --bin rocky or just codegen |
| Partition fixtures missing but main ones present | 02-performance/03-partition-checksum POC missing or broken — check ls examples/playground/pocs/02-performance/03-partition-checksum/ |
scripts/regen_fixtures.sh — the capture pipeline + POC listscripts/_normalize_fixture.py — wall-clock + timing normalizerintegrations/dagster/tests/scenarios.py — hand-crafted Python dict scenarios (test source of truth)integrations/dagster/tests/conftest.py — *_json fixture exposureintegrations/dagster/tests/test_generated_fixtures.py — the test that guards the captured corpusintegrations/dagster/AGENTS.md — "Adding support for a new Rocky CLI command" checklist (includes the scenarios step)justfile — the regen-fixtures recipe (wraps the script)rocky-codegen — the Rust → Pydantic/TS cascade that fixtures are validated againstrocky-new-cli-command — the end-to-end checklist that includes scenario/fixture creationrocky-poc — authoring the playground POCs that the captured fixture corpus depends on© rocky-data, 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 .agents/skills/rocky-test-fixtures of rocky-data/rocky.
Open the folder on GitHubat commit 365aebf
Rocky Test Fixtures 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 |
|---|---|---|---|---|---|---|
| Rocky Test Fixtures this skillrocky-data/rocky | 304 | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Java SDK E2E Test with Replay Snapshotgithub/copilot-sdk | 11k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Airbyte Postgres Source E2E Testsairbytehq/airbyte | 22k | — | ~2.5k | Automated safety check: Pass | Custom licence | |
| Aspire Integration TestingDevBetterCom/DevBetterWeb | 157 | 2 repos | ~2.3k | Automated safety check: Pass | None | |
| Robotics Testingarpitg1304/robotics-agent-skills | 369 | — | ~4.7k | Automated safety check: Pass | Apache-2.0 | |
| Source MySQL CDC Test Harnessairbytehq/airbyte | 22k | — | ~1.8k | Automated safety check: Pass | Custom licence |
github/copilot-sdk
Creates a Java SDK end-to-end test for the Copilot SDK that runs against a recorded YAML snapshot through a replay proxy, so CI needs no real authentication.
airbytehq/airbyte
Starts a local PostgreSQL 16 container, loads SQL fixtures and runs the Airbyte spec, check, discover and read commands against a chosen source-postgres image.
DevBetterCom/DevBetterWeb
Write integration tests using .NET Aspire's testing facilities with xUnit.
arpitg1304/robotics-agent-skills
Testing strategies, patterns, and tools for robotics software.
airbytehq/airbyte
Reproduces MySQL binlog change-data-capture behavior for the Airbyte source-mysql connector on a local MySQL backend, with fixtures, a catalog and smoke cases.
Dolibarr/dolibarr
Create interactive PHP test case scripts for Dolibarr ERP/CRM that allow users to setup test data, view results via direct links, and tear down (clean up) the data.
rocky-data/rocky
Fivetran REST API reference for Rocky's source adapter. An agent skill from rocky-data/rocky.
rocky-data/rocky
Databricks REST API and SQL reference for Rocky's warehouse adapter.
rocky-data/rocky
Rocky CLI JSON-output schema cascade. An agent skill from rocky-data/rocky.
rocky-data/rocky
Top-level router for Rocky development tasks. An agent skill from rocky-data/rocky.
rocky-data/rocky
Rocky DSL (.rocky file) cross-subproject cascade. An agent skill from rocky-data/rocky.
rocky-data/rocky
Adding a new warehouse or source adapter crate to the Rocky engine.
Categories
Dagster integration test fixture lifecycle. An agent skill from rocky-data/rocky. Rocky Test Fixtures is an agent skill from rocky-data/rocky. Dagster integration test fixture lifecycle.
Rocky Test Fixtures fits situations like: regenerating live-binary fixtures via just regen-fixtures / scripts/regenfixtures.sh; debugging why a generated fixture differs across runs; adding scenario data for new CLI commands.
Run `npx skills add rocky-data/rocky --skill rocky-test-fixtures -a claude-code`. Or copy the skill folder (.agents/skills/rocky-test-fixtures in rocky-data/rocky) into .claude/skills/rocky-test-fixtures in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rocky-data/rocky --skill rocky-test-fixtures -a codex`. Or copy the skill folder (.agents/skills/rocky-test-fixtures in rocky-data/rocky) into .agents/skills/rocky-test-fixtures 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 rocky-data/rocky --skill rocky-test-fixtures -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rocky-test-fixtures, .gemini/skills/rocky-test-fixtures, .github/skills/rocky-test-fixtures and .opencode/skills/rocky-test-fixtures in your project.
Going by SKILL.md and its folder, Rocky Test Fixtures needs the command-line tools its instructions call (just, cargo, uv, brew and git). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use uv and git, which can reach the network depending on how they are called. 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.
Rocky Test Fixtures 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 2.3k tokens (SKILL.md is roughly 9.1k 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 Rocky Test Fixtures: Java SDK E2E Test with Replay Snapshot (github/copilot-sdk, 11k stars), Airbyte Postgres Source E2E Tests (airbytehq/airbyte, 22k stars), Aspire Integration Testing (DevBetterCom/DevBetterWeb, 157 stars) and Robotics Testing (arpitg1304/robotics-agent-skills, 369 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rocky-data (a GitHub organization) maintains it in rocky-data/rocky, which has 304 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 10, 2026.
Source: rocky-data/rocky on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.