Skip to main content

purkinje

Test runner for py.test test framework with web GUI

Live Demo

Getting Started

pukinje is a browser application intended to run on a spare monitor. It shows results of automated tests in realtime. Currently, the only supported test framework is py.test.

To use purkinje:

Create a virtual environment for purkinje and activate it:

mkvirtualenv purkinje
workon purkinje

Install purkinje:

pip install purkinje

Optionally, create a configuration file purkinje.yml with the following contents:

global:

logLevel: debug debugMode: yes serverPort: 5000 serverHost: localhost

Launch it:

purkinje -f purkinje.yml

or, without configuration file:

purkinje

Open it in a browser:

google-chrome http://localhost:5000/

Prepare your Python/py.test project for reporting to purkinje. In your project’s virtualenv, install the py.test plugin for purkinje:

pip install pytest-purkinje

Run your tests. The results should be visible in the browser:

py.test

Alternatively, you may run purkinje_runner in your project directory. It will automatically detect changes the the sources and execute py.test:

purkinje_runner

Known Limitations

  • Security: There is no access restriction; for now, use only on the local machine

    • Anyone can use the web application

    • Anyone can send test results to the purkinje server

    By default, the server is running on localhost and not accessible from other machines.

  • Only a single test suite

    If you run multiple purkinje-enabled test suites simultaneously, test results will get mixed up. This might change in a future version.

Build Status

Branch

Status

dev

travis-dev

master

travis-master

Coverage: coveralls

System Requirements

  • Currently, only Python 2.7.x is supported because of gevent. In the future, if gevent should support Python 3, purkinje should also support it. Alternatively, gevent might get replaced e.g. by guv.

  • tested on Ubuntu 14.04

  • needs a modern browser that supports WebSockets

Supported Python versions

  • Currently, only 2.7.x is supported. Python 3 support is blocked by the following packages:

    cssmin gevent (which is blocking gevent-websocket) inotifyx (which is blocking gevent_inotifyx)

Supported Operating Systems

  • The server part has only been tested on Ubuntu Linux 14.04 64 bit

  • The web application should work on any operating system using a modern browser (tested with Chrome 40 and Firefox 35)

Development

ChangeLog

Some minor changes were omitted from this list. For details, see git log.

Release 0.1.3

2015-03-07

  • Fixed formatting in README.rst

Release 0.1.2

2015-03-07

  • Optional configuration file

  • logLevel, debugMode, serverPort configurable

  • disabled desktop notifications

  • Arial as fallback for Droid Sans font (the latter may not be available on Windows)

Release 0.1.1

2015-03-02

  • Hide button for creation of dummy data

Release 0.1.0

2015-03-02

  • Basic functionality: ability to display running test suite

  • restricted to local network interface (no access restriction on sending and viewing test results)

Start of Development

2014-12-11

Metadata

Release files for purkinje 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for purkinje 0.1.3
File Size Uploaded
purkinje-0.1.3.tar.gz 15.8 MB Details

Release files / purkinje-0.1.3.tar.gz

Download URL purkinje-0.1.3.tar.gz
Size 15.8 MB
Tags Source
SHA-256 checksum
How to use checksums
82d2e0246603faff55cf56528249f9d4f24963787be0c2d99eede45ec5076ecb
BLAKE2b-256 checksum
How to use checksums
e26035fe99cd3a42a77717d85d21a847ed9a925a287fccb99f2faf8e585cf5fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page