test-with-spanner

Run Go unit tests requiring the Spanner emulator with automated lifecycle management.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/CYBERSTALKER07/ATOMOS --skill test-with-spanner-cyberstalker07
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-with-spanner
Source: https://github.com/CYBERSTALKER07/ATOMOS/tree/main/.agents/skills/test-with-spanner
Command: npx skills add https://github.com/CYBERSTALKER07/ATOMOS --skill test-with-spanner-cyberstalker07

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Run unit tests that require the Spanner emulator, automating the emulator lifecycle and configuration to simplify local development and CI workflows.

Core Features & Use Cases

  • Automatically manages the Spanner emulator lifecycle for tests in Go packages.
  • Supports test packages such as satellite/metabase, satellite/metainfo, and other tests that interact with Spanner.
  • Useful for local development and CI pipelines needing consistent emulator behavior.

Quick Start

Run your Go tests against packages that require the Spanner emulator and let the skill manage the emulator lifecycle.

Frequently Asked Questions about test-with-spanner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Go unit tests with a Spanner emulator in CI?

To run Go unit tests with a Spanner emulator, this Skill automates the emulator lifecycle and configuration. It supports packages like satellite/metabase and satellite/metainfo, connecting via STORJ_TEST_SPANNER or -spanner-test-db.

What packages are supported for automated Spanner emulator testing?

Automated Spanner emulator testing supports Go test packages such as satellite/metabase and satellite/metainfo. It ensures the emulator is started and connected seamlessly for any tests that interact with Spanner.

Do I need to manually configure the Spanner emulator lifecycle for local development?

You do not need to manually configure the Spanner emulator lifecycle. The Skill handles emulator startup and connection automatically, simplifying local development and ensuring consistent behavior across CI pipelines.

How does the Skill connect to the Spanner emulator during test execution?

The Skill connects to the Spanner emulator during test execution by utilizing the STORJ_TEST_SPANNER environment variable or the -spanner-test-db flag, ensuring seamless integration for Go packages.

Can I use this for CI pipelines that require consistent Spanner emulator behavior?

You can use this for CI pipelines requiring consistent Spanner emulator behavior. It automates emulator setup and teardown, providing a reliable environment for running Go unit tests that interact with Spanner.