Static code analysis tools TOOLS
sonar qube, flake , pycode pylint
Unit test TOOLS
tox
pytest
nose
unittest
coverage
CI/CD PIPELINE TOOLS
Jenkins, Gitlab, Circleci
SECURITY TOOLS
Python safety , sonar qube
Package dependencies
Poetry , PIP ,pyenv ,python, virtualenv
monitoring tools
Grafana, Prometeus Elastic. logstack , Kibana
Recreate the Manual testing pyramid
Standard pipeline CI/CD for python application
What is continous delivery
Continuous delivery, a practice where you automatically ensure that your software can be released into production at any time, can help you with that. you use a build pipeline to automatically test your software and deploy it to your testing and production environments.
¿Qué hace pip install nose?
Instala el test runner nose para ejecutar tus pruebas automáticamente.
¿Qué hace pip install coverage?
nstala la herramienta coverage para medir cuánto de tu código está cubierto por pruebas.
¿Qué hace nosetests sin opciones?
Ejecuta todas las pruebas que encuentre en tu proyecto y muestra si pasan o fallan.
¿Qué hace nosetests –with-coverage –cover-package=handlers/ –cover-erase?
jecuta pruebas con medición de cobertura solo para handlers/, borrando datos previos de cobertura.
¿Qué hace –cover-min-percentage=90?
Fuerza que la cobertura mínima sea 90%; si es menor, la prueba falla.
What is the standard CI/CD pipeline foe python?