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.3.tar.gz (12.5 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.3-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spectra_runner-1.0.3.tar.gz
  • Upload date:
  • Size: 12.5 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.3.tar.gz
Algorithm Hash digest
SHA256 b5d15e918e95765e6dbbabc7ad95477086bca1f18430006ab8f42af43f2d92ec
MD5 ccf5b08297d0936f48d2b343c627e210
BLAKE2b-256 9f52945696cc786518f9de2c47984e9ae46cf42b17bb35f3c6fc416cc1a86e4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spectra_runner-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 68d2775c3574299df4b8438cfb0678a58786b75f979d0c55a24eb2926b3aba8a
MD5 f3a8fb9a0da833bacf31c126c1915b36
BLAKE2b-256 0866224be43ee51150b75e0b8fa9193303d4fb92fdf401da2643f93ab9f79880

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