Lec 3 Flashcards
first part of testing
What is the two main goals of testing?
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.
After knowing the goals of the testing:
The first goal leads to____________.
Validation testing: make sure that the system/software perform correctly by giving set of test case that reflect it’s expected use.
After knowing the goals of the testing:
The Second goal leads to____________.
Defect testing: discover the defects of the system/software and the errors.
Verification:
“Are we building the_________.”
(Right product / Product right)
Product right : which means confirming the system to it’s its
specification.
Validation:
“Are we building the_________.”
(Right product / Product right)
Right product : which means that the system/software should meet the user Requirements.
Aim of Validation & Verification is _________________________________.
make confidence that the system/software is fit for purpose.
to make sure that the software is fit for purpose:
that depends on three things__________ , ___________ and _____________.
- 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.
What are the V & V checking approaches?
Software inspections : Concerned with analysis of the static system representation (Static verification).
Software testing: Concerned with exercising and observing product features (dynamic verification).
Software inspections features:
1- discovering anomalies and defects.
2- Doesn’t require execution of the system (can be before implementation).
3- Effective technique for discovering program errors.
what is the Advantages of inspections ?
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.
what is the disadvantages of inspections ?
Inspections cannot check non-functional characteristics
such as performance, usability.
What is the black-box testing?
testing the system/software from the external discerption (design , specifications)
What is the white-box testing?
testing the system/software from the source code internally (statements, conditions, classes, methods).
what is the three Stages of testing?
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.
Types of Development testing ___________, ____________ and ____________
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.
the first type of unit test case reflects ______________________________.
normal operation/inputs to show that the components works as expected.
the second type of unit test case reflects ______________________________.
abnormal inputs to check that these are properly processed and do not crash the component.
There are two types of test strategies _______________ and _______________.
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.
what is testing guidelines??
hints for the testing team to help them choose test cases that shows the defects of the system.