Software Testing & Maintenance - Midterm

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/13

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

14 Terms

1
New cards

What is a fault?

static defect in code

2
New cards

What is an error?

wrong internal state caused by a fault

3
New cards

What is a failure?

wrong external state, intended output ≠ actual output

4
New cards

How to NOT execute a fault?

make intended output = actual output even though code is not correct

5
New cards

How to execute fault, NOT error?

make intended output = actual output using wrong formulaH

6
New cards

How to execute error, NOT fault?

  • incorrect state not used

  • fault corrected before being used for output

    • fault sets a wrong value but it’s not used

7
New cards

Program State

  • input

  • expected output

  • actual output

  • first error state

    • all variables and their values

    • program counter

8
New cards

Partition

block of members that all behave the same way

9
New cards

Disjointness property

blocks must NOT overlap

10
New cards

Completeness property

blocks must cover the entire domain

11
New cards

Pairwise Testing

come up with every possible combination of those two parameters

12
New cards

Combination formula

values^params

13
New cards

IPO (In Parameter Order) Strategy

generate pairwise test for first 2 parameters, then pairwise test for first 3 parameters, and so on

14
New cards