prest-integration-tests
Skill by prest
Guides writing and reviewing pREST integration tests under the integration/ folder. It helps make each HTTP request readable through step comments or table-driven descriptions. It is for developers who add or edit Go integration or end-to-end tests.
Install prest-integration-tests
Built from the published package, never by AI.
git clone --depth 1 https://github.com/prest/prest /tmp/prest && mkdir -p ~/.claude/skills && cp -r /tmp/prest/.cursor/skills/prest-integration-tests ~/.claude/skills/prest-integration-testsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install prest-integration-tests in Claude Code
git clone --depth 1 https://github.com/prest/prest /tmp/prest && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/prest/.cursor/skills/prest-integration-tests ~/.gemini/antigravity-cli/skills/prest-integration-testsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install prest-integration-tests in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a guide for writing and reviewing pREST Docker and network integration tests. It explains the integration/ layout, including the shared suites, the Postgres folder and the TimescaleDB folder. It also explains which make targets and GitHub workflows run each set of tests.
The skill asks that every HTTP request be easy to read. Tests should use step comments that state the endpoint, the expected outcome and why the request matters. Table-driven tests should give each case a clear description. It also lists rules such as using the shared server URL and request helpers, and a checklist to finish a test. It is aimed at developers working on pREST integration coverage.
Written from the project's SKILL.md and checked against it.
What it can do
- Test placementExplains whether a test belongs in suites/, postgres/ or timescaledb/.
- Step commentsGives a template for documenting each HTTP request before it is sent.
- Table-driven descriptionsAsks each test case to have a plain description of scenario and expected outcome.
- Helper usagePoints to shared server URLs and request helpers instead of custom test servers.
- Review checklistLists items to check before finishing a new or edited integration test.
- Make targetsMaps make test-integration commands to their Compose files and workflows.
What you need
- Go toolchain for go test
- Docker and Docker Compose for network integration tests
- GitHub Actions workflows for CI runs
Try asking
- Write an integration test for the queries endpoint with step comments.
- Review my integration/postgres test file against the integration checklist.
- Convert this integration test into a table-driven test with descriptions.
Good to know
- Local go test skips network tests when PREST_*_TEST_URL is not set.
- The TimescaleDB workflow does not re-run the shared suites or Postgres packages.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .cursor/skills/prest-integration-tests/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB -
examples.md2 KB
Alternatives to prest-integration-tests
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
prest-integration-tests: common questions
Where should pREST integration tests live?
Wire-compatible HTTP tests go in integration/suites/. Engine-specific tests go in integration/postgres/ or integration/timescaledb/.
How should each request be documented in an integration test?
Add one to three comments before each request covering the endpoint, the expected success or failure outcome, and any non-obvious reason. Table-driven tests can rely on clear case descriptions instead.
Can integration tests call the database directly?
The skill says not to call postgres.Load() or a live database outside integration/. Tests should use the existing helpers and deployed server URLs.
How do I install prest-integration-tests?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is prest-integration-tests free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is prest-integration-tests safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. 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 prest-integration-tests?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
