Chapter 9, CI/CD and Test Automation
- CI/CD stands for Continuous Integration and Continuous Delivery. These software engineering practices allow us to automate the building and testing of code to validate it meets the specifications. After all the tests have passed, they equip the teams with options to automate the delivery of code. Continuous Integration, Continuous Delivery, and Continuous Deployment together significantly reduce the time it takes to deliver application enhancements while the engineering team can solely focus on product and code enhancements.
- A CI process is triggered when an engineer pushes code changes to the version control repository. A new instance of the CI pipeline is triggered where build and tests are executed.
- A CI server typically keeps polling the version control repository every minute or so and runs a preconfigured build script by fetching the latest version of the source files.
- Some of the key aspects involved in the CD methodology...