中国高校课件下载中心 》 教学资源 》 大学文库

四川大学:Object-Oriented Design and Programming(Java,PPT课件)

文档信息
资源类别:文库
文档格式:PPT
文档页数:74
文件大小:747.5KB
团购合买:点击进入团购
内容简介
• Overview of Software Testing • Software Testing Methods • Software Test Types • 2.1 Implementing Classes – 2.1.4 Unit Testing
刷新页面文档预览

四川家性 Object-Oriented Design and Programming (Java)

Object-Oriented Design and Programming (Java)

Topics Covered Today Overview of Software Testing Software Testing methods Software test Types 2. 1 Implementing Classes 2.1.4 Unit Testing

2 Topics Covered Today • Overview of Software Testing • Software Testing Methods • Software Test Types • 2.1 Implementing Classes – 2.1.4 Unit Testing

Overview of Software Testing Purpose of software Testin Role of testers Truths and realities

3 Overview of Software Testing • Purpose of Software Testing • Role of Testers • Truths and Realities

Software Testing Any activity designed to evaluate an attribute or capability of a program to determine that it meets required standards

4 Software Testing • Any activity designed to evaluate an attribute or capability of a program to determine that it meets required standards

Purpose of software Testing Measure Quality Validation i: Prove it works(do the right thing Verification证明: Do it right Provide information To development and management For risk evaluation Watching the process not just the product

5 Purpose of Software Testing • Measure Quality – Validation确认: Prove it works (Do the right thing) – Verification证明: Do it right • Provide information – To development and management – For risk evaluation • Watching the process not just the product

Software Quality Doing the right things right at the right time Conformance to applicable standards Customer focus · Features vs. Flaws Engineering focus Maintainability, sustainability可维护, testability,etc Quality is defined as conformance一致to requirements, not as goodness”or“ elegance Quality also means“ meet customer needs

6 Software Quality • Doing the right things right at the right time • Conformance to applicable standards – Customer focus • Features vs. Flaws – Engineering focus • Maintainability, sustainability可维护, testability, etc. • Quality is defined as conformance一致 to requirements, not as “goodness” or “elegance” • Quality also means “meet customer needs

Role of testers Find bugs Break Software Keep Developers Honest Defect prevention Quality Measurement Drive quality upstream · Customer focus Goal: ensure the quality

7 Role of Testers • Find Bugs • Break Software • Keep Developers Honest • Defect Prevention • Quality Measurement • Drive quality upstream • Customer focus Goal: ensure the quality

Truths and realities The earlier a bug is fixed the less costly it is Before code review by code review by testing By beta testers After product is released Prevention vs. detection The mere act of designing a test is a powerful bug preventer

8 Truths and Realities • The earlier a bug is fixed, the less costly it is. – Before code review – By code review – By testing – By Beta testers – After product is released • Prevention vs. Detection – “The mere act of designing a test is a powerful bug preventer

Truths and realities Thorough Testing vS. Risk-based testing Thorough Testing: testing for everything Risk-based Testing Identify and analyze risks to enable informed and calculated decisions Look for the best use of test resource Risks can be categorized by severity and likelihood

9 Truths and Realities • Thorough Testing vs. Risk-based testing – Thorough Testing: testing for everything – Risk-based Testing • Identify and analyze risks to enable informed and calculated decisions • Look for the best use of test resource • Risks can be categorized by severity and likelihood

Software Testing Methods Black-box Testing White-box Testing Risk-based testing

10 Software Testing Methods • Black-box Testing • White-box Testing • Risk-based Testing

刷新页面下载完整文档
VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
相关文档