LGApp is a lightweight web application that integrates with Labgrid via its pytest plugin, allowing you to easily pick and run tests, view results in the browser, and generate HTML/PDF reports.
- 📂 Select and run any
pytestfile with Labgrid - 🌐 View interactive HTML reports directly in your browser
- 📑 Export and download PDF versions of reports
- 🗂️ Manage previous runs (view, download, or delete reports)
- Python 3.10+
- macOS/Linux (Windows not tested yet)
- Labgrid installed and configured
pip install lgappgit clone https://github.com/danteppc/lgapp.git
cd lgapp
python3 -m venv .venv
source .venv/bin/activate
pip install -e .Once installed, launch with:
lgappThen open your browser at 👉 http://localhost:8080
- Navigate to the Run tab
- Choose a
.pytest file (defaults to~/lgtest, but you can browse anywhere) - Tests run automatically, and you’ll be redirected to the generated report
- Go to the Reports tab
- View previous runs
- Export to PDF or delete reports you no longer need
LGApp uses OS-specific user directories:
- Reports & Database: stored in the user’s data dir
- Labgrid environment config: auto-generates a default
lgconfig.yamlin the user’s config dir on first run
This ensures a clean setup without cluttering your project folders.
| Run Tests | Configure Labgrid | Manage Reports |
|---|---|---|
![]() |
![]() |
![]() |
Contributions, issues, and feature requests are welcome!
Feel free to open an issue or a PR.
This project is licensed under the MIT License.


