mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 10:13:58 +00:00
- Refactored installer UI with updated canvas rendering, sidebar navigation, and footer buttons. - Enhanced styling for macOS compatibility and consistent design across controls. - Added Pytest-based unit tests for `screen.py` and `config.py`. - Expanded dependency catalog with new tools like `tshark` and `pyshark`. - Improved error tolerance for background rendering and added placeholders for Kerberos configuration.
16 lines
557 B
Bash
Executable File
16 lines
557 B
Bash
Executable File
#!/bin/bash
|
|
# Run all unit tests and generate a coverage report
|
|
|
|
export PYTHONPATH=$PYTHONPATH:.
|
|
|
|
# Check if pytest-cov is installed
|
|
if pytest --trace-config | grep -q "pytest_cov"; then
|
|
echo "Running tests with coverage..."
|
|
pytest --cov=installer --cov=install --cov-report=term-missing --cov-report=html tests/
|
|
echo "Coverage report (HTML) generated in htmlcov/index.html"
|
|
else
|
|
echo "Warning: pytest-cov not found. Running tests without coverage."
|
|
echo "To enable coverage, install it via: pip install pytest-cov"
|
|
pytest tests/
|
|
fi
|