Chapter 9 Compatibility TestingWord格式.docx

上传人:b****7 文档编号:22931712 上传时间:2023-02-06 格式:DOCX 页数:14 大小:309.06KB
下载 相关 举报
Chapter 9 Compatibility TestingWord格式.docx_第1页
第1页 / 共14页
Chapter 9 Compatibility TestingWord格式.docx_第2页
第2页 / 共14页
Chapter 9 Compatibility TestingWord格式.docx_第3页
第3页 / 共14页
Chapter 9 Compatibility TestingWord格式.docx_第4页
第4页 / 共14页
Chapter 9 Compatibility TestingWord格式.docx_第5页
第5页 / 共14页
点击查看更多>>
下载资源
资源描述

Chapter 9 Compatibility TestingWord格式.docx

《Chapter 9 Compatibility TestingWord格式.docx》由会员分享,可在线阅读,更多相关《Chapter 9 Compatibility TestingWord格式.docx(14页珍藏版)》请在冰豆网上搜索。

Chapter 9 Compatibility TestingWord格式.docx

ConfigurationTesting,"

youlearnedabouthardwareconfigurationtestingandhowtoassurethatsoftwareworksproperlywiththehardwareitwasdesignedtorunonandconnectwith.Thischapterdealswithasimilarareaofinteractiontestingcheckingthatyoursoftwareoperatescorrectlywithothersoftware.

Testingwhetheroneprogramplayswellwithothershasbecomeincreasinglyimportantasconsumersdemandtheabilitytosharedataamongprogramsofdifferenttypesandfromdifferentvendorsandtakeadvantageoftheabilitytorunmultipleprogramsatonce.

Itusedtobethataprogramcouldbedevelopedasastandaloneapplication.Itwouldberuninaknown,understood,benignenvironment,isolatedfromanythingthatcouldcorruptit.Today,thatprogramlikelyneedstoimportandexportdatatootherprograms,runwithdifferentoperatingsystemsandWebbrowsers,andinteroperatewithothersoftwarebeingrunsimultaneouslyonthesamehardware.Thejobofsoftwarecompatibilitytestingistomakesurethatthisinteractionworksasuserswouldexpect.

Thehighlightsofthischapterinclude

∙Whatitmeansforsoftwaretobecompatible

∙Howstandardsdefinecompatibility

∙Whatplatformsareandwhattheymeanforcompatibility

∙Whybeingabletotransferdataamongsoftwareapplicationsisthekeytocompatibility

CompatibilityTestingOverview

Softwarecompatibilitytestingmeanscheckingthatyoursoftwareinteractswithandsharesinformationcorrectlywithothersoftware.ThisinteractioncouldoccurbetweentwoprogramssimultaneouslyrunningonthesamecomputerorevenondifferentcomputersconnectedthroughtheInternetthousandsofmilesapart.Theinteractioncouldalsobeassimpleassavingdatatoafloppydiskandhand-carryingittoanothercomputeracrosstheroom.

Examplesofcompatiblesoftwareare

∙Cuttingtextfromawebpageandpastingitintoadocumentopenedinyourwordprocessor

∙Savingaccountingdatafromonespreadsheetprogramandthenloadingitintoacompletelydifferentspreadsheetprogram

∙Havingphotographtouchupsoftwareworkcorrectlyondifferentversionsofthesameoperatingsystem

∙Havingyourwordprocessorloadinthenamesandaddressesfromyourcontactmanagementprogramandprintoutpersonalizedinvitationsandenvelopes

∙Upgradingtoanewdatabaseprogramandhavingallyourexistingdatabasesloadinandworkjustastheydidwiththeoldprogram

Whatcompatibilitymeansforyoursoftwaredependsonwhatyourteamdecidestospecifyandwhatlevelsofcompatibilityarerequiredbythesystemthatyoursoftwarewillrunon.Softwareforastandalonemedicaldevicethatrunsitsownoperatingsystem,storesitsdataonitsownmemorycartridges,anddoesn'

tconnecttoanyotherdevicewouldhavenocompatibilityconsiderations.However,thefifthversionofawordprocessor(seeFigure9.1)thatreadsandwritesdifferentfilesfromotherwordprocessors,allowsmultiusereditingovertheInternet,andsupportsinclusionofembeddedpicturesandspreadsheetsfromvariousapplicationshasamultitudeofcompatibilityconsiderations.

Figure9.1.Compatibilityacrossdifferentsoftwareapplicationscanquicklybecomeverycomplicated.

[Viewfullsizeimage]

Ifyou'

reassignedthetaskofperformingsoftwarecompatibilitytestingonanewpieceofsoftware,you'

llneedtogettheanswerstoafewquestions:

∙Whatotherplatforms(operatingsystem,webbrowser,orotheroperatingenvironment)andotherapplicationsoftwareisyoursoftwaredesignedtobecompatiblewith?

Ifthesoftwareyou'

retestingisaplatform,whatapplicationsaredesignedtorununderit?

∙Whatcompatibilitystandardsorguidelinesshouldbefollowedthatdefinehowyoursoftwareshouldinteractwithothersoftware?

∙Whattypesofdatawillyoursoftwareusetointeractandshareinformationwithotherplatformsandsoftware?

Gainingtheanswerstothesequestionsisbasicstatictestingbothblack-boxandwhite-box.Itinvolvesthoroughlyanalyzingthespecificationfortheproductandanysupportingspecifications.Itcouldalsoentaildiscussionswiththeprogrammersandpossiblyclosereviewofthecodetoassurethatalllinkstoandfromyoursoftwareareidentified.Therestofthischapterdiscussesthesequestionsinmoredetail.

PlatformandApplicationVersions

Selectingthetargetplatformsorthecompatibleapplicationsisreallyaprogrammanagementoramarketingtask.Someonewho'

sveryfamiliarwiththecustomerbasewilldecidewhetheryoursoftwareistobedesignedforaspecificoperatingsystem,webbrowser,orsomeotherplatform.They'

llalsoidentifytheversionorversionsthatthesoftwareneedstobecompatiblewith.Forexample,you'

veprobablyseennoticessuchastheseonsoftwarepackagesorstartupscreens:

WorksbestwithAOL9.0

RequiresWindowsXPorgreater

ForusewithLinux2.6.10

Thisinformationispartofthespecificationandtellsthedevelopmentandtestteamswhatthey'

reaimingfor.Eachplatformhasitsowndevelopmentcriteriaandit'

simportant,fromaprojectmanagementstandpoint,tomakethisplatformlistassmallaspossiblebutstillfillthecustomer'

sneeds.

BackwardandForwardCompatibility

Twotermsyou'

llhearregardingcompatibilitytestingarebackwardcompatibleandforwardcompatible.Ifsomethingisbackwardcompatible,itwillworkwithpreviousversionsofthesoftware.Ifsomethingisforwardcompatible,itwillworkwithfutureversionsofthesoftware.

Thesimplestdemonstrationofbackwardandforwardcompatibilityiswitha.txtortextfile.AsshowninFigure9.2,atextfilecreatedusingNotepad98runningunderWindows98isbackwardcompatibleallthewaybacktoMS-DOS1.0.It'

salsoforwardcompatibletoWindowsXPservicepack2andlikelywillbebeyondthat.

Figure9.2.Backwardandforwardcompatibilitydefinewhatversionswillworkwithyoursoftwareordatafiles.

NOTE

It'

snotarequirementthatallsoftwareorfilesbebackwardorforwardcompatible.That'

saproductfeaturedecisionyoursoftwaredesignersneedtomake.Youshould,though,provideinputonhowmuchtestingwillberequiredtocheckforwardandbackwardcompatibilityforthesoftware.

TheImpactofTestingMultipleVersions

Testingthatmultipleversionsofplatformsandsoftwareapplicationsworkproperlywitheachothercanbeahugetask.Considerthesituationofhavingtocompatibilitytestanewversionofapopularoperatingsystem.Theprogrammershavemadenumerousbugfixesandperformanceimprovementsandhaveaddedmanynewfeaturestothecode.TherecouldbetensorhundredsofthousandsofexistingprogramsforthecurrentversionsoftheOS.Theproject'

sgoalistobe100percentcompatiblewiththem.SeeFigure9.3.

Figure9.3.Ifyoucompatibilitytestanewplatform,youmustcheckthatexistingsoftwareapplicationsworkcorrectlywithit.

Thisisabigjob,butit'

sjustanotherexampleofhowequivalencepartitioningcanbeappliedtoreducetheamountofwork.

Tobeginthetaskofcompatibilitytesting,youneedtoequivalencepartitionallthepossiblesoftwarecombinationsintothesmallest,effectivesetthatverifiesthatyoursoftwareinteractsproperlywithothersoftware.

Inshort,youcan'

ttestallthethousandsofsoftwareprogramsonyouroperatingsystem,soyouneedtodecidewhichonesarethemostimportanttotest.Thekeywordisimportant.Thecriteriathatmightgointodecidingwhatprogramstochoosecouldbe

∙Popularity.Usesalesdatatoselectthetop100or1,000mostpopularprograms.

∙Age.Youmightwanttoselectprogramsandversionsthatarelessthanthreeyearsold.

∙Type.Breakthesoftwareworldintotypessuchaspainting,writing,accounting,databases,communications,andsoon.Selectsoftwarefromeachcategoryfortesting.

∙Manufacturer.Anothercriteriawouldbetopicksoftwarebasedonthecompanythatcreatedit.

Justasinhardwareconfigurationtesting,thereisnoright"

textbook"

answer.Youandyourteamwillneedtodecidewhatmattersmostandthenusethatcriteriatocreateequivalencepartitionsofthesoftwareyouneedtotestwith.

Thepreviousexampledealtwithcompatibilitytestinganewoperatingsystemplatform.Thesameissuesapplytotestinganewapplication(seeFigure9.4).Youneedtodecidewhatplatformversionsyoushouldtestyoursoftwareonandwhatothersoftwareapplicationsyoushouldtestyoursoftwarewith.

Figure9.4.Compatibilitytestinganewapplicationmayrequireyoutotestitonmultipleplatformsandwithmultipleapplications.

StandardsandGuidelines

Sofarinthischapteryou'

velearnedaboutselectingthesoftwarethatyou'

llcompatibilitytestwithyourprogram.Now,it'

stimetolookathowyou'

llapproachtheactualtesting.Yourfirststopshouldberesearchingtheexistingstandardsandguidelinesthatmightapplytoyoursoftwareortheplatform.

Therearereallytwolevelsoftheserequirements:

high-levelandlow-level.Itmaybeamisnomertorefertothemashighandlow,butinasense,that'

sreallywhattheyare.High-levelstandardsaretheonesthatguideyourproduct'

sgeneraloperation,itslookandfeel,itssupportedfeatures,andsoon.Low-levelstandardsarethenitty-grittydetails,suchasthefileformatsandthenetworkcommunicationsprotocols.Bothareimportantandbothneedtobetestedtoassurecompatibility.

High-LevelStandardsandGuidelines

WillyoursoftwarerununderWind

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > IT计算机 > 互联网

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1