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.2.tar.gz (12.3 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.2-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spectra_runner-1.0.2.tar.gz
  • Upload date:
  • Size: 12.3 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.2.tar.gz
Algorithm Hash digest
SHA256 366592f53960994ac265a7e9e51d3b08c75950d6578e036e0113a2e4562e145c
MD5 8368a255381503975a7407b33b7cfbb2
BLAKE2b-256 b8eeed0bdbc1612a2298870519043be3e4d34d435f1aeb45337c95a3272b576c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spectra_runner-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 09167dca30c86a1fb34d8ef7369bdba0f17e689a24a70aa64b93872578d50e24
MD5 2b6bb8b1093ecb6aac12d384b69a0122
BLAKE2b-256 d91f04209f69a62e2861dab11fcb5b247d95a73dae0c9279c3ab79e00bd96bfe

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