TMMI测试成熟度.docx
《TMMI测试成熟度.docx》由会员分享,可在线阅读,更多相关《TMMI测试成熟度.docx(96页珍藏版)》请在冰豆网上搜索。
TMMI测试成熟度
1TestMaturityModelIntegration(TMMi)
1测试成熟度模型集成(TMMi)
1.1Introduction
1.1介绍
Forthepastdecade,thesoftwareindustryhasputsubstantialeffortinimprovingthequalityofitsproducts.Thishasbeenadifficultjob,sincethesizeandcomplexityofsoftwareincreasesrapidlywhilecustomersandusersarebecomingmoreandmoredemanding.Despiteencouragingresultswithvariousqualityimprovementapproaches,thesoftwareindustryisstillfarfromzerodefects.Toimproveproductquality,thesoftwareindustryhasmuchfocusedonimprovingtheirdevelopmentprocesses.AguidelinethathasbeenwidelyusedtoimprovethedevelopmentprocessesistheCapabilityMaturityModel.TheCapabilityMaturityModel(CMM)andits’successortheCapabilityMaturityModelIntegration(CMMI)areoftenregardedastheindustrystandardforsoftwareprocessimprovement.Despitethefactthattestingoftenaccountsforatleast30-40%ofthetotalprojectcosts,onlylimitedattentionisgiventotestinginthevarioussoftwareprocessimprovementmodelssuchastheCMMandtheCMMI.Asananswer,thetestingcommunityhascreateditscomplementaryimprovementmodels.ThisdocumentdescribestheTestMaturityModelIntegration(TMMi).TheTMMiisadetailedmodelfortestprocessimprovementandispositionedasbeingcomplementarytotheCMMI.
在过去的10年间,软件产业界花费了大量的努力用以提高它的产品质量。
这无疑是个艰巨的工作,因为软件的体积和复杂度正在随着客户和最终用户越来越多的需求而飞速的增长。
尽管采用了多种质量提高手段软件产业仍然远离零缺陷。
为了提高产品质量,软件产业界把重点放在了提高开发过程上。
一个准则,能力成熟度模型(CMM)已经被广泛使用。
能力成熟度模型(CMM)和它的接替者,能力成熟度模型集成(CMMI)常常被作为软件开发过程的工业标准。
尽管事实上测试至少要占到整个项目花费的30%-40%,但是在各种软件过程改进模型如CMM和CMMI,测试仍然被很少提及。
测试社区创建了互补的改进模型来响应这个问题。
本文就描述了这种模型,测试成熟度模型集成(TMMi)。
TMMi是测试过程改进的详细模型并且作为CMMi的互补。
1.2BackgroundandHistory
1.2背景和历史
TheTMMi1frameworkhasbeendevelopedbytheTMMiFoundationasaguidelineandreferenceframeworkfortestprocessimprovementandispositionedasacomplementarymodeltotheCMMI2Version1.2[CMMI]addressingthoseissuesimportanttotestmanagers,testengineersandsoftwarequalityprofessionals.TestingasdefinedintheTMMiisappliedinitsbroadestsensetoencompassallsoftwareproductquality-relatedactivities.TMMi框架由TMMi协会开发并作为准则框架对测试过程改进做指导。
TMMi也作为CMMI1.2版本的互补模型来对测试经理,测试工程师和软件质量专家定位某些问题的重要性。
Testing:
Theprocessconsistingofalllifecycleactivities,bothstaticanddynamic,concernedwithplanning,preparationandevaluationofsoftwareproductsandrelatedworkproductstodeterminethattheysatisfyspecifiedrequirements,todemonstratethattheyarefitforpurposeandtodetectdefects.[ISTQB]
*这个应该是测试的定义,要看下别人如何翻的*测试:
测试过程包含所有生命周期活动,包括静态和动态,包括软件产品的计划,准备和评估和相关的工作产物以决定他们对指定的需求满意,证明他们适合目标并作缺陷检查。
JustliketheCMMIstagedrepresentation,theTMMialsousestheconceptofmaturitylevelsforprocessevaluationandimprovement.Furthermoreprocessareas,goalsandpracticesareidentified.ApplyingtheTMMimaturitycriteriawillimprovethetestprocessandhaveapositiveimpactonproductquality,testengineeringproductivity,andcycle-timeeffort.TheTMMihasbeendevelopedtosupportorganizationsatevaluatingandimprovingtheirtestprocess.WithintheTMMi,testingevolvesfromachaotic,ill-definedprocesswithalackofresources,toolsandwell-educatedtesterstoamatureandcontrolledprocessthathasdefectpreventionasitsmainobjective.PracticalexperiencesarepositiveandshowthatTMMisupportstheprocessofestablishingamoreeffectiveandefficienttestprocess.Testingbecomesaprofessionandafullyintegratedpartofthedevelopmentprocess.Asstatedthefocusoftestingchangesfromdefectdetectiontodefectprevention.
像CMMI使用阶段描述一样,TMMi也使用成熟度水平概念来做过程评估和改进。
此外还定义了过程域,目标和活动。
TMMi成熟度标准的应用将改善测试过程,并对产品质量,测试工程生产力和周期时间的努力有着积极的影响。
TMMi已经被开发成支持组织评估和改善他们的测试过程。
通过TMMi,测试从一个无序混乱,缺乏资源,工具和训练有素的测试人员的弱定义过程到成熟的,可控的并且有缺陷预防最为它主要目标的过程。
实际的经验证明TMMi建立了一个更加高效的测试过程。
测试成为了专职并且被融入到开发过程中。
开始把重点由缺陷检测转到缺陷预防上来。
1.3Sources
1.3起源
ThedevelopmentoftheTMMihasusedtheTMM3frameworkasdevelopedbytheIllinoisInstituteofTechnologyasoneofitsmajorsources[Burnstein].In
TMMi的发展是以美国伊利诺伊理工学院开发的TMM框架为主要的来源。
additiontotheTMM,itwaslargelyguidedbytheworkdoneontheCapabilityMaturityModelIntegration
(CMMI),aprocessimprovementmodelthathas
除了TMM,它也借鉴了能力成熟度模型集成(CMMi),后者是一种IT业界有着广泛支持的过程改进模型。
widespreadsupportintheITindustry.TheCMMIhasbothastagedandcontinuousrepresentation.Withinthe
stagedrepresentationtheCMMIarchitecture
CMMI既是分阶段的也是持续的表述。
prescribesthestagesthatanorganizationmustproceedthroughinanorderlyfashiontoimproveits
developmentprocess.Withinthecontinuous
对于阶段表述,CMMI架构规定了各个阶段,组织必须顺序的执行它的阶段以提高它的发展过程。
representationthereisnofixedlevelsetoflevelsorstagestoproceedthrough.Anorganizationapplying
thecontinuousrepresentationcanselectareas
对于持续表述,没有固定的级别或者阶段去通过,一个组织可以从不同的类别选择区域去做改进。
forimprovementfrommanydifferentcategories.TheTMMihasbeendevelopedasastagedmodel.Thestaged
modelusespredefinedsetsofprocessareasto
TMMi被开发成一个阶段模型,它使用预定义的多套过程域定义组织的发展路线。
defineanimprovementpathforanorganization.Thisimprovementpathisdescribedbyamodelcomponent
calledamaturitylevel.Amaturitylevelisawell
这种发展路线被描绘成一种模型成分,称为成熟度级别。
成熟度级别又被定义成进化水平,以完成改良组织过程。
definedevolutionaryplateautowardsachievingimprovedorganizationalprocesses.Atalaterstagea
continuousrepresentationoftheTMMimaybecome
在后来的一个阶段TMMi的持续表述才变得可用。
available.ThiswillmostlikelynotinfluencethecontentoftheTMMi.Itwill‘only’provideadifferent
structureandrepresentation.
它不会影响TMMi的内容,它仅仅提供了不用的结构和表述。
OthersourcestotheTMMidevelopmentincludetheGelperinandHetzel’sEvolutionofTestingModel
[GelperinandHetzel],whichdescribestheevolutionofthetestingprocessovera40-yearperiod,Beizer’s
testingmodel,whichdescribestheevolutionoftheindividualtester’sthinking[Beizer],researchonthe
TMMcarriedoutintheEUfundedMB-TMMproject,andinternationaltestingstandards,e.g.IEEE829StandardforSoftwareTestDocumentation[IEEE829].ThetestingterminologyusedintheTMMiisderivedfromtheISTQBStandardGlossaryoftermsusedinSoftwareTesting[ISTQB].
促进TMMi发展的其它来源还包括Gelperin和Hetzel的测试模型的演化,它描述了过去40年间的测试过程的演化;还有
Beizer的测试模型,它描述了单个测试人员的想法的演化;有EUfundedMB-TMM项目中对TMM的研究;还有国际测试组织,
如IEEE829标准中的软件测试文档[IEEE829]。
在TMMi使用的测试术语来自ISTQB组织软件测试方面的标准条款术语。
1TMMiisaregisteredtrademarkoftheTMMiFoundation
1TMMi是TMMi组织的注册商标
2CMMandCMMIareregisteredtrademarksofCarnegieMellonUniversity
2CMM和CMMI是CarnegieMellon大学的注册商标
3TMMisaregisteredservicemarkofIllinoisInstituteofTechnology
3TMM是Illionis理工学院的注册服务标记
Asstatedfordefiningthematuritylevels,theevolutionarytestingmodelofGelperinandHetzelhas
servedasafoundationforhistorical-leveldifferentiationintheTMMi.TheGelperinandHetzelmodel
describesphasesandtestgoalsforthe1950sthroughthe1990s.Theinitialperiodisdescribedas
“debuggingoriented”,duringwhichmostsoftwaredevelopmentorganizationshadnotclearlydifferentiated
betweentestinganddebugging.Testingwasanad-hocactivityassociatedwithdebuggingtoremovebugsfrom
programs.Testinghas,accordingtoGelperinandHetzel,sinceprogressedtoa“prevention-oriented”
period,whichisassociatedwithcurrentbestpracticesandreflectsthehighestmaturitylevelofthe
TMMi.Furthermore,variousindustrialbest-practices,practicalexperienceusingtheTMMandtesting
surveyshavecontributedtotheTMMidevelopmentprovidingitwithitsnecessaryempiricalfoundationand
requiredlevelofpracticality.TheyillustratethecurrentbestandworsttestingpracticesintheIT
industry,andhaveallowedthedevelopersoftheTMMiframeworktoextractrealisticbenchmarksbywhichto
evaluateandimprovetestingpractices.
至于确定成熟度等级所述,Gelperin和Hetzel的进化测试模型担任一个历史级的TMMi区别的基础。
,Gelperin和Hetzel模
型描述了1950年代到1990年代的阶段和测试目标。
初始的时期被描述成面向调试的,在这个时期大多数的软件开发组织不
清楚测试和调试的区别。
测试是个模糊的活动,它跟调试一起是用来从程序中去除错误的。
根据Gelperin和Hetzel,测试
已经进入面向预防时期,联系到最好的练习以及反映了TMMi最成熟的水平。
而且,各种各样的工业界使用TMM的最佳练习和
实践经验为TMMi的发展提供了必要的实验基础和实用性水平。
他们阐明了当前在IT工业界最好和最差的测试实践,它也允
许TMMi框架的开发者提取实际的基准以评估和改善测试实践。
1.4ScopeoftheTMMi
1.4TMMi的领域
1.4.1SoftwareandSystemEngineering
1.4.1软件和系统工程
TheTMMiisintendedtosupporttestingactivitiesandtestprocessimprovementinboththesystems
engineeringandsoftwareengineeringdiscipline.Systemsengineeringcoversthedevelopmentoftotal
systems,whichmayormaynotincludesoftware.Softwareengineeringcoversthedevelopmentofsoftware
systems.
TMMi打算在系统工程和软件工程学科支持测试活动和测试过程改善。
系统工程涵盖了整个系统的发展,它可以包括也可能
不包括软件。
软件工程涵盖了软件系统的发展。
1.4.2Testlevels
1.4.2测试级别
Whereassomemodelsfortestprocessimprovementfocusmainlyonhigh-leveltesting,e.g.TPI[Koomenand
Pol]oraddressonlyoneaspectofstructuredtestinge.g.thetestorganization,TheTMMiaddressesall
testlevels(includingstatictesting)andaspectsofstructuredtesting.Withrespecttodynamictesting,
bothlow-leveltestingandhigh-leveltestingarewithinthescopeoftheTMMi.Studyingthemodelmorein
detailonewilllearnthatthemodeladdressesallfourcornerstonesforstructuredtesting(lifecycle,
techniques,infrastructureandorganization)[TMap].
其他模型在测试过程改良方面主要致力于高级别的测试,如TPI[KoomenandPol];或者仅仅定位结构测试的某一个方面,
如测试机构。
TMMi定位多个测试水平(包括静态测试)和结构测试的各个方面。
至于动态测试,低级测试和高级测试都是
TMMi的目标。
研究TMMi细节越多,有一个问题必须了解,这种模型定位了结构测试的4项基石(生命周期,技能,基础结构
和组织)[TMap]。
1.4.3TMMiandCMMI
1.4.3TMMi和CMMI
ItisalsoimportanttonotethatTMMiispositionedasacomplementarymodeltotheCMMI.Inmanycasesa
givenTMMilevelneedsspecificsupportfromprocessareasatitscorrespondingCMMIlevelorfromlower
CMMIlevels.InexceptionalcasesthereisevenarelationshiptohigherCMMIlevels.Processareasand