Sample project for:
- Virtual Envirnment
- Folder Structure
- __init__.py
- unittest
- GitHub Actions
- Shell Scripts
-
Set up virtual environment and install packages:
$. venv_setup.sh -
Unset virtual environment:
$. venv_unset.sh
- Manually
-
Installation of packages
pip install -r requirements.txt
$ python -m src.func_00
$ python -m src.class_00
$ python -m test.test_func_00
$ python -m test.test_class_00
$ python -m unittest discover test
$ python -m coverage run -m unittest discover test
$ python -m coverage report
$ python -m coverage html
$. run_unittest_coverage.sh
Then open htmlcov/index.html in your browser, to see a report.