| 課程大綱 |
學生學習目標 |
單元學習活動 |
學習成效評量 |
備註 |
| 週 | 單元主題 |
內容綱要 |
| 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. |
|
|
|