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

Using ModuleTester on the guidata Python package — the tree view shows test hierarchy and execution status, while dockable panels display test properties, output, and errors:

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.0.tar.gz (773.1 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.0-py3-none-any.whl (496.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: moduletester-1.0.0.tar.gz
  • Upload date:
  • Size: 773.1 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.0.tar.gz
Algorithm Hash digest
SHA256 cc5affe5bdc4f82421df9db0fee0ba36d28c54382a7e627520d51e4b9a182cd9
MD5 76bcc8d0f3846a5c027403955f23c107
BLAKE2b-256 1017460bd0afb03c6a029643a24ef1989d4791c80c7bf065f15d610dcb798463

See more details on using hashes here.

File details

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

File metadata

  • Download URL: moduletester-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 496.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da2eef02efad3d4ee7999caee69ddfa7fffc9018c86c31df0e7741b00d1083e1
MD5 235e50f672a2067dbc4a3960f9c5038f
BLAKE2b-256 d359fb1ddc1d55c84210584645e9099dba135520615bae22b6ab2224b5b078b0

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