ISTQB - Chapter 4 Flashcards

1
Q

What is the purpose of a test technique?

A

To help in identifying test conditions, test cases, and test data.

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

What is the basis for black-box test techniques?

A

Black-box test techniques are based on an analysis of the appropriate test basis (e.g., formal requirements documents, specifications, use cases, user stories, or business processes).

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

What is the basis for white-box test techniques?

A

White-box test techniques are based on an analysis of the architecture, detailed design, internal structure, or the code of the test object.

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

“Test cases may be used to detect gaps between the requirements and the implementation of the requirements, as well as deviations from the requirements.”
What test technique is this describing?

A

Black-box testing

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

What is the basis for experience-based test techniques?

A

The knowledge and experience of testers, developers, users and other stakeholders.

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

What kind of test technique is equivalence partitioning?

A

Black-box test technique

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

What are valid values in equivalence partitioning?

A

Values that should be accepted by the component or system. An equivalence
partition containing valid values is called a “valid equivalence partition.”

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

What are invalid values in equivalence partitioning?

A

Values that should be rejected by the component or system. An equivalence partition containing invalid values is called an “invalid equivalence partition.”

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

How many equivalence partitions can a single value belong to?

A

Each value must belong to one and only one equivalence partition.

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

Is it okay to combine invalid equivalence partitions when testing?

A

No, when invalid equivalence partitions are used in test cases, they should be tested individually, i.e., not combined with other invalid equivalence partitions, to ensure that failures are not masked.

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

How would you achieve 100% coverage using equivalence partitioning?

A

Test cases must cover all identified partitions (including invalid partitions) by using a minimum of one value from each partition.

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

What kind of test technique is boundary value analysis?

A

Black-box test technique

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

What kind of equivalence partition can boundary value analysis be applied to?

A

BVA can only be used when the partition is ordered, consisting of numeric or sequential data.

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

What are the boundary values of a partition?

A

The minimum and maximum values (or first and last values) of a partition are its boundary values.

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

How is coverage measured for boundary value analysis?

A

Boundary coverage for a partition is measured as the percentage of boundary values tested (number of boundary values tested divided by the total number of identified boundary test values)

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

What kind of test technique is decision table testing?

A

Black-box test technique

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

What must the tester identify in order to create a decision table?

A

The tester identifies conditions (often inputs) and the resulting actions (often
outputs) of the system.

18
Q

What do columns typically represent in a decision table?

A

Each column corresponds to a decision rule: it defines a unique combination of
conditions which results in the execution of the actions associated with that rule.

19
Q

How can you decrease the number of test cases required when performing decision table testing?

A

Deleting columns that do not affect the outcome and columns containing impossible combinations of conditions.

20
Q

How is coverage measured for decision table testing?

A

Coverage is measured as the percentage of decision rules tested by at least one test case.

21
Q

What kind of test technique is state transition testing?

A

Black-box test technique

22
Q

What kind of applications is state transition testing commonly used for?

A

Menu-based applications

23
Q

How is coverage commonly measured in state transition testing?

A

Coverage is commonly measured as the percentage of identified states or transitions tested.

24
Q

What kind of test technique is use case testing?

A

Black-box test technique

25
Q

What are use cases?

A

Use cases are a way of designing interactions between actors (human users, external hardware, or other components or systems) and subjects (the component or system to which the use case is applied) in order to test software requirements.

26
Q

What are the typical variations in behaviour for a use case that tests should exercise?

A

Basic, exceptional or alternative, and error handling

27
Q

How is coverage measured in use case testing?

A

Coverage can be measured by the percentage of use case behaviours tested

28
Q

What is statement testing?

A

A white-box test technique that exercises the potential executable statements in the code.

29
Q

How is coverage measured in statement testing?

A

Coverage is measured as the percentage of total executable statements executed by the tests.

30
Q

What is decision testing?

A

A white-box test technique that exercises the decisions in the code.

31
Q

How is coverage measured in decision testing?

A

Coverage is measured as the percentage of total of decision outcomes executed by the tests.

32
Q

Why does decision testing provide more coverage than statement testing?

A

A decision point (e.g. IF or CASE statement) in the code is a single statement, meaning you may only need one case to exercise the statement but will need multiple cases to exercise all decision outcomes for that statement. Therefore, 100% statement coverage does not ensure 100% decision coverage, but 100% decision coverage does guarantee 100% statement coverage.

33
Q

What test level are code-related test techniques like statement and decision testing typically applied to?

A

Component testing

34
Q

What kind of test technique is error guessing?

A

Experience-based test technique

35
Q

How can you approach error guessing more methodically?

A

Create a list of possible errors, defects, and failures (based on experience, data, and common knowledge), and design tests that will expose those failures and the defects that caused them.

36
Q

What kind of test technique is exploratory testing?

A

Experience-based test technique

37
Q

How are tests executed during exploratory testing?

A

Tests are designed, executed, logged, and evaluated dynamically during test execution.

38
Q

How is session-based exploratory testing conducted?

A

In session-based testing, exploratory testing is conducted within a defined time-box, and the tester uses a test charter containing test objectives to guide the testing.

39
Q

When is exploratory testing most useful?

A

When there are few or inadequate specifications or significant time pressure on testing.

40
Q

What is checklist-based testing?

A

An experience-based test technique where testers design, implement, and execute tests to cover test conditions found in a checklist.

41
Q

How are checklists typically built for checklist-based testing?

A

Such checklists can be built based on experience, knowledge about what is important for the user, or an understanding of why and how software fails.

42
Q

How can checklists help with testing in the absence of detailed test cases?

A

Checklist-based testing can provide guidelines and a degree of consistency. As these are high-level lists, some variability in the actual testing is likely to occur, resulting in potentially greater coverage but less repeatability.