integration-test とは?
CockroachDB テスト サーバーを使用した統合テストを作成するためのガイドライン (いつ使用するか、sqlutils を使用する方法など)。 ソース: cockroachdb/cockroach。
CockroachDB テスト サーバーを使用した統合テストを作成するためのガイドライン (いつ使用するか、sqlutils を使用する方法など)。
コマンドラインで integration-test AI スキルを開発環境にすばやくインストール
ソース: 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:
CockroachDB テスト サーバーを使用した統合テストを作成するためのガイドライン (いつ使用するか、sqlutils を使用する方法など)。 ソース: cockroachdb/cockroach。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/cockroachdb/cockroach --skill integration-testCockroachDB テスト サーバーを使用した統合テストを作成するためのガイドライン (いつ使用するか、sqlutils を使用する方法など)。 ソース: cockroachdb/cockroach。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/cockroachdb/cockroach --skill integration-test インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/cockroachdb/cockroach