教學大綱表
請遵守智慧財產權,勿使用非法影印教科書,避免觸法。
課程名稱 (中文) 軟體測試與驗證
(英文) Software Testing And Verification
開課單位 資訊工程研究所
課程代碼 I5420
授課教師 包蒼龍
學分數 3.0 必/選修 選修 開課年級 研究所
先修科目或先備能力:程式設計
課程概述與目標:This course introduces the principles, methods, and practices of software testing and verification, preparing students for roles as software test engineers and test managers. Topics include fundamental testing concepts, static analysis, test coverage criteria, testing techniques, and the selection and use of testing tools. Students also learn to organize testing teams and plan, monitor, control, and evaluate testing projects. Practical exercises develop hands-on skills in program testing and tool application.
教科書 自編教材
參考教材 軟體測試實務:業界成功案例與高效實踐 [I],主編 李信杰,博碩文化,2024年8月
圖書館電子書 軟體測試實務 [電子資源] : 業界成功案例與高效實踐. [I] 初版,https://sirsi.ttu.edu.tw/uhtbin/cgisirsi/?ps=pW8MutyocW/x/X/123#
課程大綱 學生學習目標 單元學習活動 學習成效評量 備註
週 單元主題 內容綱要
1 Introduction to Software Testing Testing purposes, basic principles, terminology, and the roles of test engineers and managers. Explain the purpose of testing; distinguish errors, defects, and failures; describe testing responsibilities.  
2 Verification and Validation Verification and validation concepts, software development life cycles, and corresponding testing activities. Distinguish verification from validation; map verification and testing activities to development stages.  
3 Software Testing and Quality Assurance Software quality attributes, quality assurance, quality control, and process improvement. Explain the relationships among quality assurance, quality control, and testing; identify relevant software quality attributes.  
4 Test Planning and Management Test scope, risk assessment, resources, schedules, team organization, entry and exit criteria, and progress monitoring. Develop a basic test plan; prioritize testing according to risk; define responsibilities and completion criteria.  
5 Fundamentals of Test Design Test conditions, test cases, test data, expected results, test oracles, and requirements traceability. Derive test cases from requirements; specify expected results; establish traceability between requirements and tests.  
6 Testing Levels and Integration Strategies Unit, integration, system, and acceptance testing; top-down and bottom-up integration; stubs, drivers, and mocks. Differentiate testing levels; select an integration strategy; explain how test doubles support isolated testing.  
7 Static Verification: Reviews and Inspections Requirements and design reviews, code walkthroughs, formal inspections, review roles, and checklists. Conduct a structured review; identify defects without executing software; document review findings and corrective actions.  
8 Midterm Examination and Review Assessment and discussion of testing fundamentals, quality assurance, test planning, test design, and static verification. Demonstrate understanding of foundational concepts; apply appropriate methods to short scenarios; identify areas for improvement.  
9 Static Analysis Approaches Coding standards, control flow, data flow, common defect patterns, and static analysis tools. Use a static analysis tool; interpret findings and assess false positives; recommend appropriate corrections.  
10 Black-Box Testing I Equivalence partitioning and boundary value analysis for input validation and functional requirements. Identify valid and invalid equivalence classes; design boundary tests; justify test data selection.  
11 Black-Box Testing II Decision table and state transition testing for business rules and state-dependent behavior. Construct decision tables and state models; derive tests for rule combinations and valid or invalid transitions.  
12 White-Box Testing Control flow graphs, statement coverage, branch coverage, condition coverage, and path testing limitations. Construct a simple control flow graph; design tests for selected coverage criteria; interpret coverage results and limitations.  
13 Test Effectiveness and Regression Testing Mutation testing, regression test selection, test prioritization, and test suite maintenance. Assess test effectiveness using mutation results; select regression tests after changes; improve tests that miss defects.  
14 Nonfunctional and Security Testing Performance, usability, and security testing fundamentals; test environments, metrics, and tool selection. Define measurable nonfunctional test objectives; select suitable tools; interpret results and recommend improvements.  
15 Test Automation and Project Workshop Automated test execution, assertions, fixtures, defect reporting, and practical testing project development. Implement repeatable automated tests; produce reproducible defect reports; summarize project results against the test plan.  
16 Final Project Presentations and Assessment Demonstration of testing methods, tools, coverage, defects, results, and testing process evaluation. Present evidence-based testing conclusions; evaluate achievement of test objectives; recommend product and process improvements.  

教學要點概述:
教材編選: □ 自編教材   □ 教科書作者提供
評量方法:
教學資源: □ 教材電子檔   □ 課程網站

資料庫查詢失敗,請重試,若問題仍在,請通知電算中心。