Skip to main content

ModuleTester is a test management software for Python packages

Project description

ModuleTester

license pypi version PyPI status PyPI pyversions CI

ℹ️ Created by Codra in 2023, developed and maintained by ModuleTester open-source project team with the support of Codra.

ℹ️ ModuleTester is powered by PlotPyStack 🚀.

PlotPyStack


Overview

ModuleTester is a GUI and CLI test management tool for Python packages. It automatically discovers test scripts, runs them, and generates detailed reports in multiple formats.

Key features:

  • Dockable panel layout — fully customizable workspace with resizable, floatable panels
  • Tree view navigation — hierarchical test browser with status icons, notifications, and live spinner during execution
  • Multi-format export — generate reports in HTML, DOCX, ODT, PDF, Markdown, and reStructuredText via a Jinja2-based engine
  • CLI support — run tests and export reports without the GUI (moduletester-cli run, moduletester-cli export)
  • Built-in configuration editor — edit settings directly in the GUI with error handling and conflict resolution
  • Notification system — visual indicators on tabs and tree items for new output and errors

ModuleTester is a spin-off of DataLab and is used to test PlotPyStack libraries.

ModuleTester — empty window

Quick Start

  1. Install ModuleTester:

    pip install ModuleTester
    
  2. Mark test scripts you want to see in the GUI by adding a comment at the top of each script:

    # guitest: show
    
  3. Launch the GUI on your package:

    moduletester --module mypackage
    

    Or use the CLI to run tests headlessly:

    moduletester-cli run mypackage
    
  4. Export a report:

    moduletester-cli export mypackage --output report.html
    

Example

ModuleTester ships with a complete Example Calculator project in the example/ directory that demonstrates all three test categories: manual GUI tests, unit tests with coverage, and qualification scripts.

See the integration guide for a step-by-step tutorial on adding ModuleTester to your own project.

ModuleTester — example tests

ModuleTester — guidata tests

Documentation

Full documentation is available at moduletester.readthedocs.io.

Credits

Copyrights and licensing:

  • Copyright © 2023 Codra.
  • Licensed under the terms of the BSD 3-Clause (see LICENSE).

Dependencies and other installation methods

See Installation section in the documentation for more details.

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

moduletester-1.0.1.tar.gz (847.9 kB view details)

Uploaded Source

Built Distribution

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

moduletester-1.0.1-py3-none-any.whl (497.0 kB view details)

Uploaded Python 3

File details

Details for the file moduletester-1.0.1.tar.gz.

File metadata

  • Download URL: moduletester-1.0.1.tar.gz
  • Upload date:
  • Size: 847.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for moduletester-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0d391d639a1ec9f9e49a66eb3be63e93fdf4dcaba4ee0e075ea7148bf1faed49
MD5 168edf296886f1483c9b7fec20785618
BLAKE2b-256 5bad5184727bf13769d862a4aed0b86d7d2c7b5ab1682afe0d0f47a698f06113

See more details on using hashes here.

File details

Details for the file moduletester-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: moduletester-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 497.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for moduletester-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c1fa930986a835b85bac732923322fa610efaaf4639f23df3f9d2c527abd653
MD5 b0592ca6dc4d2d962c6e70f52e3a0db4
BLAKE2b-256 5577d44f184db77c68042450702ba47ea1f8b170f829760ddbce70e45fc412b3

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