table-driven-test とは?
CockroachDB の規則に従って、Go でクリーンで適切に構造化されたテーブル駆動テストを作成するためのガイドライン。 ソース: cockroachdb/cockroach。
CockroachDB の規則に従って、Go でクリーンで適切に構造化されたテーブル駆動テストを作成するためのガイドライン。
コマンドラインで table-driven-test AI スキルを開発環境にすばやくインストール
ソース: cockroachdb/cockroach。
Table-driven tests define multiple test cases in a slice of structs, then iterate over them executing the same test logic. This makes it easy to add cases, improves readability, and reduces duplication.
Not the same as: Datadriven tests (different library with testdata files)
Order struct fields with input fields at the top and verification fields at the bottom. Prefix all verification fields with expected so readers can immediately distinguish inputs from outputs.
CockroachDB の規則に従って、Go でクリーンで適切に構造化されたテーブル駆動テストを作成するためのガイドライン。 ソース: cockroachdb/cockroach。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/cockroachdb/cockroach --skill table-driven-testCockroachDB の規則に従って、Go でクリーンで適切に構造化されたテーブル駆動テストを作成するためのガイドライン。 ソース: cockroachdb/cockroach。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/cockroachdb/cockroach --skill table-driven-test インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/cockroachdb/cockroach