Skip to main content

Remote tox test runner

Project description

https://travis-ci.org/pycontribs/rtox.svg?branch=master

rtox

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 will look for config file in current folder or its parents and use ~/.rtox.cfg as fallback. This allows user to have different configs for different projects or groups of projects.

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


Download files

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

Source Distribution

rtox-0.0.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

rtox-0.0.2-py2.py3-none-any.whl (9.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rtox-0.0.2.tar.gz.

File metadata

  • Download URL: rtox-0.0.2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rtox-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e93277806e1ddad5a46b0cfd7a30be9c12f78888afab823a2c138e4db76ff14b
MD5 48b30ba3513a8383813855ee67dbf002
BLAKE2b-256 505d57750e0ae34e0867cdd724fd3fd4993f05b309dbf48c92c350a9ca86eb9c

See more details on using hashes here.

File details

Details for the file rtox-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rtox-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 625d8af50a7fb896067a6a5c4b028090dbcc31f7334e7c2b6f9d50cf06ae836a
MD5 0aace97b538672f107e6e96a5f16389d
BLAKE2b-256 44224773e93bfb70d00c417df6c5029ddebbbfbc56af752517b8f8bcbe34d932

See more details on using hashes here.

Supported by

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