Chapter10 (Se305)
Chapter10 (Se305)
If testing
only happens a few times a year, developers may discover mistakes months later, making xes
harder and reducing learning. We should work together early to catch issues and improve our
code.
Q: How does continuously building, testing, and integrating our code and
environments improve software quality?
• Automated Tests: Ensures quality from the start.
• Fast Feedback: Helps x problems early.
• Reduces errors.
• Deployment Pipeline: Tests code in a production-like environment.
• Quick Error Detection
• Simpli es work ows with tools like GitHub Actions.
Q: Why is it important to continuously build, test, and integrate our code and
environments?
• Always Running: The build and test processes can work all the time, no matter when
people are working.
• Know What’s Needed: We can see all the parts needed to make and test the code.
• Easy Installation: We can package our applications for easy installation.
• Use Containers: We can put our apps in containers to make them easier to deploy.
• We can create environments that are like the real one every time.
Q: What is the process of continuously building, testing, and integrating our code
and environments?
• We start the deployment pipeline with the commit stage, where we build and package
the software, run automated tests, and check for issues like duplication.
• If successful, we move to the acceptance stage, which deploys the packages into a
production-like environment and runs acceptance tests.
• Once accepted into version control, we package our code once to ensure consistency
throughout the pipeline depolyment.
• This method lets us deploy in staging and test environments like in production, making it
easier to nd and x mistakes. Staging simulates the real setup.
Q: What does it mean to pull our Andon cord when the deployment pipeline breaks?
A: Pulling our Andon cord means stopping new work when the deployment pipeline has
issues
In this chapter, we set up automated tests to ensure our build is always in a good, deployable
state. We organized our testing into a deployment pipeline and created a culture where everyone
helps x problems quickly if tests fail.This prepares us for continuous integration, allowing small
teams to safely develop, test, and deploy code, which delivers value to customers.
fi
fi
fi