Skip to content

danteppc/lgapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 LGApp

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.


✨ Features

  • 📂 Select and run any pytest file 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)

🛠️ Requirements

  • Python 3.10+
  • macOS/Linux (Windows not tested yet)
  • Labgrid installed and configured

📦 Installation

Install via PyPI

pip install lgapp

Install from Source

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

▶️ Run LGApp

Once installed, launch with:

lgapp

Then open your browser at 👉 http://localhost:8080


🖥️ Usage Guide

Run Tests

  • Navigate to the Run tab
  • Choose a .py test file (defaults to ~/lgtest, but you can browse anywhere)
  • Tests run automatically, and you’ll be redirected to the generated report

Manage Reports

  • Go to the Reports tab
  • View previous runs
  • Export to PDF or delete reports you no longer need

📂 Data & Configuration

LGApp uses OS-specific user directories:

  • Reports & Database: stored in the user’s data dir
  • Labgrid environment config: auto-generates a default lgconfig.yaml in the user’s config dir on first run

This ensures a clean setup without cluttering your project folders.


📸 Screenshots

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

🤝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to open an issue or a PR.


📜 License

This project is licensed under the MIT License.


About

Labgrid testing + GUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages