Self-Test 6 Flashcards
Choose the best answer. Running automated testing without an Oracle …
does not provide feedback as to whether your program is performing correctly.
Which of the following can be the goal of creating test inputs?
- Model use-case scenario.
- Obtain coverage.
- Find faults.
Which of the following is not the benefits of random testing?
It can easily exercise the deeply nested code structure quickly.
Which of the following are the weakness of random testing?
- It can take a long time to achieve a testing objective.
- It can be difficult to reach some parts of the program.
The biggest cost in regression testing is that of test case generation.
False
Which of the following statements are correct?
- Even with modern security testing strategies cannot make strong statements about security.
- Although fuzz testing cannot provide complete confidence that software is secure, it is integral part of modern software development.
Which types of failures resulting from fuzz testing indicate security flaws?
- crashes
- privilege escalation
How can we perform fuzzing more effectively?
- Increase time of fuzzing
- Make the fuzzer smarter by obtaining more knowledge about systems.
- Use all kind of fuzzers with different techniques in parallel.
Automated Test Generation requires a kind of oracle to determine what is the proper behavior of the program.
True
What is the primary purpose of automated regression testing?
To ensure the software behaves the same way after updates
Which is an issue with regression testing that can be automated?
Identifying changes in the software for testing
In test automation, what is a ‘Consistency Oracle’ used for?
To compare the current version of the software with its previous version
What is the main goal of automated security testing?
To determine the software’s robustness against attacks
What is ‘Fuzz Testing’ in the context of security testing?
Running the software with abnormal inputs to find exploitable flaws
What is the focus of automated GUI testing in model-based testing?
Modeling the event interaction between the user and the GUI
In automated mobile app testing, what is a commonly used approach?
Using reverse engineering to generate UI models
What is a common misconception about test automation?
- It aims to replace manual testers
- It only involves recording and playback
- It cannot automate 100% of test cases
What is the goal of property-based oracles in automated regression testing?
To generate coverage-based tests for before-and-after changes in the program.
What is a common practice in the development of test automation oracles?
Translating English language requirements into code.
In the context of test automation, what is a challenge related to rare inputs in random testing?
Identifying behaviors used only in rare events.