Skip to main content

Visualise PyTest status via your Phillips Hue lights

Project description

# pytest-hue Control your Phillips Hue by PyTest.

The following parameters are used:

  • Brightness is controlled by the number of run tests against total number of tests

  • Green hue is controlled by the number of passed tests against total number of tests

  • Red hue is controlled by the number of failed tests against total number of tests

  • Blue hue is controlled by the number of passed tests against total number of tests

## Configuration You’ll need to supply the following values:

## Installing and Running To install

pip install pytest-hue

or clone this repo and run python setup.py install

To run, make sure:

  • Your Phillips Hue Bridge and lights are turned on

Then run with following command (substituting the appropriate values)

pytest –hue-ip XXX.XXX.XXX.XXX –hue-username XXXXXXXXXX –hue-rooms Office

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

pytest-hue-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file pytest-hue-1.0.0.tar.gz.

File metadata

  • Download URL: pytest-hue-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

File hashes

Hashes for pytest-hue-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2452ca28a55521b35b7a335d5db5d44f3184f4c36b21e781533cfd3d0fac3e87
MD5 1a1ce995e14b90cf718ddf25dc58296b
BLAKE2b-256 89695a4f7097e875121d2de55e1add0ae04609f5293df1c4f2a877b785fab84f

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