Skip to main content

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


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.1.dev17.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

rtox-0.0.1.dev17-py2-none-any.whl (8.3 kB view details)

Uploaded Python 2

File details

Details for the file rtox-0.0.1.dev17.tar.gz.

File metadata

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

File hashes

Hashes for rtox-0.0.1.dev17.tar.gz
Algorithm Hash digest
SHA256 9cec2d95083a4716a7a4772b6c5d2c79357e6de88448f9054ee4e07fba414fa4
MD5 8ca4bf66d10be29616390a3bd7709736
BLAKE2b-256 fcd2cc019370d7964f218a37b97770bd97392ecb2f99b13ecccfa0029e0abc97

See more details on using hashes here.

File details

Details for the file rtox-0.0.1.dev17-py2-none-any.whl.

File metadata

File hashes

Hashes for rtox-0.0.1.dev17-py2-none-any.whl
Algorithm Hash digest
SHA256 3aa9f3acf66b556ca9cf34f9e582f7a8348ea49da48f4ef14387a25bf34c88a0
MD5 50d1714aad003fe72df555a8e643759f
BLAKE2b-256 74948cfa15c3f7b871fe6ff0a1ae30004b779320850f683b3fb318bfe4ffeaaf

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