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

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).
主站蜘蛛池模板: 达拉特旗| 石屏县| 明溪县| 桐梓县| 瑞安市| 安塞县| 将乐县| 南平市| 温泉县| 永年县| 天长市| 资阳市| 昌黎县| 唐山市| 图们市| 岱山县| 霍邱县| 建湖县| 呼和浩特市| 远安县| 商水县| 兴国县| 巴彦淖尔市| 余江县| 黎城县| 长治市| 客服| 英吉沙县| 天柱县| 中山市| 本溪市| 阳城县| 辰溪县| 成安县| 鱼台县| 隆德县| 万安县| 阿拉尔市| 漯河市| 鹤山市| 大兴区|