Chapter 8 Flashcards

(23 cards)

1
Q

What Categories of Errors is Black Box Testing Expected to Find?

A
  • Incorrect or Missing Functionality
  • Interface Errors
  • Errors in Data Structures
  • Behavior or Performance Errors
  • External Database Errors
  • Initialization and Termination Errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the Factors to Consider for Black Box Testing Inputs?

A
  • Inputs that force error messages
  • Inputs that cause input buffer overflows
  • Repeat inputs or series of inputs
  • Inputs that force invalid outputs
  • Inputs that force too small or too large computation results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Advantages of Black Box Testing?

A
  • Efficient for large systems
  • Separates tester and developer
  • Tester can be non-technical
  • No need for detailed functional knowledge
  • Tests done from end-user POV
  • Helps identify functional specification vagueness and contradictions
  • Test cases can be designed as soon as functional specifications are complete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Disadvantages of Black Box Testing?

A
  • Test cases challenging to design
  • Difficult to identify tricky inputs if not based on specifications
  • Difficult to identify all possible inputs
  • Writing test cases is slow
  • Chance of having unidentified paths in testing
  • Chances of having repeated tests from the programmer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the Black-box Testing Techniques

A
  • Graph-based testing methods
  • Equivalence partitioning
  • Boundary value analysis
  • Decision table testing
  • Omission testing/null case
  • Load testing
  • Stress testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Graph-based Testing?

A
  • Utilizing graphical representations of software to design and execute test cases
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the Parts of Graph-based Testing Graphs?

A
  • Nodes: software objects (circle)
  • Links/links: relationships between objects
  • Node Weights: describes node properties
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 3 Node Categories in Graph-based Testing?

A
  • Directed Link (one-directional arrow)
  • Bidirectional/Undirected/Symmetric Link (Both Directions)
  • Parallel Links (different relationships)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the 3 Types of Graphs Used in Graph-based Testing?

A
  • State-transition graph: for behavior changes with status
  • Activity/flow graph: for processes or navigation
  • Use-case model: to capture main + alternate/exception scenarios with actos
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Equivalence Partitioning in Graph-based testing?

A

Dividing input data into groups of equivalent values to reduce test cases to be developed

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

What is an Equivalence Class in Equivalence Partitioning?

A

A set of valid or invalid states for input conditions

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

What is Boundary Value Analysis?

A

A type of equivalence partitioning testing that selecting inputs at the boundaries of test data

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

What is Decision Table Testing?

A

Multiple Input Combinations Producing Different Outcomes

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

What is Omission Testing?

A
  • Checks for inputs the developer forgot to handle or didnt anticipate
  • AKA Missing Case Testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Null Case Testing?

A
  • Inputting nothing
  • Specific case of omission testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Load Testing?

A

Performance testing application’s behavior under normal and anticipated peak conditions

17
Q

What is Stress Testing?

A

Performance testing beyond normal operational capacity until system crash

18
Q

What is a Test Case?

A

Document consisting of conditions or actions performed to vervify expected functionality of software

19
Q

What are Test Cases?

A

Inputs to test the system and the predicted outputs

20
Q

What is Test Case Documentation?

A

contains a set of test cases for a system, testing process, who, what, when, how, and anticipated results

21
Q

What is a Test Case Name in Test Case Documentation?

A

Main way to identify a test case, direct description of what the test is intended for

22
Q

What are the Three Categories of the Three-level Priority Categorization Scheme in Test Case Documentation?

A
  • High: tests that must be executed in any case
  • Medium: execute only when time permits
  • Low: if not executed, will not cause big upsets
23
Q

What are the Parts of a Test Case Documentation?

A
  • Project Name
  • Test Case ID
  • Test Case Name
  • Priority Level
  • Test Designed By
  • Test Designed Date
  • Test Executed By
  • Test Execution Date
  • Short Description
  • Preconditions
  • Steps
  • Actions
  • Expected Results