UNIT-1 software testing chapter (must learn)

tanvipatel918261 33 views 53 slides Jun 27, 2024
Slide 1
Slide 1 of 53
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53

About This Presentation

Software testing


Slide Content

UNIT-I
IntroductiontosoftwareQualityandAssurance
•Thesoftwarequalitychallenge
•Softwarequality
•Softwarequalityfactors
•Managementanditsroleinsoftwarequalityassurance

TheSoftwareQualityChallenges
•ThisChapterisessentiallyabouttwomajortopics:
•Theuniquenessofsoftwarequalityassurance
•TheenvironmentsforwhichSQA(SoftwareQualityAssurance)
methodsare developed

Introduction
•WhystudyQualityAssuranceandTesting?
•Withallthemethodologywars,numerousprocesses,hugenumber
oftoolstoassistinsoftwaredevelopment,whythis separatetopic?
•Whatmakesitimportantthatitdeservesseparatetreatment?
•Whydosomanycompaniesadddisclaimerstotheirsoftware?
•Don’twarrantythedocumentation…
•Notresponsiblefordirect,indirect,consequential,loss?

TheSoftwareQualityChallenges
1.Identifytheuniquecharacteristicsofsoftwareasaproductandas
processthat justifyseparate treatmentof itsquality issues.
2.Recognizethecharacteristicsofthesoftwareenvironmentwhere
professionalsoftwaredevelopmentandmaintenancetakeplace

SoftwareProductv/sIndustrialProduct
1.Highcomplexity
•Thepotentialwaysinwhichasoftwareproductcanbeusedwith
differentdata/datapathsreflectingdifferentincomingdatais
almostinfinite.
•Mannerinwhichindustrialproductscanbeusedareusuallywell-
defined.
•Thinkaboutsoftware:everyloopwithdifferentvaluesofdata
reflectsadifferentopportunitytoseesoftwarefail.

SoftwareProductv/sIndustrialProduct
2.Invisibilityoftheproduct
•Inanindustrialproduct,missingpartsareobvious.
•Something missing?Easilyidentified.
•Notsoinsoftwareproducts.
•Maynotbenoticeableforyears–ifatall!

SoftwareProductv/sIndustrialProduct
3.Opportunitiestodetectdefects(“bugs”)??
1.ProductDevelopment:
•Industrial:testproduct;voltages;performance;strength;
size;….ready to distributeto markets
•ComputerSoftware:onceprototypeandsystemtestingare
concluded,product isready for deployment
2.ProductProductionPlanning:
•Industrial:Oftenneednewtoolingapproaches,assemblylines,
newmanufacturing processes.
•Resultsinadditional‘looks’atproducts
•Onecouldsaythatthereisabetterchancetodiscover
defects
•Computer Software:Norealadditional‘look-see.’
•Packagesshrink-wrapped,printed,distributedtopublic

SoftwareProductv/sIndustrialProduct
3.ProductManufacturing:
•Industrial: Usuallydefectsuncoveredhere;easilyfixed.
•Typicalburn-inproblems;anotherviewofproduct;
stabilizes.
•Theserepresentadditionalopportunitiestodiscoverdefects.
•ComputerSoftware:
•Wemerelycopyright,printcopiesofsoftwareandmanuals
•Norealchanceforadditionalqualityviews
•Norealchancefordiscoveringadditionaldefects

SoftwareProductv/sIndustrialProduct

SQAEnvironment

CharacteristicsofSQAEnvironment

CharacteristicsofSQAEnvironment

CharacteristicsofSQAEnvironment

CharacteristicsofSQAEnvironment

CharacteristicsofSQAEnvironment

CharacteristicsofSQAEnvironment

CharacteristicsofSQAEnvironment

CharacteristicsofSQAEnvironment

CharacteristicsofSQAEnvironment

CharacteristicsofSQAEnvironment

CharacteristicsofSQAEnvironment

Whatissoftware?

SoftwareErrors,FaultsandFailures

SoftwareErrors,FaultsandFailures

CausesofSoftwareErrors

CausesofSoftwareErrors

CausesofSoftwareErrors

CausesofSoftwareErrors

CausesofSoftwareErrors

CausesofSoftwareErrors

CausesofSoftwareErrors

CausesofSoftwareErrors

CausesofSoftwareErrors

CausesofSoftwareErrors

SoftwareQuality

SoftwareQualityFactors
ItscalledMcCall’sfactormodel
A.Correctness:Itdealwithrequirementsthataredefinedin
alistofthesoftwaresystem’srequiredoutputs,suchas
outputmission,accuracyofthoseoutputs,accuracyof
thoseoutputs,up-to-dateoftheinformation,availability
oftheinformation,standardsforcodingand
documenting.
B.Reliability:Itdealwithfailurestoprovideservice.They
determinethemaximumallowedsoftwaresystemfailure
rate,andcanrefertotheentiresystemortooneormore
ofitsseparatefunctions.

SoftwareQualityFactors
C.Efficiency:Itdealwiththehardwareresourcesneededto
performallthefunctionsofthesoftwaresystemin
conformancetoallotherrequirements.
D.Integrity:Itdealwiththesoftwaresystemsecurity,thatis,
requirementstopreventaccesstounauthorizedpersons
E.Usability:Itdealwiththescopeofstaffresourcesneeded
totrainanewemployeeandtooperatethesoftware
system.

SoftwareQualityFactors
F.Maintainability:Itdeterminetheeffortsthatwillbe
neededbyusersandmaintenancepersonneltoidentify
thereasonsforsoftwarefailures,tocorrectthefailures,
andtoverifythesuccessofthecorrections.
G.Flexibility:Thecapabilitiesandeffortsrequiredtosupport
adaptivemaintenanceactivitiesarecoveredbythe
flexibilityrequirements.
H.Testability:Itdealwiththetestingofaninformation
systemaswellaswithitsoperation.

SoftwareQualityFactors
I.Portability:Ittendtotheadaptationofasoftwaresystem
tootherenvironmentsconsistingofdifferenthardware,
differentoperatingsystems.
J.Reusability:Itdealwiththeuseofsoftwaremodules
originallydesignedforoneprojectinanewsoftware
projectcurrentlybeingdeveloped.
K.Interoperability:Itfocusoncreatinginterfaceswithother
softwaresystemsorwithotherequipmentfirmware.

SoftwareQuality
Tillnowwediscussed,
•softwarequalitychallenge
•SoftwareProductv/sIndustrialProduct
•CharacteristicsofSQAEnvironment
•Whatissoftware?
•SoftwareErrors,FaultsandFailures
•CausesofSoftwareErrors
•SoftwareQualityFactors

SoftwareQualityAssurance

ImplementtheQualityAssurance

ImplementtheQualityAssurance
Step1:DevelopSQAplan

ImplementtheQualityAssurance
Step2:Preparation

ImplementtheQualityAssurance
Step3:ReviewtheProcess

RoleofManagementinQA
Basically, a three-level structure of management exists in
softwaredevelopment organizations−
•Topmanagement
•Departmentmanagement
•Projectmanagement

RoleofManagementinQA
1.TOPMANAGEMENTRESPONSIBILITIES
Following are the responsibilities of the top management in
ensuringSoftware Quality −
•Assure the quality of the company’s software products and
softwaremaintenance services
•Communicate the importance of the product and service
quality in addition to customer satisfaction to employees at
alllevels
•Assure satisfactory functioning and full compliance with
customerrequirements
•Ensurethatqualityobjectivesareestablishedforthe
organization’sSQAsystemandthatitsobjectivesare
accomplished

RoleofManagementinQA
•Initiate planning and oversee implementation of changes
necessary to adapt the SQA system to major internal as
well as external changes related to the organization’s
clientele,competition, andtechnology
•Intervene directly to support resolution of crisis situations
andminimize damages
•Ensure the availability of resources required by SQA
systems

RoleofManagementinQA
The following steps can be taken by the top management to
fulfillits responsibilities −
•Establishing and updating the organization’s software
qualitypolicy.
•Assigning one of the executives such as Vice President for
SQAtobein chargeof softwarequality issues
•Conducting regular management reviews of performance
withrespect tosoftware qualityissues

RoleofManagementinQA
2.DepartmentManagementResponsibilities
Middlemanagement’squalityassuranceresponsibilities
include−
Management of the software quality management system
(qualitysystem-related tasks)
Managementoftasksrelatedtotheprojectsandservices
performedbyunitsorteamsunderthespecificmanager’s
authority(project-relatedtasks)

RoleofManagementinQA
3.Projectmanagementresponsibilities
Mostprojectmanagementresponsibilitiesaredefinedin
proceduresandworkinstructions;theprojectmanageristhe
personin-chargeofmakingsurethatalltheteammembers
complywiththesaidproceduresandinstructions.
Histasksincludeprofessionalhands-onandmanagerialtasks,
particularlythefollowing−
•Professionalhands-ontasks
•Managementtasks

SoftwareQualityv/sQualityAssurance
Quality control is a set of activities carried out with the main
objective of withholding products from shipment if they do
notqualify.
In contrast, quality assurance is meant to minimize the costs
of quality by introducing a variety of activities throughout the
development and maintenance process in order to prevent
the causes of errors, detect them, and correct them in the
early stages of development. As a result, quality assurance
substantiallyreducestheratesofnonqualifyingproducts.

Verificationv/sValidation
Verification refers to the set of tasks that ensure that
softwarecorrectlyimplementsaspecificfunction.
Validation refers to a different set of tasks that ensure that
the software that has been built is traceable to customer
Requirements.
Tags