L12 - Continuous Integration 2 Flashcards

1
Q

What is Shift Left testing?

A
  • Earlier testing by moving the testing phase to an earlier position in the waterfall development lifecycle.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the benefit of Shift Left testing?

A

Building in security earlier ensures a more secure software in which security was considered and built-in from the beginning.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain the concept of the Test Snow Cone…

A
  • Case in which there are many end-to-end tests, fewer service tests and even fewer unit test
  • An anti-pattern
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the issues with the Test Snow Cone?

A
  • Tests are expensive and time consuming to run and debug.
  • Anti-pattern. It’s the direct opposite of how testing should be implemented.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is meant by the Normalisation of Deviance?

A
  • Developers getting comfortable or used to red builds, resulting in lack of motivation, poor culture and working practices.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is the Normalisation of Deviance prevented?

A

Team should proactively tackled red builds asap.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are Build Light Indicators and what do they ensure?

A
  • Light indicators that indicate the current build status. Red or Green.
  • Provide all developers with a uniform understanding of build statuses.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 2 statuses of Build Indicators?

A

Green: Working build.
Red: Broken Build.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are Build Indicators?

A
  • Visualisation of Build Light Indicators that provides a summary of all microservice build statuses.
  • Provide a collated visualisation of development pipeline status
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When are Build Indicators employed over Build Light Indicators?

A

As the number of Build Light Indicators increase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the pros and cons of having dedicated test teams?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the trade off of having dedicated test teams?

A

Increases security and reliability, however, development time is increased.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly