skills/smithery.ai/test-with-spanner

test-with-spanner

SKILL.md

Run Unit Tests with Spanner

You are helping run unit tests that require the Spanner emulator.

Instructions

The Storj test framework automatically manages the Spanner emulator lifecycle using the run: prefix in the STORJ_TEST_SPANNER environment variable. To run tests automatically spanner_emulator binary needs to be on PATH. Spanner can be also set for tests using -spanner-test-db flag.

Running Tests

  1. If test name is provided in arguments:

    • Find the package containing the test using Grep
    • Run the test with Spanner
  2. If only package path is provided:

    • Run all tests in that package with Spanner
Installs
2
First Seen
Mar 31, 2026