Skip to main content

Local test runner for Spectra DevMode - Run tests on your machine

Project description

Spectra Runner

Run your tests locally with Docker! 🚀

Installation

pip install spectra-runner

Quick Start

1. Login (one-time)

Get your token from Spectra Dashboard → Settings → Local Runner

spectra-runner login --token YOUR_TOKEN

2. Start the runner

spectra-runner start

That's it! The runner will connect to Spectra and wait for test jobs.

Commands

Command Description
spectra-runner login --token X Save your authentication token
spectra-runner start Start the runner and wait for jobs
spectra-runner logout Remove saved token
spectra-runner status Check if you're logged in

How It Works

  1. You run spectra-runner start in your terminal
  2. When you click "Run Tests" in Spectra Dashboard, the job is sent to your runner
  3. Tests run in an isolated Docker container on YOUR machine
  4. Results are sent back to the Dashboard

Security

  • Transparent: You can see every command in your terminal
  • Isolated: Tests run in Docker with --network=none (no internet access)
  • Open Source: Audit the code yourself!
  • User Control: You decide when to run - no background services

Requirements

  • Python 3.8+
  • Docker Desktop (running)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spectra_runner-1.0.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spectra_runner-1.0.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file spectra_runner-1.0.1.tar.gz.

File metadata

  • Download URL: spectra_runner-1.0.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for spectra_runner-1.0.1.tar.gz
Algorithm Hash digest
SHA256 092b4b1f5b822499e17852a9f7a2cd2b58b19a9222407d6244c80c7c26963164
MD5 5202d71bf148f6190b3ec791d61bdf75
BLAKE2b-256 93deaf45df2969c3511254058cf6004bde676111114d0f238860ada38ddbf302

See more details on using hashes here.

File details

Details for the file spectra_runner-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: spectra_runner-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for spectra_runner-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e383b1e10b54098c20d490dbebdd35d0c979dd65fcce3d30597f30a6b7495f14
MD5 035eae24c57a7012a58759b7f067f22b
BLAKE2b-256 b175eb009bf61ac00399c3dd42c4133553b585fd67f438a80435208a165a7cf5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page