官术网_书友最值得收藏!

Testing levels

Depending on the size of the SUT and the scenario in which it is exercised, testing can be carried out at different levels. In this book, we classify the different testing levels in four phases:

  • Unit testing: Here, individual program units are tested. Unit testing should focus on the functionality of objects or methods.
  • Integration testing: Here, units are combined to create composite components. Integration testing should focus on testing components, interfaces.
  • System testing: Here, all of the components are integrated and the system is tested as a whole.
  • Acceptance testing: Here, consumers decide whether or not the system is ready to be deployed in the consumer environment. It can be seen as a high-level functional testing performed at system level by final users or customers.
There is no universal classification in the many different forms of testing. Regarding testing levels, in this book, we use the aforementioned classification of four levels. Nevertheless, other levels or approaches are present in the literature (for example, system integration testing or regression testing). In the last part of this section, we can find a review of different testing approaches.

The first three levels (unit, integration, and system) are typically carried out during the development phases of the software life cycle. These tests are typically performed by different roles of software engineers (that is, programmers, testers, QA team, and so on). The objective of these tests is the verification of the system. On the other side, the fourth level (acceptance) is a type of user testing, in which potential or real users are usually involved (validation). The following picture provides a graphical description of these concepts:

Testing levels and its relationship with V&V
主站蜘蛛池模板: 嘉兴市| 尚义县| 屏山县| 西宁市| 双柏县| 长宁县| 张掖市| 昂仁县| 灵石县| 宣威市| 青阳县| 铜梁县| 金川县| 四会市| 和硕县| 哈巴河县| 闸北区| 沈阳市| 银川市| 天峨县| 平遥县| 阿图什市| 宜兰市| 汝阳县| 怀集县| 公安县| 汉源县| 昌乐县| 三原县| 喀喇沁旗| 大关县| 浮山县| 连平县| 银川市| 神池县| 临安市| 新绛县| 湖口县| 景泰县| 阜阳市| 平潭县|