更新时间:2023-01-18 15:48:28
单元测试 - 测试单个单元,例如类中的方法(函数),并模拟所有依赖项.
Unit Test - testing an individual unit, such as a method (function) in a class, with all dependencies mocked up.
功能测试 - 又名集成测试,测试系统中的一部分功能.这将测试许多方法,并可能与数据库或 Web 服务等依赖项进行交互.
Functional Test - AKA Integration Test, testing a slice of functionality in a system. This will test many methods and may interact with dependencies like Databases or Web Services.