Flask web for personal portfolio
https://richionline-portfolio.nw.r.appspot.com
gcloud app deploypip install -r requirements.txtflask run (with .flaskenv)or
flask run -app PATH_APP
pip install -r requirements-tests.txtRun all tests with pytest:
pytestRun tests with verbose output:
pytest -vRun tests with coverage report:
pytest --cov=. --cov-report=html --cov-report=term-missingRun specific test file:
pytest tests/test_main.pyRun specific test class or function:
pytest tests/test_main.py::TestHomeRoute::test_home_status_code./scripts/check_project.shor
coverage run -m pytest -v && coverage html --omit=*/venv/*,*/tests/*The test suite includes:
- Route Tests: Tests for all Flask routes (home, contact, portfolio)
- Configuration Tests: Tests for config.py constants and SETUP_DATA
- Template Tests: Verification that correct templates are rendered
- Error Handling Tests: Tests for 404 and invalid HTTP methods
- Static Files Tests: Basic tests for static file serving
1.0.1 Some new styles and config 1.0.0 First version

