Test Design Techniques Flashcards

1
Q

Types

A

Specification based(black box)
Structure based(white box)
Experience based

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

Why use techniques

A

To select tests effective at finding faults and efficient

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

Specification based

A

View software as a black box with uno it’s and outputs but don’t examine how the system is structured. Concentrate on what software does not how it does it. Contains functional and non functional.
Use case testing
Decision table testing

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

Structure based

A

Requires knowledge of how software works. Uses internal structure of software to derive test cases

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

Experience based

A

Use people knowledge to determine test conditions and cases. Use both technical and business people as they have different perspectives. Can provide insights into high risk areas.

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

Equivalence partitioning

A

Dividing a set of test conditions into groups that can be considered the same, system will treat them equivalently
When we have partition we choose one condition from partition to test
Result considered representative of complete partition

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

Valid and invalid

A

Invalid partition values can be entered by user but they are not expected input by system
Software should be able to correctly handle values from invalid partition by displaying appropriate error message

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

Selecting tests from partitions

A

Select any value in the range , every value treated same way

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

Deriving test cases

A

Assign unique identifier to each equivalence class
Until all valid equivalence classes have been covered by at least one test case, write a new test case covering as many equivalence classes as possible
Until all invalid equivalence classes have been covered write a test case that covered one and only one of the uncovered invalid equivalence classes
For each test case annotate it with the equivalence identifiers it covers

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

Equivalent classes partitioning problems

A

Doesn’t always define expected output for invalid test cases
Strongly typed languages eliminate the need for consideration of some invalid inputs

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

Boundary value analysis

A

Experience shows more faults at boundaries of equivalence partitions where partitions are continuous
Test cases just below and above boundary find faults

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