← 返回首页

软件测试与质量保证

Software Testing and Quality Assurance

课程介绍 Course Introduction

学分:3 | 先修课:软件工程导论、数据结构 | 学期:第5学期

软件测试与质量保证课程系统讲授软件测试的理论、方法与工具,旨在保障软件质量、降低缺陷率。主要内容包括黑白盒测试、单元测试、集成测试、系统测试、回归测试、性能测试、自动化测试框架(如JUnit、Selenium),以及代码覆盖率分析与持续集成。学生将掌握测试用例设计、缺陷管理流程与质量度量方法。

Software Testing and Quality Assurance systematically covers testing theory, methods, and tools to ensure software quality and reduce defects. Topics include black-box and white-box testing, unit, integration, system, regression, and performance testing, automation frameworks (JUnit, Selenium), coverage analysis, and continuous integration. Students master test case design, defect management, and quality metrics.

大作业 Final Project

作业标题:自动化测试框架

学生需选择一个开源或课程项目,设计并实现一个自动化测试框架,包含单元测试、接口测试与UI测试模块。要求编写至少30个测试用例,达到80%以上代码覆盖率,集成到CI流水线并生成测试报告。提交框架源码、测试用例、覆盖率报告与设计文档。

Students select an open-source or course project and build an automated testing framework with unit, API, and UI testing modules. Requirements include at least 30 test cases, over 80% code coverage, integration with a CI pipeline, and automated test reports. Submit framework source, test cases, coverage report, and design documentation.