- Mastering Software Testing with JUnit 5
- Boni García
- 281字
- 2021-07-02 15:34:24
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
推薦閱讀
- Debian 7:System Administration Best Practices
- 編程卓越之道(卷3):軟件工程化
- HTML5+CSS3基礎(chǔ)開(kāi)發(fā)教程(第2版)
- MATLAB 2020 從入門到精通
- Python高級(jí)機(jī)器學(xué)習(xí)
- Kotlin開(kāi)發(fā)教程(全2冊(cè))
- Lift Application Development Cookbook
- Learning Android Application Testing
- Arduino機(jī)器人系統(tǒng)設(shè)計(jì)及開(kāi)發(fā)
- Drupal 8 Development:Beginner's Guide(Second Edition)
- Python全棧開(kāi)發(fā):基礎(chǔ)入門
- Mastering PowerCLI
- Raspberry Pi Blueprints
- Elasticsearch搜索引擎構(gòu)建入門與實(shí)戰(zhàn)
- Java 9:Building Robust Modular Applications