Self-Test 5 Flashcards
Which way(s)of the following lead(s) to reduce the cost when using the model-based testing approach?
Use automation with the process steps to promote test case maintenance and get rid of manual errors.
Which of the following are the advantages of using model-based testing?
- It can generate a large number of test cases automatically
- It is faster and less resource-intensive than manual testing
Which of the following are steps in the model-based testing process?
- Model creation
*Test case generation - Test case execution
Model-based testing is mainly used for generating:
Test input data
Which is NOT a primary issue in functional testing?
Choosing programming languages
What is an informal document in the context of software testing?
A document in natural language like English
In the manual testing process, the test design is based on:
Informal requirements documents
What is the primary advantage of the keyword-driven automated testing process?
It reduces the maintenance problem of test scripts
Which of the following are potential limitations of model-based testing?
- 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
What is the key element in deciding whether to build or reuse models in model-based testing?
The level of detail needed for test generation
In Model-Based Testing (MBT), the generation of test cases from an environment model is:
One of the four main approaches
What is a primary challenge with capture/replay testing processes?
Difficulty in maintaining tests when the SUT changes
In MBT, the test cases are generated based on:
Models describing the software’s behavior or properties
Which approach in MBT focuses on generating test cases with oracles from a behavior model?
Behavior model-based generation
In MBT, what is the role of the traceability matrix?
To map requirements to test cases
Why is it important to choose the right level of abstraction in MBT?
To ensure the model focuses on key aspects to be tested
What is a major challenge in reusing development models for MBT?
Excessive detail not needed for test generation
What does the reduction of maintenance costs of the test suite indicate in MBT?
Improvement in testing efficiency
What is the focus of data coverage criteria in MBT?
Coverage of input data domains
In MBT, what does the generation of test scripts from abstract tests involve?
Translating high-level test objectives into executable tests
In the context of MBT, what is a ‘model’?
An abstract representation of the software or its behavior
What does ‘control-flow-oriented coverage criteria’ focus on in MBT?
The flow of control through the model
What is the purpose of using UML-based coverage criteria in MBT?
To cover different aspects of UML models like state machines and class diagrams
How does pairwise coverage in MBT enhance testing?
By covering all possible combinations of values of all pairs of parameters
What is the role of ‘transition-based coverage criteria’ in MBT?
Covering transitions between states in a model