L12 - Continuous Integration 2 Flashcards
What is Shift Left testing?
- Earlier testing by moving the testing phase to an earlier position in the waterfall development lifecycle.
What is the benefit of Shift Left testing?
Building in security earlier ensures a more secure software in which security was considered and built-in from the beginning.
Explain the concept of the Test Snow Cone…
- Case in which there are many end-to-end tests, fewer service tests and even fewer unit test
- An anti-pattern
What are the issues with the Test Snow Cone?
- Tests are expensive and time consuming to run and debug.
- Anti-pattern. It’s the direct opposite of how testing should be implemented.
What is meant by the Normalisation of Deviance?
- Developers getting comfortable or used to red builds, resulting in lack of motivation, poor culture and working practices.
How is the Normalisation of Deviance prevented?
Team should proactively tackled red builds asap.
What are Build Light Indicators and what do they ensure?
- Light indicators that indicate the current build status. Red or Green.
- Provide all developers with a uniform understanding of build statuses.
What are the 2 statuses of Build Indicators?
Green: Working build.
Red: Broken Build.
What are Build Indicators?
- Visualisation of Build Light Indicators that provides a summary of all microservice build statuses.
- Provide a collated visualisation of development pipeline status
When are Build Indicators employed over Build Light Indicators?
As the number of Build Light Indicators increase
What are the pros and cons of having dedicated test teams?
Pros:
- Reduces bias since testing isn’t done by the developer.
- Higher test quality. Vital in highly secure industries (financial).
- They can take ownership of end-to-end and service tests.
cons:
- Can slow down production
- Not required if automated testing is implemented
- More teams = more communication overhead.
What is the trade off of having dedicated test teams?
Increases security and reliability, however, development time is increased.