test-with-spanner

Community

Run unit tests with the Spanner emulator.

Authornkeonye-akumah
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps ensure unit tests that rely on Google Cloud Spanner run reliably by automatically configuring and using the Spanner emulator.

Core Features & Use Cases

  • Emulator detection: Checks SPANNER_EMULATOR_HOST and STORJ_TEST_SPANNER to determine if the emulator is ready.
  • Automated startup: Starts the Spanner emulator in the background when needed.
  • Test execution support: Runs go tests with proper environment variables for the emulator.

Quick Start

Run a Spanner-emulator-enabled test for a package, e.g., go test -v ./satellite/metabase -run TestName, after setting SPANNER_EMULATOR_HOST and STORJ_TEST_SPANNER.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: test-with-spanner
Download link: https://github.com/nkeonye-akumah/decentralized-storage-gateway/archive/main.zip#test-with-spanner

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.