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
- You run
spectra-runner startin your terminal - When you click "Run Tests" in Spectra Dashboard, the job is sent to your runner
- Tests run in an isolated Docker container on YOUR machine
- 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.0.tar.gz
(12.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spectra_runner-1.0.0.tar.gz.
File metadata
- Download URL: spectra_runner-1.0.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cbb488f1a07ff561a68c5c1a2d9c61812e3b5221105930c550aac805e6b0616
|
|
| MD5 |
6a6e2a235e3cf8d0b941129bdedca857
|
|
| BLAKE2b-256 |
4d3fb0e9bd62823811a43966aa8766f17727533267b18465275cf555fc87c401
|
File details
Details for the file spectra_runner-1.0.0-py3-none-any.whl.
File metadata
- Download URL: spectra_runner-1.0.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37e09b3df191b771c74c78d3b51ab7a6ac143fd4df5f37d97f43f710738ea5b7
|
|
| MD5 |
1e0c42de26c1fa66c37eb05deca72d15
|
|
| BLAKE2b-256 |
5eb9f24b583b03d807e91f5346fb3b76df0ec09452c8612878019c5c8d765197
|