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
.pytest (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.yamlis created in the user config dir on first run
Screenshots
| Run Tests | Config Labgrid | Manage Reports |
|---|---|---|
Metadata
Release files for lgapp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lgapp-1.0.0.tar.gz | 15.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lgapp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.7 kB
Release files / lgapp-1.0.0.tar.gz
| Download URL | lgapp-1.0.0.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86e80efaa16864ae7219e9994a51911a7c46666cefeb2b09166409ddb36436d7
|
|
BLAKE2b-256 checksum How to use checksums |
e0af3312928b124f0e3ed9f91df638b5aa4e29c4c2fbac435fc3660dd4ecaa6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / lgapp-1.0.0-py3-none-any.whl
| Download URL | lgapp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10e1473fe5df2d5c8170df6f1877b29351411753d0f86ca7cad2b757ad32aef5
|
|
BLAKE2b-256 checksum How to use checksums |
9ee37fea830ab707e1fdf323721b618b036d71d69abc42c6e33a57527535fb4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|