What is integration-test?
Guidelines for writing integration tests with CockroachDB test servers, including when to use them and how to use sqlutils. Source: cockroachdb/cockroach.
Guidelines for writing integration tests with CockroachDB test servers, including when to use them and how to use sqlutils.
Quickly install integration-test AI skill to your development environment via command line
Source: cockroachdb/cockroach.
Integration tests use testserver, a fully functional CockroachDB server with all components in-memory and in the same process. They're SLOW to spin up (can add seconds per test case), so use them only when necessary.
Prefer sqlutils.MakeSQLRunner over raw database connections in most cases. It provides automatic error handling (fails the test on error), cleaner syntax, and helper methods for common operations.
Use sqlDB.DB when you need direct error handling rather than automatic test failure:
Guidelines for writing integration tests with CockroachDB test servers, including when to use them and how to use sqlutils. Source: cockroachdb/cockroach.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/cockroachdb/cockroach --skill integration-testGuidelines for writing integration tests with CockroachDB test servers, including when to use them and how to use sqlutils. Source: cockroachdb/cockroach.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cockroachdb/cockroach --skill integration-test Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/cockroachdb/cockroach