Skip to content

Lightweight web interface — read-only result viewer #11

Description

@ThomasMalletCodra

Description

Provide a lightweight web interface for consulting test results without installing ModuleTester. This allows stakeholders (project managers, QA leads, clients) to review test plans and results from a browser.

Current behavior

  • Results can only be viewed in the desktop GUI or as exported static files (HTML/DOCX).
  • Sharing results requires exporting and sending files manually.

Expected behavior

  • A simple web server (moduletester serve) that serves test plans and results.
  • Read-only interface: browse test plans, view results, filter by status.
  • No test execution from the web (security concern) — execution stays on the desktop app.
  • Shareable URLs for specific test plans or campaigns.
  • Mobile-friendly responsive design.

Implementation ideas

  1. Use FastAPI or Flask for a minimal backend.
  2. Serve pre-rendered HTML from campaign data (JSON/SQLite).
  3. Simple Jinja2 templates with a clean CSS framework (e.g., PicoCSS, Bootstrap).
  4. moduletester serve --port 8080 --data .moduletester/campaigns/.
  5. Optional: static site generation mode for hosting on GitHub Pages.

Acceptance criteria

  • moduletester serve command starts a local web server
  • Test plans and results are browsable in a web browser
  • Interface is read-only (no execution capability)
  • Results can be filtered by status (pass/fail/skip)
  • Works without installing the full desktop application

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions