0% found this document useful (0 votes)
7 views

Unit 2 Types & Levels of Testing

Unit 2 pf software testing
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
7 views

Unit 2 Types & Levels of Testing

Unit 2 pf software testing
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 30
Nypes 4 ee or ee = S| ontreduch oT fi = —— T ea i DANS A. Process CF every Uni oy MMedilPay Cmponens of Sle Suptem. = Theve CMe prany different Jeoying Teves aorica “hetp fo chee behaviour = Pexformance of Siw “Pesweg an Phases g— = unis Jening Inpeqration fesvag ~ System fJessing - aceeplance Te ging. Vow Jesying 3- ‘ sy -— J} 15 Sovics of Bland Alone Fest fo Conducted durirg unit Fesning. 7 EFaMINeS — bAchivrevat —Ipeliviclu cl copaponen> Mhat new. = Un Tesh 19 aise Call€d cls Medwie test Fes! the individuces unit oF code fick Compunise + Cyap i” = Mar wpe ak ‘unit +esHng. isolate Me Smaliest progyvaM of Slw from —temnder OF Coder Hun Feshng --Gequires drivers & | Atv bS dyivey ach as caning uni? I & stub ag as called UNit ER. @ scanned with OKEN Scanner _ Drive, Ei gues Prt) SUBLET Co pdiqurevion. | Pigs Compoten cer Crs driven Fes? F004 to yeplace the /reyboatd 4 MNovsEe I of a mytiem being beimed. €:4 three enedores @) Legin @) ard stosem CD) cance! atedmixsion. ~ Pivet dey} add Student module ‘add Studene TT meduie cannot Quy Standalone... Pix n> @riey M40 [Oain Page Men add” student medve wi) be esewted- - |= add Student gmodvie caule@d — by login Medeve, = Suppose togin medvie Me+ been cdevetoPed | Ya devopey yinak Case Create dummy 1 | 1 mroduie to login modvie db the PoNGienatner dd Syusend Module win be e5f ed i. = login medoie eaed 4 deer & ardd 1 Atudends be the modol@ T _ Some hardware pnodititaton ch siW Fools meen Ieybeard © mouse of BYem my peing desrved addingnal cam pore; aq Ge RO Sr eer Se ay a dtvenr. @ scanned with OKEN Scanner DAV bS52—wyexssdeomie 4nat Prouid@s Stare FE 4 Va Verse Bw oyndey bev = = StU bs 8S} @PPosite of AmMveY dhey Don} Conyvol ofexte dhe Blw henry }etred - They Insvead feceive ov Setpend te dwro tweak sho sendy. Che I — ae ad i Tooy met Stee Year Sob Zen brqoreer CON Piqorasroy ~ Compter au os Qtub s@eplacing Ras luney Printer & colowing More officiem anlady ss of fesx ovtpul. 6-4 2--4lw sends data fo pumes one way fo fest ig iS to enter dua ,priny it & look co tne &ewlting paper Printouts. I wool! wort Blew} inePFiciend pg eXTOY Prone. j =e Perace a PrINVLy aANoMe CoMPUfey thar suneing stub Siw tu - Produ te higher Goality Code on many kei A H = Fess Also SeXYVE as a SouTlE oF 1 dopemenicthion cahovt+ code ee j ~ Save Aesiex's time © effort i ~ G0 Awe ConPidence 40 the eves oping | Jeum- 7 i + The cect Of writing Fest Encourages dhe \ Proqrammenx fo write Code jn ome Chunks t yre Can be 1esred \naependan ty i 4¢ | Tateqealion | ebhg 2= | i ZPReqraion Jepving “15 Leqicc eftension of unit tevin | - 3% 35 BMP\ed}d orm dwe units Hreu have a yecdy 1 heew Feed carre combined into component 4 a inyenpace between tested } [= A Component io sense “efers to inteqrered i agaregue of move MAN one Unit | - Tt }o penta Telisvesyic SeNave many onits [combined inte Component. forn _agqgreqaed Inte even favger pewh of Program: > pa io fest Gmbinctons of piece & eventual expand Process to lest four modules OF 0 trey @ scanned with OKEN Scanner _—+ this method ede the number cf pos | Mey te Faw Simpler fever of analysis : T Shb 5 Simuastion of penbicow 50b~UniF which can woed fo Gimilae enit in bord adsembly, +a D C completed y Sal rT vail B unit B. | vunik é | fee eo | ea | —T St, | | “ T opit 6 Cineempiere) . paver Y | [enive Ton BT [una ¢ i) ] ‘ Jiconeel [compyered _| ! wot Gmopiesed | / Pigs Inteqealion TegH7q -IMequanon erring Carried Ovi dhvee Streregies Fed ave — dewmpesiton based, Cali graph based, & path based = Cll prec. Streregies fotos on Fasting of jnijerFacey a inieyeachon among Sepurcerelt fessed Units. * iDarampodigion Based _Jesving 3= | = DecomposiHon based fesring Po of appl /Prake Separcued Prom each other = penaional ienavtly Creased thar apph/Prele | Pen menHoning “geqwence of execuHon = Complete Project byokken-uP_jnte independant ao | faste Unis Ov foc re i @ scanned with OKEN Scanner = ~Seforuted unis gan be Cucwted seqweEN Helly i Decomposition based pnieqration Fashg ! | Lp Mon jocrementes ET - Qa» jncrementa) “ _ / ~ - %- Top - Down : Ly Bofor — up | 6. Bi dive won, Rig, Decwmpesivor based jnreqravor Fesnrg, | c [AE Srdtegies toed gs 7 Om | pyon gneve mental integration FAHY CBK4 Bang [ Gy Umbyelia) 28> r r ; = gle Uniy assembled jnio Entire Pyoqram | - the pefects eve Mot easity joolared & il Corseed (2) Inevementeu Thieqrubion Teshng e— = Program Constwtted &hested —Ssmallincremenls [ by qdding a minimem stumbey of Component: i at Gach” intervuas. : 7 the errr tye CUsi€y +0 s0(are Corre + i inven Faces a = Fy 18 Top dows appreath OF inteqaarer yeu beqive) heighess level anedeley Yeu! @ scanned with OKEN Scanner \_) “ler Down inuremente) [nleqyvahon Testini': s h imaid rodlele)_———] 50h] SS | sub Module | [sob modete | cal Ti t0P down Incemante TplepHar z Tesvirg = TneGranon FesHng Ziih dhe heey «leva & Control modelé oF Malo PrOqUMm With) Sbloydrak eplaced by Gluby . Hom UP Inixemerias Tn leptin TegHrg 3 ~he behom UP approach eiaires [owes] -level units be tested & integrates Piyhh main \.—>) Driver / Mo dure = —J 1 lt {Sey module Bob ppeiulel fof Liq _BoHom-up ome Tnvepoarin Fesloy ~~ 1OWesF feuel Sub ~miedate Hea oF BEI | Secetstuery Superor feue) ComPeneet Gre adad 2 festes @ scanned with OKEN Scanner BA Direction) Inbegrekion Jesning 2- eo | Bidivecroned Dnleqrahen Veynny 15 Combi na... | 4oP down & porrom up approches. & Forms | Tice: ynryesnaton | ; AV pedo! —————— | | \eandhve | iE Trea Su medoie Gr F-4 1 eps Pe a a As ale H_maaele Fnedvte cl ‘[_ measien modu re & iL L [eee eee isaac | Prat Br-Aivechdra teming. ‘ Figs : Lgoiics medeve are jesved mn Setwence 4+ SEROES anshance pmModore ®B,GP,F ave 4essed. to herPel ab 2 Piven. : : Te sau will perfor oie of missin, phodule Caney Hoes ye-avetion oF Lewert, othex PHodule |- Dyers wore in bottom-up fashien & 4}u0— (por Ive Jop-down Fashion + | this HHP OF festing 15 cube Known a5 "sandwich Aesing" HREM. INcoFPovaes Peawreys 9 Hew ey Drier ‘ e@ Follows bi-di i Oxnye C40 Follow bi-diyectoncy Supe of ameqana oxen Rep Numbex Modore ened ira ot F-3 - [email protected]¢-D sie yW-€ 4 (h-¥-B) ER-t€-D) (ReH]-EY @ scanned with OKEN Scanner 7 Sp63_ fo OPward —T “X_ Prncess OF Bi -divewaney esiing = Bottom LP fesviry Aaaee Tuom emadie (aygey : so for layey - TOP dow qesind giurt Pom middle layer & Qoes clownwor 4. Je ~ B4 band APPYCach Fallowea gmidile latory Tis layer bottom up appreach Goes OPpward & xo doWN Bows downword: fuanbades used fo bq Pooseas / terge sistem: ~ Bown approchey diart of gdhedule of prjeu Crop & BeFTomy — peeds more ~Zesorce & big feam Pers forme FEW CY + Disad vantares os = Bepyesent yer) With Cost of festing FZ egovyced 3 Tanner used fox Smatler sysyem with Vnvor dependance berween diffexen} modules = pipfenen) san Far For Jestex in different joeves OS Mmodv\e er pret dormain. —gF is glo festirg technique Cxelusive ly adored fo Fest the are hosted on web? @ scanned with OKEN Scanner - 04 is used fo dered! potenhal bugs in web aser x before code 15 Moved jnbo “Predwetion environment Lt web based — Gystem peeds fo chetle completely ___Frem end-}o -end ent Ic Pex forming websije feng orqanizeion | thay” | chee Penvioning properly @ accepted by ear H Hime vseyx- > = G6 Approaches Pat Pollows. iO Punuions Teaming L@ Vseviainy Testing 7 | @® interface esting | ws Coropasibiadty fering ; 7 I Performace Tesyrg a | © sewsity Jeg. f ol PoncHorey Testing 2- - cheee the Sfeciercation oF Product Zea rp ment 7 = theus: pe Dinle jnweb Pages, database Ceppecrion , forms Submining oy gesting as Pey il jnformayion from user in web Pa ges i Coolie tesging exc. Sree —Chece al the Wks - Test cl I ndeynad Links - Test Links “40 --4eferventing on Same = = _ovlgeing wink Prom eu! Pagel to specific _boma @ scanned with OKEN Scanner = Mink used jo gerd en be admin S thee there cere and ciphan PORT — #1 Test Forms on cul Pages b- SS ——— aa ~ forms jnleyras part Of website TF heceivirg jphormaion Fyrom Ose & jnseru 4nem - pivss checte vaidwior on each Pielld ~ Checte bekavlt yaswe or prelds = wrongs inputs fo Lidlas 10 He FotmMs. — to create form «ny delese ,ujew, OY modify the forms. ¥| Cookies Serax [esprg ?> ~ Cookies are Sma Pies sorted 2” Us er madi ~ used fo mainjaio tne session 7 TF manly Stores eogin sessions I = Jest apps by enabling oF Aisabling Cool fafency Chart » Latency fs Hime T pitpererce berweer dareBeach fom, Sou7e bo @ scanned with OKEN Scanner Performance TESS Aewr an ser] 3 [ paxom verze | Ta] Grreur ose] aceranos | [resi sever | [esrare | [ - F pex Fov mance | qasring | [ cxenre tend] | | process | | _scenevia [ [reef | Ant E [| simiwe 2| j Répor F. Tess £GlF |7—| you te (oad) 4 : _ fai 31 €PS OF Perfovrurnce Teshing CU a aertify pert Snuironment 3 - I - Phusices FEF Anvitonmens Productonenvironne Btoos cavwlasle Loy feswrg - ~ Jester Understand Alw 6 Slew BP Con piguyetion vsed Nerworte. ' AQ) rdenvily phe Performance Aceprance COseria g— < Fdeptily Proje Gutcess Criteve: ours de Jeat & corstrein ks. Plan & Oesina, Performance TeMr B- ( Hecessony fo Bimulare Variesly OF us Gnd Usev5 “flan ferformane fest dato ousjine fy wv Conbiquring best environ ments ———————- Prepare fething environment betore Beuna : TL @ scanned with OKEN Scanner 6 pmpiemen! ! _——-£ et} pean | create pesformane 1es¢ actor ding Jo foqidale, Fl pe pre FAS 5 Execute A Monifor fess, t ipnatiee fore ¢ echeit g- analyze € Shave Feit [felt Cheese improvement oy decrewse fn PexFouon, ¥ | Becuryy Jegting => — BewitY ferting pexformed fo Vent the appl 15 Sewred OP web dare & UNdwIhor) seh aceHs = Bewnty tesHrg Password Crelleing , Waufhorized ani into. glo nerworle, sewrty ay faken info ConSiderasion « ecurity Testing JIndude 2 TUnaurhonzed acces fo secure Paves is Net Peamired DResricred Piles whould dowloadakre withoot appropnate For acceys- = Chetic SeHIORS CUYE cidtomaHcelty Killed user ‘nacrvet Rees Sov Feast () | Authonearion %- verhu aukrors fdenhty fo checte avfnoyized user or rok ) Access Contre! ¢- cauled paviledge festirg Enoryprion [ Dec 1 B- Prerypren Convey? crcluad tule ino o BeUret Code cohich net undergranibble human ~ DErTyprion imuolv? men ng secret oteky PFD alwua dale. * @ scanned with OKEN Scanner Moan sub gest |" a ConbictenHa Hy = = nen hePudation — — OS) Sub test Senn pens Se -— —- BQ. Pubroy2zeron LBb: Access Conhol C Enews pion | Deomspiton. Goblest of Secunry Teswinrg | >| Techniques Jo vewpy Securry fever pf b415/em — inxevion _ cross site beriPH Og ~ Sensi Hue Dara Exposure ~— cross side Requed4 Rorgry = Secuviag BIS Co Nbtqurat7 on « ~ — Doginto Web app? Logout web app)? eee client | Sewer Fesing a Fupeo Ba pee tha valiclabes ey Bunce reLing TREES eal) Be ya ~ perween a Uien+ 4 & _Senerin a distibotey— Aypsems es —_—_——— @ scanned with OKEN Scanner ~ 10 a client-semex archisequye erent —— enh te at Seer Pops Beqwesp, - It 15 Heved crchicuure dg) “Types of awchivethives in Tent (sera Griig a | = J @ Hewed anthiethuye RY 3- Hered anchiteuvre, 7\)_ | 2- fiewed Archifetwre ¢- — dt \e Reoeh as chen} cence moder ~ Am¥lemenys “Par” crend - Database directly tater than Middle ware - Fo Implemented as PresentiaHon Logic, business ogi = wane Most OF Sxsovs testers Pind jndependant imple mentation. — Over alley darakase. make simpler venky Jest esuy Dis aduantaces = Lit of scatabitiry | - Dibfico(kes of maintanance. ] — Changel Retuive Z£einskwavon, ae -Fiered fachifecture ¢- I — the appl divided into Pres eniavon feeyay Hier | amalle Her & dasa fier = miadie Hiew Compose one oy move appl BY i Sewer distribuped CCrSS one OY Moye Physical Le | Machines Le i = f+ aso termed "The thin client - Fas SErUer” | approach. @ scanned with OKEN Scanner = - complicare "plicated model becavse daja obser CaN svoke, Zen “many Clients abyeds Rrtboned © many demas hayaderistts 3- = pesizable 15 at development & implemen, oe Pyamework. _ = Same fine mate feng Com pore (on j & trtiey | [ayers io Client [server Tesh al Tsing 09 Clienk Bde CGreyohe User JptetFuce fepiy | D C755 Plaiform Nalure : - n+ nsPernils (inver Fetce creo ss | ~ Gul objey Plaform J endifferent flw © lwo Ped form 7 B® iEvers daven nadure 3 — Got Ppl” spoveased fesuing i Eecuirnment Aecausé pumber of Gballahle user acion very high the Nomber of deqical | ah pene eaviegy Program Code is very high. | | 69% pmouse tnpot raise) some problem Necessary I Asse apr? handies beth inpos 4 1eeyhoun Inport CoxvecHy, > ipl Testing “op the Somer side CARP ‘feasting Js i) Ghent [semer Loading Feoks = -There ave fwo Hipey mss U9 ET - Pontional based Lening MvIhvset foading testing - be ~ Getuge Client/Server Peed Fe A Fowmanc e. = order fo der détesmine Suita ~ Parooase SeMuey & ia BLE Ty. xopl” Sen weak Senay y Perlormane o @ scanned with OKEN Scanner _ mullivser load Jest 4e7 MUHPle Chant ace en = “Y siteation echic, Lingle Sewer appr Udleme [esHrg —e— ~#ind ween ess of System con, aspect to handling Aarge amount of dura Hywes Tesuirg 3- - find dofeds of woiem Capacity oF handing Large Number ob Jyonsotry sOv0ng Perle Pe wiordg E45 soviet Sequire user clogin @ Prod Tasly Cuchuity. Performance Teyirg 3 > Geren acvess Jerme Oi. OF AexPonse HME & phyroughPus qyures ondeg diPherent Proc eusing ke contiquryarion Conditon 59 4 0) fow Mech lao Ghoul sent Cach fyansauion? @) apph seqic fhould be-Lemesely ew ted» Data [eshaqg o- = jnvalves Guigity Dice Dera 2e aveny TExHrg Ss % ~ para bac up ,Bestonng fesHng , Dasa securi-ytey pephaue dara integrity levting. | Nerworked eoorkied API" Teshing 3 - Dave Beyponce hime = eae airy —= hen ‘0 ? jvauwton a ate ce POLE ana = 7 — NE SPELL, im PON Ti JureHon & grind — measvye resPo! c i sus tem Canequralton © v) dyress_ Fewing = overload WeKuwk €eSour ; _ ea 15 Known as pied Jesnirg gt haulee Place - 7 Jk sends Suyghem! ole te es4 re | - Customer's gire USERS jnsfall Ceas~worte Condi dons: : | —péia Fesnd Serood Phave olw Feu ungahicr ioe Sampling intended cuvdiance ries Product Oot | = Goad of bia JesHing do Place Your appfin hands of Gea vber ouside of Your Own i feam. 2 | Advantage 2- Gaer ensor Pree Pfres) Prodwe+ Oe oe vaidared Bealdime environment Save Prodvd Cost dee to Product is fesied (& Betrer Codromer Calis¥acson v ( Support Jeam rows problem hekorde {aunch- Tapes 3- (1) Tradibionw Bee Leming 7) pobiic hero fevking Fechnrca Bera fest ng Pocwsed Beka Post Lerease Bera - i ¥ |Specid [est 22> [ at Regression TJesting s- | Sree ar | 3 Ih - ~ | \ age on FOF] | selection ~ Provitiealion off as [Taree | @ scanned with OKEN Scanner = Revrexsion resting, “depin ed “hype Sof Siw yes Aevens Pooqram Or Cate = Peqression Festing. fothing but fo of Partial serection of asreddy ecews+es] Foss cases = 33 Re auiyed 7 _ new feawre 15 clded yo $10 - cere ffiaing = Pes formance Ave Ex —change Legiyn ment Bed j5 modi fy’ ed ateoyding Be dwrnments Di Reset al) - - one of memod? EeGre SION FSG Chih ail bese exIgHTY pesh bucket . = Thi 5 i5 very expensive Eoqures huge med ) | Repources . i 2 Regression fejr seletyon g_ — 2eexewH 19 endive fet —guite i146 berter fo stiechPurt of felt pire tobe i mon - @& Tet case seeds Serecrad (f) pevsuble rar | i) case @ obsolete Feel case pevsest | — Revsuble +2)+-€ Case vged Gecessing cycie |_ __2|_priovizaion of elt Case @- th is depending = pad, conic’ & Prequenty used L “fe Pon Uionculin'es SUevroN OF feucase based i Prion HY HK Feecting Tost (ase for Repewion feshirg 3— = All Compe feat case = Boundary valuefest Case) = Gampre oF Guicess fol Felt Case ~ Sample oF Paifore fel" - = All Inbey paration Jos? Cts Unmet — qesr Coe which have Prewent defec, - Test case verily Cove Fearkres of Produce E : @ scanned with OKEN Scanner 40 i Respression testing fool fA 1) Guicte Fest Professional ga - 7 a) Puionel Punurana Jester selenium + ¥ ter Faces Foy Campler GUT Testing 83 .- fue Her © i app ~ | = Command Line jntersface type test a Computer fejrend | Command | = Gut Sian for Grapnied user ¢ rherface which interceer i = Chel Scrveer valdiabon .—venky opseu see | — very Al). Navigations : i y Chette vsabitity Condition | = very pata dategrity Tnterattion between User & zniekace Fuse checte Chece Chee tek — Faaer TCH bes 7 ——_Li5t Box | koéq¢- ~appl* depend op agnperacds ve Or FHV CCIA Usez- anjer face - @ scanned with OKEN Scanner ewith hyman 42330) Sr Could be Performed AvgomahCCMty evi yh uc. of a Siw Proqen. u ty ¥| Approach OF GE Testing 4 +. : : “| Manvel based Jesting Ba >This approuth qraPhicas Seveens chedeed manually Hester ip Conformance BesultNment Stare 4 business £6uhing I Coton 1 = mann fesing often error Prone: jhere care | + Chances, mobs fest Scenasio 12H out, Semel Based Testing B25 — Gur. FesHag dene using i Qvtomuion fools : | | = There are fwo parts (PReard ¢est 6) play bacte Fes} - pring Playpertic “etorded fest Steps exPWWHed on appr under Tess > ' = Qutomated Gur slo Program ye dered Hor DesletoP | app? Pon cHoncjhy Orreur |= resting fare Consuming error Pore - acerate Opficient, 4eliable £0057 Ehke cHve eplut -Inuclue Casrying Ser of task Qupomahtahy & : | ComPpaing Kejult oF same expected oupus, & . K | Chasattensn@ 9-5 — able fe Provide Jnpatd fo fo : Gv} obser = Chetee Qut eepseseniahon fhe Tonsisteny with “OLPeUe A ones — shrooaly depends 09 used Tethnelery = capabUHes to exercise Guz aveny ark @ Fae ey Press [ preuse Clicles =. yale 2) oF ProPerHe! each obieu Gus deere ale @ scanned with OKEN Scanner

You might also like