emtest - Python Testing Utilities
A Python package providing testing utilities.
Features
🎨 Clean Test Output for Pytest
- MinimalReporter: Custom pytest reporter with clean, colored output using simple symbols (✓/✗/-)
- Configurable Output: Toggle between minimal and standard pytest output modes
🔧 Development Utilities
- Source Path Management: Dynamically add directories to Python path for testing source code
- Module Source Validation: Ensure modules are loaded from source directories (not installed packages)
- Thread Cleanup Monitoring: Wait for and verify proper thread cleanup in tests
⚡ Enhanced Test Execution
- Dual Execution Pattern: Run tests both as pytest tests and standalone Python scripts
- Breakpoint Integration: Easy debugging with pytest's
--pdbintegration - Progress Indicators: Visual progress bars for waiting operations
Installation
pip install emtest
Usage
See the Usage docs for explanations and a complete working example showing:
- Basic test setup with
conftest.py - Showing and hiding logs
- Dual execution pattern implementation
- Source loading validation
- Thread cleanup testing
- Options like minising output, python-debugger breakpoints and more
Documentation
Roadmap
Contributing
Get Involved
- GitHub Discussions: if you want to share ideas
- GitHub Issues: if you find bugs, other issues, or would like to submit feature requests
- GitHub Merge Requests: if you think you know what you're doing, you're very welcome!
Donate
To support me in my work on this and other projects, you can make donations with the following currencies:
- Bitcoin:
BC1Q45QEE6YTNGRC5TSZ42ZL3MWV8798ZEF70H2DG0 - Ethereum:
0xA32C3bBC2106C986317f202B3aa8eBc3063323D4 - Credit Card, Debit Card, Bank Transfer, Apple Pay, Google Pay, Revolut Pay)
Donations help me:
- dedicate more time to developing and maintaining open-source projects
- cover costs for IT resources
About the Developer
This project is developed by a human one-man team, publishing under the name Emendir.
I build open technologies trying to improve our world;
learning, working and sharing under the principle:
Freely I have received, freely I give.
Feel welcome to join in with code contributions, discussions, ideas and more!
Open-Source in the Public Domain
I dedicate this project to the public domain. It is open source and free to use, share, modify, and build upon without restrictions or conditions.
I make no patent or trademark claims over this project.
Formally, you may use this project under either the:
- MIT No Attribution (MIT-0) or
- Creative Commons Zero (CC0) licence at your choice.
Metadata
Release files for emtest 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| emtest-0.2.0.tar.gz | 15.4 kB | Without provenance | Details for emtest-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| emtest-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for emtest-0.2.0-py3-none-any.whl |
Total release size: 30.6 kB
Release files / emtest-0.2.0.tar.gz
| Download URL | emtest-0.2.0.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f52dcb15693babf9e0f583eb1b5a32da8dc2d05592036d56b99d8a5285214531
|
|
BLAKE2b-256 checksum How to use checksums |
6a1851c5a99322e0f26ec2ee245e92c326a386c38f2c8f1651d9401b5d10fe82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|
Release files / emtest-0.2.0-py3-none-any.whl
| Download URL | emtest-0.2.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fffa2df4594df90f46ed433c6acda0e6fe5643da736b8f8ca74639ee8895a40c
|
|
BLAKE2b-256 checksum How to use checksums |
ee8af0181ea972fbc8c55f1b34e7071489c057cccddaf566e375102a81ec2459
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|
Security for emtest 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.