Self-Test 5 Flashcards

1
Q

Which way(s)of the following lead(s) to reduce the cost when using the model-based testing approach?

A

Use automation with the process steps to promote test case maintenance and get rid of manual errors.

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

Which of the following are the advantages of using model-based testing?

A
  • It can generate a large number of test cases automatically
  • It is faster and less resource-intensive than manual testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following are steps in the model-based testing process?

A
  • Model creation
    *Test case generation
  • Test case execution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Model-based testing is mainly used for generating:

A

Test input data

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

Which is NOT a primary issue in functional testing?

A

Choosing programming languages

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

What is an informal document in the context of software testing?

A

A document in natural language like English

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

In the manual testing process, the test design is based on:

A

Informal requirements documents

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

What is the primary advantage of the keyword-driven automated testing process?

A

It reduces the maintenance problem of test scripts

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

Which of the following are potential limitations of model-based testing?

A
  • It may be difficult to interpret the results of the test cases
  • It may be difficult to maintain the model and test cases as the system changes
  • It may be difficult to create accurate models of complex systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the key element in deciding whether to build or reuse models in model-based testing?

A

The level of detail needed for test generation

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

In Model-Based Testing (MBT), the generation of test cases from an environment model is:

A

One of the four main approaches

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

What is a primary challenge with capture/replay testing processes?

A

Difficulty in maintaining tests when the SUT changes

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

In MBT, the test cases are generated based on:

A

Models describing the software’s behavior or properties

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

Which approach in MBT focuses on generating test cases with oracles from a behavior model?

A

Behavior model-based generation

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

In MBT, what is the role of the traceability matrix?

A

To map requirements to test cases

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

Why is it important to choose the right level of abstraction in MBT?

A

To ensure the model focuses on key aspects to be tested

17
Q

What is a major challenge in reusing development models for MBT?

A

Excessive detail not needed for test generation

18
Q

What does the reduction of maintenance costs of the test suite indicate in MBT?

A

Improvement in testing efficiency

19
Q

What is the focus of data coverage criteria in MBT?

A

Coverage of input data domains

20
Q

In MBT, what does the generation of test scripts from abstract tests involve?

A

Translating high-level test objectives into executable tests

21
Q

In the context of MBT, what is a ‘model’?

A

An abstract representation of the software or its behavior

22
Q

What does ‘control-flow-oriented coverage criteria’ focus on in MBT?

A

The flow of control through the model

23
Q

What is the purpose of using UML-based coverage criteria in MBT?

A

To cover different aspects of UML models like state machines and class diagrams

24
Q

How does pairwise coverage in MBT enhance testing?

A

By covering all possible combinations of values of all pairs of parameters

25
Q

What is the role of ‘transition-based coverage criteria’ in MBT?

A

Covering transitions between states in a model