Chapter 2 Flashcards

1
Q

Examples of SLDC models

A

Sequential (waterfall/ v model)

Iterative

Incremental

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

Impact the choice SLDC has on testing?

A

Testing must be adapted to the SLDC to succeed

-scope + timing of test activities
-level of detail in test doc
-choice of test techniques and test approach
-extent of test automation
- role and responsibilities of a tester

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

Where is testing performed in sequential models?

A

Executable code is usually created in the later phases - so dynamic testing can’t be performed early in the SLDC

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

Where is testing performed in iterative and incremental models?

A

-each iteration delivers a product
-so in each iteration both static and dynamic can be performed at all levels
-frequent delivery of increments requires fast feedback + regression testing

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

Agile software dev assumes that change may occur throughout the project, therefore…

A
  • light work product documentation + extensive test automation is favoured
    -this is to make regression testing Easier
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the 4 good testing principles ?

A
  1. For every software dev Activity, there is a corresponding test activity- QC
  2. Diff test levels have different test objectives. Allows testing to be efficient and covers all aspects
  3. Analysing and design for tests start early on so issues can be identified early.

4.testers are involved with reviewing work products as soon as drafts of this doc are available - supports shift left strategy

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

Similarity between TDD, ATDD and BDD?

A

Similar development approaches

All implement early testing and follow shift left approach

Tests are defined before code is written

Support iterative dev model

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

TDD?

A

Test driven development

-emphasis on writing tests before code
-once tests are in place, developers wrote minimum amount of code to make tests pass
- improve code to maintain and make readable

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

ATDD?

A

Acceptance test driven Development

Derives tests from acceptance criteria

Tests written before the part of the application is developed to satisfy the tests

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

BDD?

A

Behaviour driven development

Test cases written in form of natural language - given, when, then format

Test cases automatically translated into executable tests

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

What is devops?

A
  • creates synergy between developments and operations
  • promotes autonomy
  • fast feedback
    -continuous integration
    -promotes shift left
    -reducers need for manual testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

So what is shift left approach ?

A

Testing done earlier in SLDC- not waiting for code or components to be integrated.

You can do this by: writing test cases before code is written

Completing static analysis of source code prior to dynamic testing

Performing non functional testing at the component level

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

Cons of shift left?

A

Extra training
Money and effort earlier in process

Stakeholders should be convinced and bought into this concept

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

What is retrospectives and why is it important?

A

Held at the end of project.

Www
What was not successful and could be improved

How to incorporate improvements

This increases quality of testware, team bonding, test basis, more cooperation between dev team and testing

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

Test levels?

A

Groups of test activities

  1. Component testing
  2. Component integration testing
  3. System testing
    System Integration testing
  4. Acceptance testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Test types? (Functional) 1

A

Evaluate how components of a system should perform
What the test object should do

17
Q

Non functional testing? 2

A

How well system behaves - performance, security, usability, compatibility, maintainability, portability

18
Q

Black box 3

A

Checking how system behaves against its specifications
Derives tests from documentation external to test object

19
Q

White box testing? 4

A

Derives tests from internal structure such as it’s code

Needs to cover underlying structure by the tests to acceptable levels

20
Q

Maintenance testing?

A

Scope of maintenance testing involves
- degree of risk of change
- size of existing system
-size of change

Triggers are
-modifications
-upgrades
-end of life of application (retired)

21
Q
A