Skip to main content

LGApp: GUI for Labgrid

Project description

LGApp

A web app that lets you pick and run tests via Labgrid's pytest plugin and generate HTML/PDF reports for test results.

Features

  • Pick a pytest file and run it with Labgrid
  • View pytest HTML reports in the browser
  • Download PDF versions

Requirements

  • Python 3.10+
  • macOS/Linux (Not tested on Windows)

Install

Open Terminal and run:

git clone https://github.com/danteppc/lgapp.git
cd lgapp
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Run

Once installed, simply run:

lgapp

Then open http://localhost:8080

Use

  • Run tab: choose a .py test (defaults to ~/lgtest, but you can browse anywhere)
  • Tests run automatically; you'll be redirected to its report
  • Reports tab: see all runs, view, download PDF, or delete

Data & config locations

LGApp uses platform-appropriate user folders:

  • Reports and DB are stored user data dir
  • Labgrid environment config file: a default lgconfig.yaml is created in the user config dir on first run

Screenshots

Run Tests Config Labgrid Manage Reports
Run page Config page Reports page

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

lgapp-1.0.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lgapp-1.0.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file lgapp-1.0.0.tar.gz.

File metadata

  • Download URL: lgapp-1.0.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for lgapp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 86e80efaa16864ae7219e9994a51911a7c46666cefeb2b09166409ddb36436d7
MD5 fd4573fc1b2dcd6e2d1e5e61d361e60c
BLAKE2b-256 e0af3312928b124f0e3ed9f91df638b5aa4e29c4c2fbac435fc3660dd4ecaa6e

See more details on using hashes here.

File details

Details for the file lgapp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: lgapp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for lgapp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10e1473fe5df2d5c8170df6f1877b29351411753d0f86ca7cad2b757ad32aef5
MD5 2be75ee95a01764979f6f1c2dacf8fac
BLAKE2b-256 9ee37fea830ab707e1fdf323721b618b036d71d69abc42c6e33a57527535fb4e

See more details on using hashes here.

Supported by

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