Visão Geral
O Curso Continuous Testing with Python and Jenkins foi desenvolvido para profissionais que desejam automatizar e integrar testes contínuos em pipelines de CI/CD utilizando Python e Jenkins. O participante aprenderá a criar testes automatizados com frameworks Python, configurá-los no Jenkins, gerar relatórios e garantir a qualidade contínua do software durante todo o ciclo de desenvolvimento.
Conteúdo Programatico
Introduction to Continuous Testing
- Definition and importance of continuous testing
- Relationship between CI/CD and testing automation
- Continuous Testing pipeline overview
Setting Up the Environment
- Installing Python and Jenkins
- Jenkins architecture and plugins overview
- Setting up Git repositories for CI
Automated Testing with Python
- Writing tests using Pytest and Unittest
- Structuring test projects and suites
- Assertions, fixtures, and mocking
Integrating Tests with Jenkins
- Creating Jenkins jobs for test execution
- Configuring build triggers and post-build actions
- Running Python tests automatically on code commits
Continuous Integration Pipelines
- Building a complete Jenkins pipeline (declarative and scripted)
- Parallel execution and build stages
- Using Jenkinsfiles for version-controlled pipelines
Reporting and Test Visualization
- Generating HTML, XML, and Allure reports
- Integrating test results with Jenkins dashboards
- Tracking test trends and coverage metrics
Working with Code Coverage
- Using pytest-cov and coverage.py
- Visualizing code coverage in Jenkins
- Setting quality gates for test thresholds
Testing in DevOps Workflows
- Integrating with Docker and virtual environments
- Automating tests in containerized pipelines
- Integration with GitHub Actions or GitLab CI
Error Handling and Troubleshooting
- Debugging failed tests and unstable builds
- Common Jenkins issues in test automation
Best Practices and Optimization
- Scaling test pipelines for large projects
- Maintaining clean and reusable pipeline configurations
- Continuous improvement through feedback loops