A GUI-based test runner for Python unit tests and integration tests
Project description
Invenio Et Probo Test Runner
A modern, GUI-based test runner for Python unit tests and integration tests. Built with tkinter and ttkbootstrap, it provides an intuitive interface for discovering and running tests with real-time feedback and detailed logging.
Features
- Modern, bootstrap-themed GUI interface
- Automatic test discovery
- Real-time test execution feedback
- Detailed test and method logging
- Test filtering and exclusion patterns
- Separate process test execution to avoid GUI freezing
- Support for both unit tests and integration tests
Installation
pip install invenio-et-probo
Usage
As a Command Line Tool
# Start the GUI test runner
invenio-test-runner
# Start with a specific test directory
invenio-test-runner --test-dir /path/to/tests
# Start with specific exclude patterns
invenio-test-runner --exclude "test_skip_*" "test_integration_*"
As a Python Module
from invenio_et_probo.gui import TestRunnerGUI
# Create and start the test runner
runner = TestRunnerGUI(
theme="darkly", # Optional: ttkbootstrap theme
test_dir="path/to/tests", # Optional: initial test directory
exclude_patterns=["test_skip_*"] # Optional: patterns to exclude
)
runner.run()
Configuration
- Theme: Uses ttkbootstrap themes. Available themes include: "darkly", "flatly", "litera", etc.
- Test Directory: Any directory containing Python test files
- Exclude Patterns: List of patterns to exclude from test discovery
Development
- Clone the repository
- Install development dependencies:
pip install -e ".[dev]"
- Run tests:
python -m pytest tests/
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file invenio_et_probo-0.1.0.tar.gz.
File metadata
- Download URL: invenio_et_probo-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0362fbc68023fd9126d0c18352eecfc62323add6437d15935b6b11417f8040a4
|
|
| MD5 |
563dea5a5428ec6da5a4d3664f525577
|
|
| BLAKE2b-256 |
366ebbb425d3d91de4789d0d9597663aed8a13a173c02b1bfb259bc64da3d36e
|
File details
Details for the file invenio_et_probo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: invenio_et_probo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1f256e7207905fbea276cef5fec458d60948a75f3f1374953c176139d0a9bcb
|
|
| MD5 |
e3e5dfef4fb2c7a7432d245edf147ac2
|
|
| BLAKE2b-256 |
ccdd7c34acaf40db01e13312278a91c5d362923f94628611d131e71ac2aadafe
|