《软件测试》全册配套完整教学课件1.pptx

上传人(卖家):罗嗣辉 文档编号:2152258 上传时间:2022-03-07 格式:PPTX 页数:293 大小:2.71MB
下载 相关 举报
《软件测试》全册配套完整教学课件1.pptx_第1页
第1页 / 共293页
《软件测试》全册配套完整教学课件1.pptx_第2页
第2页 / 共293页
《软件测试》全册配套完整教学课件1.pptx_第3页
第3页 / 共293页
《软件测试》全册配套完整教学课件1.pptx_第4页
第4页 / 共293页
《软件测试》全册配套完整教学课件1.pptx_第5页
第5页 / 共293页
点击查看更多>>
资源描述

1、Principles of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved1软件测试全册配套软件测试全册配套完整教学课件完整教学课件1Principles of Software Testing for TestersModule 0 About This CourseCourse Objectivesw After completing this course, you will be a more knowledgeable software tester. You will

2、 be able to better: Understand and describe the basic concepts of functional (black box) software testing. Identify a number of test styles and techniques and assess their usefulness in your context. Understand the basic application of techniques used to identify useful ideas for tests. Help determi

3、ne the mission and communicate the status of your testing with the rest of your project team. Characterize a good bug report, peer-review the reports of your colleagues, and improve your own report writing. Understand where key testing concepts apply within the context of the Rational Unified Proces

4、s.Intended Audience and Prerequisitesw Intended Audience Software testers, quality engineers and other quality-assurance staff who specifically perform software testing activities Software developers who want to understand the goals and tactics of functional testing, as it will probably be applied t

5、o their software Software managers who need to better understand the goals and methods of the testers who will work on their projectsw Prerequisite Either six months on-the-job testing experience or significant experience in some other software development role.Course Outline0 About This Course1 Sof

6、tware Engineering Practices2 Core Concepts of Software Testing3 The RUP Testing Discipline4 Define Evaluation Mission5 Test and Evaluate6 Analyze Test Failure7 Achieve Acceptable Mission8 The RUP Workflow As ContextCourse Materialsw Student WorkbookThese slides with notesSupplementary papers (e.g. w

7、hite papers, bibliography.)Note: these materials were initially prepared for Rational by Dr. Cem Kaner and are based jointly on his materials and on Rationals support and educational materials for the Rational Unified Process.Other Sources of Informationw Student WorkbookDetailed reference list prov

8、idedw Rational Developer Networkhttp:/w Prof. Cem Kaners web sitehttp:/w Rational Unified ProcessPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved8Principles of Software Testing for TestersModule 1Software Engineering Practices(Some things Testers should

9、 know about them)Principles of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved9Objectivesw Identify some common software development problems.w Identify six software engineering practices for addressing common software development problems.w Discuss how a software e

10、ngineering process provides supporting context for software engineering practices.Principles of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved10Module 1 - Content Outline (Agenda)Software development problemsw Six software engineering practices w Supporting softwar

11、e engineering practices with processPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved11Symptoms of Software Development ProblemsUser or business needs not metRequirements churnModules dont integrateHard to maintainLate discovery of flawsPoor quality or p

12、oor user experiencePoor performance under loadNo coordinated team effortBuild-and-release issuesPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved12Trace Symptoms to Root CausesNeeds not metRequirements churnModules dont fitHard to maintainLate discoveryP

13、oor qualityPoor performanceColliding developers Build-and-releaseIncorrect requirementsAmbiguous communicationsBrittle architectures Overwhelming complexityUndetected inconsistencies Insufficient testingSubjective assessmentWaterfall development Uncontrolled changeInsufficient automationSymptomsRoot

14、 CausesSoftware Engineering PracticesDevelop IterativelyManage RequirementsUse Component Architectures Model Visually (UML)Continuously Verify QualityManage Change Continuously Verify Quality Poor quality Undetected inconsistenciesInsufficient testing Subjective assessment Principles of Software Tes

15、ting for TestersCopyright 2002 Rational Software, all rights reserved13Module 1 - Content Outline (Agenda)w Software development problemsSix software engineering practices w Supporting software engineering practices with processPrinciples of Software Testing for TestersCopyright 2002 Rational Softwa

16、re, all rights reserved14Six software engineering practicesDevelop IterativelyManage RequirementsUse Component ArchitecturesModel Visually (UML)Continuously Verify QualityManage Change Principles of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved15Practice 1: Develo

17、p IterativelyDevelop IterativelyDevelop IterativelyManage RequirementsUse Component ArchitecturesModel Visually (UML)Continuously Verify QualityManage Change Software Engineering PracticesPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved16Waterfall Devel

18、opment Characteristicsw Delays confirmation of critical risk resolution w Measures progress by assessing work-products that are poor predictors of time-to-completionw Delays and aggregates integration and testingw Precludes early deploymentw Frequently results in major unplanned project extensionsDe

19、signSystem TestWaterfall Process Requirements Analysis Code & Unit TestTotal Elapsed TimeIntegrateDesignPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved17Iterative Development Produces an ExecutableInitialPlanningPlanningRequirementsAnalysis & DesignImp

20、lementationDeploymentTestEvaluationManagement&EnvironmentEach iteration results in an executable releasePrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved18Risk ProfilesTimeRiskWaterfall RiskIterative RiskIterative development drives risks out early. Prin

21、ciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved19Practice 2: Manage RequirementsDevelop IterativelyManage RequirementsManage RequirementsUse Component ArchitecturesModel Visually (UML)Continuously Verify QualityManage Change Software Engineering PracticesP

22、rinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved20ProblemSolution SpaceProblem SpaceNeedsFeaturesSoftwareRequirementsTestsDesignUser DocsTraceabilityManage Requirements - Map of the TerritoryPrinciples of Software Testing for TestersCopyright 2002 Ration

23、al Software, all rights reserved21Manage Requirements - Use-Case ConceptsActorUse CaseAn actor represents a person or another system that interacts with the system.A use case defines a sequence of actions a system performs that yields a result of observable value to an actor.Use cases are a rich sou

24、rce for identifying test scenariosPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved22Practice 3: Use Component ArchitecturesSoftware Engineering PracticesDevelop IterativelyManage RequirementsUse Component Use Component ArchitecturesArchitecturesModel Vi

25、sually (UML)Continuously Verify QualityManage Change Principles of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved23Resilient Component-Based Architectures w ResilientMeets current and future requirementsImproves extensibilityEnables reuseEncapsulates system depende

26、nciesw Component-basedReuse or customize components Select from commercially available componentsEvolve existing software incrementallyPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved24Purpose of a Component-Based Architecturew Basis for reuseComponent

27、reuseArchitecture reusew Basis for project managementPlanningStaffingDeliveryw Intellectual controlManage complexityMaintain integrityComponent-based Architecture with layersPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved25Practice 4: Model Visually (U

28、ML)Software Engineering PracticesDevelop IterativelyManage RequirementsUse Component ArchitecturesModel Visually (UML)Model Visually (UML)Continuously Verify QualityManage Change Principles of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved26Why Model Visually?w To

29、help manage complexityTo capture both structure and behaviorTo show how system elements fit togetherTo hide or expose details as appropriate w To keep design and implementation consistentw To promote unambiguous communicationUML provides one language for all practitionersPrinciples of Software Testi

30、ng for TestersCopyright 2002 Rational Software, all rights reserved27Visual Modeling Using UML Diagramsuser : ClerkmainWnd : MainWndfileMgr : FileMgrrepository : Repositorydocument : DocumentgFile : GrpFile9: sortByName ( )L1: Doc view request ( )2: fetchDoc( )5: readDoc ( )7: readFile ( )3: create

31、( )6: fillDocument ( )4: create ( )8: fillFile ( ) Window95- .EXE WindowsNT- .EXEWindowsNT Windows95Solaris-.EXE AlphaUNIX IBM Mainframe-Windows95- DocumentFileManagerGraphicFileFileRepositoryDocumentListFileListusermainWndfileMgr : FileMgrrepositorydocument : DocumentgFile1: Doc view request ( )2:

32、fetchDoc( )3: create ( )4: create ( )5: readDoc ( )6: fillDocument ( )7: readFile ( )8: fillFile ( )9: sortByName ( )- .- - - .- - .Forward and Reverse EngineeringTargetSystemOpenningWritingReadingClosingadd file numberOffile=MAX / flag OFFadd fileclose fileclose fileUse-casediagramClass diagramColl

33、aboration diagramSequence diagramComponent diagramStatechartdiagramGrpFileread( )open( )create( )fillFile( )repRepositoryname : char * = 0readDoc( )readFile( )(from Persistence)FileMgrfetchDoc( )sortByName( )DocumentListadd( )delete( )Documentname : intdocid : intnumField : intget( )open( )close( )r

34、ead( )sortFileList( )create( )fillDocument( )fList1FileListadd( )delete( )1Fileread( )read() fill the code.Deployment diagramActor AUse Case 1Use Case 2Use Case 3Actor B Use-case diagrams outline the system scopePrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights r

35、eserved28Workbook Page: A Sample UML Diagram Use CasesProfessorSelect Courses to TeachStudentCourse CatalogRegister for CoursesMaintain Student InformationMaintain Professor InformationRegistrarBilling SystemClose RegistrationA University Course Registration SystemPrinciples of Software Testing for

36、TestersCopyright 2002 Rational Software, all rights reserved29Practice 5: Continuously Verify QualitySoftware Engineering PracticesDevelop IterativelyManage RequirementsUse Component ArchitecturesModel Visually (UML)Continuously Verify Continuously Verify QualityQualityManage Change Principles of So

37、ftware Testing for TestersCopyright 2002 Rational Software, all rights reserved30Continuously Verify Quality in each IterationA Software Build triggers a cycle of testingPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved31Various disciplines produce Model

38、s Analysis &DesignRequire-mentsBusiness ModelingImplement-ationImplementedByImplementationModelDesign ModelUse-Case ModelBusiness Use-Case ModelBusiness Object ModelRealized ByAutomatedByRealized ByAssessmentVerified ByValidated ByBBBB each of those models is AssessedAssessment Artifacts are part of

39、 and present in all software modelsPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved32Practice 6: Manage Change Software Engineering PracticesDevelop IterativelyManage RequirementsUse Component ArchitecturesModel Visually (UML)Continuously Verify Quality

40、Manage ChangeManage Change Principles of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved33What Do You Want to Control?w Changes to enable iterative development Secure workspaces for each workerParallel development possiblew Automated integration/build managementALER

41、TREPORT WorkspaceManagement Process Integration Parallel Development Build ManagementGood CM practices help to prevent certain types of software errorsPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved34Workbook Page: Aspects of a CM Systemw Change Reques

42、t Management (CRM)w Configuration Status Reportingw Configuration Management (CM)w Change Trackingw Version Selectionw Software ManufacturePrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved35Software Engineering Practices Reinforce Each OtherValidates arc

43、hitectural decisions early onAddresses complexity of design/ implementation incrementallyMeasures quality early and oftenEvolves baselines incrementallyEnsures users involved as requirements evolveDevelop IterativelyDevelop IterativelyManage RequirementsUse Component ArchitecturesModel Visually (UML

44、)Continuously Verify QualityManage Change Software Engineering PracticesPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved36Module 1 - Content Outline (Agenda)w Software development problemsw Six software engineering practices Software engineering process

45、 and software engineering practicesPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved37An Engineering Process Implements Engineering PracticesSoftware Engineering PracticesDevelop IterativelyManage RequirementsUse Component ArchitecturesModel Visually (UM

46、L)Continuously Verify QualityManage Change Software EngineeringProcessPrinciples of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved38A Team-Based Definition of ProcessA process defines Who is doing What When, and How, in order to reach a certain goal. New or changed

47、requirementsNew or changed systemSoftware EngineeringProcessThis course is about the What, When and How of Testers activities in the process.Principles of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved39Workbook Page: Implementing Software Engineering PracticesA mo

48、dern engineering process ideally:w Supports a controlled, iterative approachw Supports the use of user-focused requirements to coordinate and drive the work in requirements, design, implementation and testw Enables architectural concerns to be addressed earlyw Allows the process to be configured to

49、suit the context of the individual projectw Provides guidance for conducting work (activities) and producing work products (artifacts)Principles of Software Testing for TestersCopyright 2002 Rational Software, all rights reserved40Module 1 - Revieww Software engineering practices guide software deve

50、lopment by addressing root causes of problems.w Software engineering practices reinforce each other.w Process guides a team on who does what when and how.w A software engineering process provides context and support for implementing software engineering practices.Principles of Software Testing for T

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

当前位置:首页 > 大学
版权提示 | 免责声明

1,本文(《软件测试》全册配套完整教学课件1.pptx)为本站会员(罗嗣辉)主动上传,163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
2,用户下载本文档,所消耗的文币(积分)将全额增加到上传者的账号。
3, 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(发送邮件至3464097650@qq.com或直接QQ联系客服),我们立即给予删除!


侵权处理QQ:3464097650--上传资料QQ:3464097650

【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。


163文库-Www.163Wenku.Com |网站地图|