Closed rsalmei closed 4 years ago
Tests executed (I'm gonna set up a continuous integration soon):
$ pytest --cov=alive_progress --cov-branch --cov-report=term-missing
Test session starts (platform: darwin, Python 3.7.6, pytest 5.3.5, pytest-sugar 0.9.2)
rootdir: /Users/rogerio/Documents/projects/alive-progress
plugins: sugar-0.9.2, cov-2.8.1
collecting ...
tests/animations/test_bars.py ✓✓✓✓✓✓✓✓✓✓✓✓ 8% ▉
tests/animations/test_spinners.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 24% ██▌
tests/animations/test_utils.py ✓✓✓✓✓✓✓✓✓✓✓✓✓ 33% ███▍
tests/core/test_configuration.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 56% █████▋
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 75% ███████▌
tests/core/test_timing.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 90% █████████▏
tests/core/test_utils.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 100% ██████████
---------- coverage: platform darwin, python 3.7.6-final-0 -----------
Name Stmts Miss Branch BrPart Cover Missing
-----------------------------------------------------------------------------------
alive_progress/__init__.py 15 0 0 0 100%
alive_progress/animations/__init__.py 0 0 0 0 100%
alive_progress/animations/bars.py 40 0 8 0 100%
alive_progress/animations/spinners.py 88 0 32 0 100%
alive_progress/animations/utils.py 31 0 6 0 100%
alive_progress/core/__init__.py 0 0 0 0 100%
alive_progress/core/configuration.py 62 0 20 0 100%
alive_progress/core/logging_hook.py 2 0 0 0 100%
alive_progress/core/progress.py 152 137 66 0 7% 90-286
alive_progress/core/timing.py 28 0 10 0 100%
alive_progress/core/utils.py 14 0 6 0 100%
-----------------------------------------------------------------------------------
TOTAL 432 137 148 0 65%
Results (0.54s):
146 passed
This new version includes:
bar.text()
dedicated method (deprecates 'text' parameter as inbar(text=)
)