Self-Test 6 Flashcards

1
Q

Choose the best answer. Running automated testing without an Oracle …

A

does not provide feedback as to whether your program is performing correctly.

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

Which of the following can be the goal of creating test inputs?

A
  • Model use-case scenario.
  • Obtain coverage.
  • Find faults.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following is not the benefits of random testing?

A

It can easily exercise the deeply nested code structure quickly.

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

Which of the following are the weakness of random testing?

A
  • It can take a long time to achieve a testing objective.
  • It can be difficult to reach some parts of the program.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The biggest cost in regression testing is that of test case generation.

A

False

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

Which of the following statements are correct?

A
  • 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which types of failures resulting from fuzz testing indicate security flaws?

A
  • crashes
  • privilege escalation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can we perform fuzzing more effectively?

A
  • Increase time of fuzzing
  • Make the fuzzer smarter by obtaining more knowledge about systems.
  • Use all kind of fuzzers with different techniques in parallel.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Automated Test Generation requires a kind of oracle to determine what is the proper behavior of the program.

A

True

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

What is the primary purpose of automated regression testing?

A

To ensure the software behaves the same way after updates

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

Which is an issue with regression testing that can be automated?

A

Identifying changes in the software for testing

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

In test automation, what is a ‘Consistency Oracle’ used for?

A

To compare the current version of the software with its previous version

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

What is the main goal of automated security testing?

A

To determine the software’s robustness against attacks

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

What is ‘Fuzz Testing’ in the context of security testing?

A

Running the software with abnormal inputs to find exploitable flaws

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

What is the focus of automated GUI testing in model-based testing?

A

Modeling the event interaction between the user and the GUI

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

In automated mobile app testing, what is a commonly used approach?

A

Using reverse engineering to generate UI models

17
Q

What is a common misconception about test automation?

A
  • It aims to replace manual testers
  • It only involves recording and playback
  • It cannot automate 100% of test cases
18
Q

What is the goal of property-based oracles in automated regression testing?

A

To generate coverage-based tests for before-and-after changes in the program.

19
Q

What is a common practice in the development of test automation oracles?

A

Translating English language requirements into code.

20
Q

In the context of test automation, what is a challenge related to rare inputs in random testing?

A

Identifying behaviors used only in rare events.