Chapter 2 Concepts Flashcards

Facts from the syllabus

1
Q

Describe

Test-Driven Development (TDD)

A
  • Directs the coding through test cases
  • Tests are written first, then the code is written to satisfy the tests, and then the tests and code are refactored
  • Developers are usually doing this kind of testing

2.1.3

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

Describe

Acceptance Test-Driven Development (ATDD)

A
  • Derives tests from acceptance criteria as part of the system design process
  • Tests are written before the part of the application is developed to satisfy the tests

2.1.3

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

Describe

Behavior-Driven Development (BDD)

A
  • Expresses the desired behavior of an application with test cases written in a simple form of natural language
  • Easy to understand by stakeholders
  • Given/When/Then format
  • Test cases are translated into executable tests

2.1.3

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

True/False

Can ATDD/TDD/BDD be automated later?

A

True

Tests may persist as automated tests to ensure the code quality in future adaptions / refactoring

2.1.3

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

What are 5 ways the choice of SDLC impacts testing?

A
  • Scope and timing of test activities (e.g., test levels and test types)
  • Level of detail of test documentation
  • Choice of test techniques and 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
6
Q

Fill-in-the-blank

For every software development ____, there is a corresponding test ____, so that all development activities are subject to quality control

A

activity

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

When in the SDLC should test analysis and design begin?

A

Test analysis and design for a given test level begins during the corresponding development phase of the SDLC, so that testing can adhere to the principle of early testing

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

True/False

Test levels can reuse test objectives throughout the SDLC.

A

False

Different test levels have specific and different test objectives, which allows for testing to be appropriately comprehensive while avoiding redundancy

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

When should testers get involved with testing?

A

Testers are involved in reviewing work products as soon as drafts of this documentation are available, so that this earlier testing and defect detection can support the shift-left strategy

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

What are the three different kinds of maintenance?

A
  • Corrective
  • Adaptive to changes in the environment
  • Improving performance, maintainability, etc

2.3

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

What is the scope of maintenance testing?

(There are three aspects.)

A
  • Degree of risk of the change
  • Size of the existing system
  • Size of the change

2.3

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

What are the four triggers for maintenance testing?

A
  • Modifications (planned enhancements, etc)
  • Upgrades
  • Migrations
  • Retirement

2.3

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

When should Impact Analysis be done and why?

A

may be done before a change is made, to help decide if the change should be made, based on the potential consequences in other areas of the system.

2.3

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

Testing the changes to a system in production includes which two aspects?

A
  • Success of the implementation of the change
  • Checking for possible regressions in parts of the system that remain unchanged

2.3

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