Lec 3 Flashcards

first part of testing

1
Q

What is the two main goals of testing?

A

1- insure to the developer and the customer that the System/software meets it’s Requirements (Functional/non Functional).

2- Discover Situations in which the system act incorrectly, undesirable or doesn’t confirm it’s specification.

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

After knowing the goals of the testing:

The first goal leads to____________.

A

Validation testing: make sure that the system/software perform correctly by giving set of test case that reflect it’s expected use.

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

After knowing the goals of the testing:

The Second goal leads to____________.

A

Defect testing: discover the defects of the system/software and the errors.

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

Verification:
“Are we building the_________.”

(Right product / Product right)

A

Product right : which means confirming the system to it’s its
specification.

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

Validation:
“Are we building the_________.”

(Right product / Product right)

A

Right product : which means that the system/software should meet the user Requirements.

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

Aim of Validation & Verification is _________________________________.

A

make confidence that the system/software is fit for purpose.

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

to make sure that the software is fit for purpose:

that depends on three things__________ , ___________ and _____________.

A
  • Software purpose : how critical the software is to an organization.
  • User expectations : he may have low expectations of certain kind of software.
  • Marketing environment : Getting a product to market early and up to date.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the V & V checking approaches?

A

Software inspections : Concerned with analysis of the static system representation (Static verification).

Software testing: Concerned with exercising and observing product features (dynamic verification).

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

Software inspections features:

A

1- discovering anomalies and defects.

2- Doesn’t require execution of the system (can be before implementation).

3- Effective technique for discovering program errors.

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

what is the Advantages of inspections ?

A

1- inspection is static process so no error can hide other errors because no interaction between them.

2- Incomplete versions of a system can be inspected without additional costs.

3- inspection can also consider broader quality attributes of a program.

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

what is the disadvantages of inspections ?

A

Inspections cannot check non-functional characteristics

such as performance, usability.

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

What is the black-box testing?

A

testing the system/software from the external discerption (design , specifications)

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

What is the white-box testing?

A

testing the system/software from the source code internally (statements, conditions, classes, methods).

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

what is the three Stages of testing?

A

Development test: test the system/software during development stage.(the developer who tests it).

Release testing: test the System/software after finishing up it.(group of testers who test it).

User testing: test the system by the users in their own environment.

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

Types of Development testing ___________, ____________ and ____________

A

unit testing ,component testing and system test

unit testing: individual program units or object classes are tested.

component testing: several units are integrated to create components.

System test: some or all of the components in a system are integrated and the system is tested.

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

the first type of unit test case reflects ______________________________.

A

normal operation/inputs to show that the components works as expected.

16
Q

the second type of unit test case reflects ______________________________.

A

abnormal inputs to check that these are properly processed and do not crash the component.

17
Q

There are two types of test strategies _______________ and _______________.

A

Partition testing and Guideline-based testing

  • Partition testing: group of inputs with common characteristics processed in the same way.
  • Guideline-based testing: guidelines reflect previous experience of any kind of errors that the programmers made before.
18
Q

what is testing guidelines??

A

hints for the testing team to help them choose test cases that shows the defects of the system.