Remote tox test runner
Project description
This project represents an experimental development workflow with the following considerations in mind:
tox is an excellent tool for managing test activities in a virtualenv.
Servers in the cloud are faster and far more powerful than my local development environment (usually a laptop).
Latency introduced to the command line by a remote connection, especially on bad WiFi, is painful.
Running huge test suites on a cloud server doesn’t drain my laptop’s battery (or spin up my desktop’s fans) like running them locally would.
Your local development platform might not actually have the binary dependencies available that your project requires from your target platform (developing a Linux application on OS X, for example).
Running tests with tox is easy. Running tests with rtox on a remote host against the local codebase should be just as easy.
This project currently makes a few assumptions that you’d have to meet for it to be useful to you:
You’re a Python developer (that’s why you’re interested in tox, right?).
You’re using git.
You’re working on a publicly available repository (I’d like to break this assumption).
Usage
Configure rtox with an ~/.rtox.cfg file like the following:
[ssh] user = root hostname = localhost port = 22
rtox simply needs to be pointed at an SSH host with git, tox and virtualenv installed.
Once it’s configured, just use rtox in place of tox. For example:
$ rtox -e py27 -e pep8
The state of your local codebase will be mirrored to the remote host, and tox will be executed there.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rtox-0.0.1.tar.gz
.
File metadata
- Download URL: rtox-0.0.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d828d5052bbd6a8d1a9e56debb40aa8554f35741de86fe729a6b324af07d515 |
|
MD5 | f2d6374e220e1826dde18ec550d8475e |
|
BLAKE2b-256 | 36314706663d9b2700d056f0ebc6ba58dc3f485a53dbe631797d83264760b179 |
File details
Details for the file rtox-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: rtox-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70fdf62c5a8bbde05b12d59239483156620b7068fc18d8195f3151acb0b94cba |
|
MD5 | 4d1ebb40cfe253f3b56f97d8ddb85919 |
|
BLAKE2b-256 | 7bc77d217e9a5be3298b7a862edc4f4a44ba4268c0ea947ce78b6a8f32433c87 |