测试流程基础庞英@小微金服pangying@alipay.com2013年12月23日阿里技术大讲堂之测试专场思考2在规定的条件下对程序进行操作,以发现程序错误,衡量软件质量,并对其是否能满足设计要求进行评估的过程。测试的最终目的在于控制风险。提纲•测试过程与流程•关键的测试里程碑•测试流程的持续改进测试过程与流程4软件过程模型瀑布模型原型模型(RAD)V模型改进的V模型螺旋模型增量模型和迭代模型构件组装模型并发模型XP模型用V模型诠释软件测试过程W模型测试架构评估和设计测试分析和评审用例设计和评审交付测试集成测试预发布测试发布测试测试流程构成TestManagementProcessesStaticTestProcessesOrganisationalTestProcessDynamicTestProcesses流程PublishedTestSpecification[IssuesidentifiedorScheduledreviewdueorMajororganizationalchange][NoissuesidentifiedwithTestSpecification]DeveloptestspecificationGainconsensusontestspecificationApprovedTestSpecificationPublishtestspecificationReviewtestspecification[Majorrevisionrequired]DraftTestSpecification[Nochangerequired]MonitorandcontroluseoftestspecificationUpdatedTestSpecificationUpdatetestspecification[Minorrevisionrequired]组织测试流程OrganisationalTestProcessTestManagementProcessesStaticTestProcessesTestPlanningTestMonitoring&ControlTestCompletionOrganisationalTestDocumentationFeedbackonOrganisationalTestDocumentationTestPlanUpdatesTestPlanTestCompletionReportTestMeasuresDynamicTestProcessesTestPlan,ControlDirectives(Phase)TestManagementProcessesTestPlan,TestCompletionReport,TestMeasuresTestMeasuresTestPlan,ControlDirectivesTestPlan,ControlDirectives测试管理流程OrganiseTestPlanDevelopmentIdentify&AnalyzeRisksDesignTestStrategyDetermineStaffingandSchedulingDocumentTestPlanSchedule,StaffingProfileTestStrategyAnalysedRisksScopeIdentifyRiskTreatmentApproachesGainConsensusonTestPlanApprovedTestPlanDraftTestPlanTestPlanPublishTestPlanUnderstandContextTreatmentApproaches测试计划流程MonitorReportMeasuresControlSet-Up[TestingComplete][TestingIncomplete]ControlDirectivesTestProgressInformationTestProgressInfoTestPlanTestMeasuresTestStatusReportTestControlInformation...TestProcesses...Dynamic/Static/Management测试监控流程DynamicTestProcessesTestSpecification[NoIssuesNoticed]TestEnvironmentReadinessReportTestEnvironmentRequirementsIncidentReportTestDesign&ImplementationTestEnvironmentSet-upTestExecutionTestIncidentReporting(Phase)TestManagementProcess[IssueNoticedorRetestResult]TestResultsControlDirectivesTestMeasures(Phase)TestPlan动态测试流程StaticTestProcessesPreparationFollow-UpReview(Phase)TestManagementProcessControlDirectivesTestMeasures(Phase)TestPlan静态测试流程测试流程业务分析需求定义架构设计详细设计编程和单元测试系统测试发布/部署开发流程测试流程需求可测试性评审用户沟通测试分析和设计测试策略缺陷跟踪功能测试计划、设计及其评审非功能测试计划测试环境搭建部署验证计划单元测试集成测试测试脚本开发测试调试探索测试测试执行测试结果分析产品质量评估测试报告对敏捷测试流程呢?全过程质量反馈Daily产品Backlog(确定优先级)测试需求测试任务测试计划经过测试、质量可保证的产品回归测试+BVT验收测试测试脚本关键的测试里程碑17关键的里程碑启动需求确认测试计划确认设计规格确认阶段性测试结束单元测试结束测试用例确认产品发布系统测试结束测试流程的持续改进19测试过程改进模型TMM(TestingMaturityModel)TPI(TestProcessImprovement)CTP(CriticalTestProcess)STEP(SystematicTest&EvaluationProcess)TPI结构关键域(Keyareas)水平(Levels)测试成熟度矩阵TestMaturityMatrix过程改进建议检查点(Checkpoints)TPI模型用于支持测试过程的改进,包括了一系列的关键域、生命周期、组织、基础设施、工具及技术,并可以用于了解组织内测试过程的成熟度20个关键过程域I.测试策略(TestStrategy)II.生命周期模型(LifecycleModel)III.介入时间(MomentofInvolvement)IV.估计和计划(EstimatingandPlanning)V.测试规格技术(TestSpecificationTechnique)VI.静态测试技术(StaticTestTechnique)VII.度量(Metric)VIII.测试自动化(TestAutomation)IX.测试环境(TestingEnvironment)X.办公环境(OfficeEnvironment)XI.承诺与动力(CommitmentandMotivation)XII.测试功能与培训(TestFunctionandTraining)XIII.方法的范围(ScopeofMethodology)XIV.沟通(Communication)XV.报告(Reporting)XVI.缺陷管理(DefectManagement)XVII.测试件管理(TestwareManagement)XVIII.测试过程管理(TestProcessManagement)XIX.评估(Evaluation)XX.底层测试(Low-LevelTesting)KeyArea/Scale0123456789101112131TeststrategyABCD2Life-cyclemodelAB3MomentofinvolvementABCD4EstimatingandplanningAB5TestspecificationtechniquesAB6StatictesttechniquesAB7MetricsABCD8TesttoolsABC9TestenvironmentABC10OfficeenvironmentA11CommitmentandmotivationABC12TestfunctionsandtrainingABC13ScopeofmethodologyABC14CommunicationABC15ReportingABCD16DefectmanagementABC17TestwaremanagementABCD18TestprocessmanagementABC19EvaluationAB20Low-leveltestingABCTPImatrix可控的有效的不断优化的TPINext公司的SEPG组织25流程中的角色2627谢谢大家!邮箱:pangying@alipay.com旺旺:庞英来往: