Testing Techniques Flashcards

1
Q

Define testing techniques.

A

Procedures that are used to identify and select test conditions that can be targeted by tests.

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

What is shift left testing? What is the noted benefit?

A

Testing that starts earlier in the development process; considered to make testing more efficient and effective.

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

Describe how the best testing technique is selected.

A

There is no single perfect technique and it is important to understand the goals of testing to determine the appropriate technique.

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

List six common testing techniques.

A
  1. Equivalence partitioning
  2. Boundary value analysis
  3. Decision tables
  4. Combinatorial
  5. Exploratory testing
  6. API testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define what equivalence partitioning (EP) is used for and its focus.

A

Used to reduce the number of specific tests while still assuring broad coverage. Focused on determining a set of input values to use during testing.

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

Describe the application of equivalence partitioning.

A

A set of possible values is divided into a partition, or equivalence classes, in which all values in the partition will be handled the same way by the software.

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

Are partitions considered valid or invalid in equivalence partitioning?

A

Both.

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

Describe how valid partition values should be handled.

A

All values in a valid partition should be accepted or processed by the software with no errors.

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

What is a risk of equivalence partitioning?

A

When partitions are established with values that actually receive different processing.

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

What types of defects are found in equivalence partitioning?

A

Usually functional and deals with incorrect handling of various sets of data.

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

Describe how coverage is determined for equivalence partitioning.

A

Determined by dividing the number of partitions for which of value has been tested by the total number of partitions identified.

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

Define boundary value analysis (BVA). (i.e., what does it concentrate on?)

A

An extension of equivalence partitioning, and concentrates on testing the values that fall on or near the boundaries of partitions.

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

In boundary value analysis, what is required to test the boundaries of ranges?

A

Ordered partitions (i.e. range of numbers).

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

What is the approach for boundary value analysis testing? Which approach is most common?

A

Testing uses a two-value or three-value approach. Two-value is more common.

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

Describe two-value boundary value analysis.

A

Actual boundary value (valid partition) and value that falls immediately outside of the partition (invalid partition).

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

Describe three-value boundary value analysis.

A

Value immediately before boundary (valid), value on the boundary (valid), value immediately outside of the boundary (invalid).

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

Describe the application of boundary value analysis (i.e., what does it determine?)

A

Determines if values on and over the boundary are handled properly.

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

Describe the types of defects found in boundary value analysis.

A

Detects defects due to incorrect usage of a relational operator (such as greater than, less than, or =).

19
Q

How is coverage determined for boundary value analysis?

A

Determined based on how many boundaries are tested divided by the number of boundaries there are.

20
Q

Describe where decision tables are used and what they help to define for an organization.

A

Used in requirements engineering and testing to help define how business rules should be handled.

21
Q

What do decision tables consist of?

A

Consists of two halves of a table; top half shows conditions to be tested (one condition per row), bottom half shows expected results from set of conditions (one results per row).

22
Q

Describe the application of decision tables (i.e., what are they often used as?). What can also be derived from them?

A

Often used as a shortcut to creating detailed test cases, serves as an organized checklist. Can also be used to derive additional results from the software.

23
Q

What type of defects are targeted in decision tables? What can it help identify?

A

Targets incorrect outcomes, and can help identify condition combinations that are not handled or where the expected outcome is unknown.

24
Q

How is coverage determined for decision tables?

A

Determined by the number of columns by at least one test divided by the possible combinations.

25
Q

Define combinatorial testing technique by explaining what it limits.

A

Used to limit the number of combinations of supposedly non-interacting (independent) parameters or conditions that need to be tested.

26
Q

How does combinatorial testing apply algorithms? What does it identify/not identify?

A

Applies algorithms built into tools that mathematically reduce the number of combinations to a manageable set. Only identifies efficient combinations of test conditions, not outcomes.

27
Q

What are the three most common tools and approaches in combinatorial testing? Describe each one.

A
  1. Pairwise testing: all pairs of combinations are tested together, but not all possible combinations
  2. Classification trees: allows users to create a diagram of a “tree” that shows variables to be tested and then applies an algorithm that will cover all singles, pairs, tupels, etc. of the combination of the variables
  3. Orthogonal arrays: uses preset arrays of values to determine the combinations to be tested
28
Q

Describe the application of combinatorial testing. (i.e., types of variables)

A

Any testing with non-interacting conditions or variables (environment variables, internal variables).

29
Q

What types of defects are identified in combinatorial testing?

A

Identifies defects where a particular combination that should be handled is not or where there is an interaction between conditions.

30
Q

Describe how coverage is determined in combinatorial testing.

A

Determined by dividing the number of test combinations by the number of combinations generated by the specific tool or technique.

31
Q

Define exploratory testing.

A

Combination of learning how the software works (exploring) and testing that it works as expected.

32
Q

Exploratory testing is often ________-based.

A

Session

33
Q

How is exploratory testing documented?

A

Session sheets are filled out at the conclusion of testing to log unexpected occurrences for further investigation.

34
Q

What is timeboxing?

A

Used to set a time limit for a session.

35
Q

When is the exploratory testing technique most effective? (Referring to who is conducting it.)

A

Most effective when conducted by an experienced tester who is trained to detect issues that an untrained operator could easily miss.

36
Q

What is exploratory testing sometimes called?

A

Smoke testing or sanity testing.

37
Q

Describe the application of exploratory testing (i.e. what is it suited for?).

A

Suited to an environment where quick feedback is needed regarding overall quality of the software.

38
Q

What types of defects are found in exploratory testing?

A

Functional issues, but also non-functional issues in areas of usability and performance.

39
Q

How is coverage determined in exploratory testing? What can be equated?

A

Determining coverage is a drawback of this type of testing. It varies widely, possible to equate a test session to a test case.

40
Q

Define the focus of API testing and its categorization as a technique.

A

Focuses on interfaces between software components; more of an approach as opposed to a technique.

41
Q

What is the focus of API testing?

A

Focuses on information passed between the application and web service, error recovery, and data handling.

42
Q

Describe the application of API testing. What does it require the use of?

A

Used in cases where the UI is not yet available, or is unstable; requires the use of tools or programming to access the APIs (such as Postman or Swagger).

43
Q

What types of defects are found in API testing?

A

Variety of defects (functional, error handling, error recovery, performance, etc.)

44
Q

How is coverage determined in API testing? What should be checked?

A

Coverage is dependent on the capabilities of the API; all input and output parameters should be checked with variety of valid and invalid data.