Automated Testing in Kubernetes: A Comprehensive Framework for Code Quality and Deployment Assurance
Traditional software testing methods, which rely heavily on manual quality assurance towards the end of the development lifecycle, were sufficient for static, simpler systems.However, they fall short for increasingly complex and large applications with multi-service architectures, where developers lose individual visibility, increasing the risk of regressions.Manual testing is time-consuming and prone to errors, lacking the scalability and comprehensive quality coverage required for modern, rapidly evolving systems.This approach often results in delayed feedback, inconsistent outcomes, and higher costs within an agile methodology.Although automated testing is superior to manual testing, current automated testing methods still rely on manually scripted tests and testing environments.As codebases grow, these become challenging to maintain, often leading to fragmented workflows, false positives, or overlooked defects due to inadequate integration of processes within the deployment cycle.This review proposes addressing these challenges by integrating an automated code testing framework directly into the CI/CD pipeline for Kubernetes-based deployments.It includes high-level automation for triggering events in GitHub using pull requests, enabling comprehensive automated checks such as unit, static, and vulnerability tests to ensure correctness.Subsequently, temporary deployments to Kubernetes are made for functional and performance testing in production-like environments.This process ensures that only thoroughly tested code is pushed and deployed, reducing the likelihood of production bugs, downtime, and security vulnerabilities.Additionally, it automates environment creation and teardown, conserving engineering resources.The key benefits include improved code quality, faster feedback cycles, enhanced security, and adherence to modern DevOps practices of automation and collaboration.However, challenges remain in maintaining test suite consistency, creating realistic test environments, and managing continuous integration complexity.Overall, this research contributes to scalable, robust, and highquality software delivery in cloud-native architecture, setting a new standard for deployment assurance.
Publication Details
- Journal
- International Research Journal of Modernization in Engineering Technology and Science
- Published
- 2025-05-27
- DOI
- https://doi.org/10.56726/irjmets76474
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00