- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 248字
- 2021-06-24 18:31:43
Black-box testing
Black-box testing (also known as functional testing) treats software under test as a black box without knowing its internals. Tests use software interfaces and try to ensure that they work as expected. As long as the functionality of interfaces remains unchanged, tests should pass even if internals are changed. The tester is aware of what the program should do, but does not have the knowledge of how it does it. Black-box testing is the most commonly used type of testing in traditional organizations that have testers as a separate department, especially when they are not proficient in coding and have difficulties understanding it. This technique provides an external perspective on the software under test.
Some of the advantages of black-box testing are as follows:
- It is efficient for large segments of code
- Code access, understanding the code, and ability to code are not required
- It offers separation between users and developers perspectives
Some of the disadvantages of black-box testing are as follows:
- It provides limited coverage, since only a fraction of test scenarios is performed
- It can result in inefficient testing due to tester's lack of knowledge about software internals
- It can lead to blind coverage, since testers have limited knowledge about the application
If tests are driving the development, they are often done in the form of acceptance criteria that is later used as a definition of what should be developed.
Automated black-box testing relies on some form of automation, such as behavior-driven development ( BDD).
- Java Web應(yīng)用開發(fā)技術(shù)與案例教程(第2版)
- Visual Basic學(xué)習(xí)手冊
- PySide GUI Application Development(Second Edition)
- Spring Boot Cookbook
- Working with Odoo
- C程序設(shè)計(jì)實(shí)踐教程
- JavaScript腳本特效編程給力起飛
- C語言程序設(shè)計(jì)
- INSTANT Premium Drupal Themes
- 透視C#核心技術(shù):系統(tǒng)架構(gòu)及移動(dòng)端開發(fā)
- Docker on Windows
- MATLAB計(jì)算機(jī)視覺實(shí)戰(zhàn)
- Java入門經(jīng)典
- 給產(chǎn)品經(jīng)理講技術(shù)
- 編程改變生活:用PySide6/PyQt6創(chuàng)建GUI程序(進(jìn)階篇·微課視頻版)