random chapter 4 Flashcards

1
Q

A black-box test technique in which test cases are designed to exercise the combinations of conditions and the resulting actions shown in a decision table.

A

Decision table testing:

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

A black-box test technique in which test cases are designed based on boundary values.

A

boundary value analysis:

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

A black-box test technique in which test conditions are equivalence partitions exercised by one representative member of each partition

A

equivalence partitioning:

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

A black-box test technique in which test cases are designed to exercise elements of a state transition model.

A

State transition testing:

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

-Test techniques also help the tester to

A

define test conditions

identify coverage items

and identify test data during the test analysis and design

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

Equivalence partitions can be identified for any data element related to the test object, including

A

inputs, outputs, configuration items, internal values, time-related values, and interface parameters.

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

The partitions in equivalence partitions may be

A

continuous or discrete, ordered or unordered, finite or infinite. The partitions must not overlap and must be non-empty sets.

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

Coverage is measured as the number of partitions exercised by at least one test case, divided by the total number of identified partitions, and is expressed as a percentage.

A

Equivalence partitions

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

The simplest coverage criterion in the case of multiple sets of partitions is called :

-requires test cases to exercise each partition from each set of partitions at least once.

  • does not take into account combinations of partitions.
A

Each Choice coverage

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

are an effective way of recording complex logic, such as business rules.

A

Decision tables

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

the conditions and the resulting actions of the system are defined. These form the rows of the table.

A

Decision tables

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

Each column corresponds to a decision rule that defines a unique combination of conditions, along with the associated actions.

A

Decision tables

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

The strength of this testing is that it provides a systematic approach to identify all the combinations of conditions, some of which might otherwise be overlooked.

A

Decision tables

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

Its rows represent states, and its columns represent events (together with guard conditions if they exist).

A

State transition testing:

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

the coverage items are executable statements.

A

statement testing

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

The aim is to design test cases that exercise statements in the code until an acceptable level of coverage is achieved.

A

statement testing

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

is a transfer of control between two nodes in the control flow graph, which shows the possible sequences in which source code statements are executed in the test object.

A

branch

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

-Each transfer of control can be either unconditional (i.e., straight-line code) or conditional (i.e., a decision outcome).

A

branch testing

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

-Branch coverage subsumes statement coverage.

A

This means that any set of test cases achieving 100% branch coverage also achieves 100% statement coverage (but not vice versa).

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

error guessing: In general, errors, defects and failures may be related to:

A

input (e.g., correct input not accepted, parameters wrong or missing),

output (e.g., wrong format, wrong result)

logic (e.g., missing cases, wrong operator),

computation (e.g., incorrect operand, wrong computation),

interfaces (e.g., parameter mismatch, incompatible types),

or data (e.g., incorrect initialization, wrong type).

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

are a methodical approach to the implementation of error guessing.

A

fault attack

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

-This technique requires the tester to create or acquire a list of possible errors, defects and failures, and to design tests that will identify defects associated with the errors, expose the defects, or cause the failures.

-These lists can be built based on experience, defect and failure data, or from common knowledge about why software fails.

A

fault attack

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

tests are simultaneously designed, executed, and evaluated while the tester learns about the test object.

A

Exploratory Testing

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

Exploratory testing is sometimes conducted using this testing to structure the testing.

A

session-based testing

25
Q

In this approach, exploratory testing is conducted within a defined time-box.

A

session-based approach

26
Q

The tester uses a test charter containing test objectives to guide the testing.

A

session-based testing

27
Q

The test session is usually followed by a debriefing that involves a discussion between the tester and stakeholders interested in the test results of the test session.

A

session-based testing

28
Q

In this approach test objectives may be treated as high-level test conditions.

A

session-based testing

29
Q

The tester may use test session sheets to document the steps followed and the discoveries made.

A

session-based testing

30
Q

Exploratory testing will be more effective if the tester is

A

experienced,

has domain knowledge

has a high degree of essential skills, like analytical skills, curiosity and creativeness

31
Q

In this testing, a tester designs, implements, and executes tests to cover test conditions from a checklist.

A

In checklist-based testing,

32
Q

Checklists in checklist-based testing should not contain items that :

A

can be checked automatically,

items better suited as entry/exit criteria,

items that are too general

33
Q

Checklist items are often phrased in the form of a question.

It should be possible to check each item separately and directly.

These items may refer to:

A

requirements,
graphical interface properties,
quality characteristics
other forms of test conditions.

34
Q

Checklists can be created to support various test types, including these types of testing

A

functional and non-functional testing

35
Q

Some checklist entries may gradually become less effective over time because the developers will learn to avoid making the same errors.

New entries may also need to be added to reflect newly found high severity defects.

Therefore, checklists should be regularly updated based on

A

defect analysis.

However, care should be taken to avoid letting the checklist become too long.

36
Q

In the absence of detailed test cases, this testing can provide guidelines and some degree of consistency for the testing.

A

checklist-based testing

37
Q

Exploratory testing can incorporate the use of other test techniques

A

(e.g., equivalence partitioning, BVA, State transition testing ).

38
Q

represents a feature that will be valuable to either a user or purchaser of a system or software

A

user story

39
Q

User stories have three critical aspects (Jeffries 2000), called together the “3 C’s”:

A

Card – the medium describing a user story (e.g., an index card, an entry in an electronic board)


Conversation – explains how the software will be used (can be documented or verbal)


Confirmation – the acceptance criteria

40
Q

Collaborative authorship of the user story can use techniques such as

A

brainstorming and mind mapping.

41
Q

The collaboration allows the team to obtain a shared vision of what should be delivered, by taking into account three perspectives:

A

business,
development
and testing.

42
Q

Good user stories should be:

(INVEST).

A

Independent,
Negotiable,
Valuable,
Estimable,
Small
Testable

43
Q

this criteria for a user story are the conditions that an implementation of the user story must meet to be accepted by stakeholders.

A

Acceptance criteria

44
Q

Acceptance criteria are used to:

A

Define the scope of the user story

Reach consensus among the stakeholders

Describe both positive and negative scenarios

Serve as a basis for the user story
acceptance testing (see section 4.5.3)

Allow accurate planning and estimation

45
Q

There are several ways to write acceptance criteria for a user story. The two most common formats are:

A

Scenario-oriented (e.g., Given/When/Then format used in BDD, see section 2.1.3)


Rule-oriented (e.g., bullet point verification list, or tabulated form of input-output mapping)


46
Q

Test cases are created prior to implementing the user story.

A

Acceptance Test-driven Development (ATDD)

47
Q

Test cases may be executed manually or automated.

A

Acceptance Test-driven Development (ATDD)

48
Q

The first step is a specification workshop where the user story and (if not yet defined) its acceptance criteria are analyzed, discussed, and written by the team members.
Incompleteness, ambiguities, or defects in the user story are resolved during this process.

The next step is to create the test cases. This can be done by the team as a whole or by the tester individually.

The test cases are based on the acceptance criteria and can be seen as examples of how the software works.

A

Acceptance Test-driven Development (ATDD)

49
Q

Typically, the first test cases are positive, confirming the correct behavior without exceptions or error conditions, and comprising the sequence of activities executed if everything goes as expected.

A

Acceptance Test-driven Development (ATDD)

50
Q

Typically, test cases contain sentences in natural language involving the necessary preconditions (if any), the inputs, and the postconditions.

A

Acceptance Test-driven Development (ATDD)

51
Q

A collaboration-based test-first approach that defines acceptance tests in the stakeholders’ domain language.

A

Acceptance test-driven development-

52
Q

the criteria that a component or system must satisfy in order to be accepted by a user, customer, or other authorized entity.

A

Acceptance criteria- T

53
Q
  • An experience-based test technique in which test cases are designed to exercise the items of a checklist
A

Checklist-based testing

54
Q

An approach to testing that focuses on defect avoidance by collaborating among stakeholders

A

Collaboration-based test approach-

55
Q

The degree to which specified coverage items are exercised by a test suite, expressed as a percentage. Synonyms: test coverage

A

Coverage-

56
Q

An attribute or combination of attributes derived from one or more test conditions by using a test technique.

A

Coverage item-

57
Q

According to the ISTQB Glossary, the word ‘State Transition Testing’ is synonymous with which of the following words?

A

finite state testing

58
Q

this, in the context of collaborative user story writing is used to gather a diverse array of ideas and solutions from the team, encompassing different perspectives and expertise. This technique helps in creating rich and comprehensive user stories that reflect varied insights and needs.

A

Brainstorming

59
Q

Mind mapping is a collaborative technique well-suited for user story writing. Which of these activities is it

A

Identifying relationships between user stories and potential dependencies