marbles
Read better test failures.
Free software: MIT license
Documentation: https://marbles.readthedocs.io
Overview
marbles is a Python unittest extension that allows test authors to write richer tests that expose more information on test failure to help you debug failing tests faster.
Treat test failures as documentation
Contextualize failures without digging through test code and dropping debugging statements everywhere
Write clearer, more explicit tests
Features
Drop-in unittest replacement
Information-rich failure messages
The full statement that failed (instead of just the last line)
Local variables in scope at the time the test failed
Optional annotation provided by the test author with details about the test
Ability to toggle traceback
Semantically-rich assertion methods
Assertion logging
Demo
You can run the example tests provided to see what a marbles failure message looks like
You can also run your existing unittest tests with marbles
python -m marbles test_module.py
Installing
pip install marbles
Metadata
Release files for marbles 0.10.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 | |
|---|---|---|---|
| marbles-0.10.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| marbles-0.10.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / marbles-0.10.0.tar.gz
| Download URL | marbles-0.10.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
398d6d24ae147ecb4a40d00d689795e5d2ffa5c442c37fb52e98f3baa408fdca
|
|
BLAKE2b-256 checksum How to use checksums |
07a7ad766803805c0d3eb3847f43cdf065a0d574cc12f0ef90ed60153bf07ab4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / marbles-0.10.0-py2.py3-none-any.whl
| Download URL | marbles-0.10.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
147bc31787df219238a7ce9e066cafe520bfaea360a2f202a9dcd3b5f4250d62
|
|
BLAKE2b-256 checksum How to use checksums |
b03816f993b8c82511d326bfc576768380d412fe59b7d213ea93dfc5e222a045
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|