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

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).
主站蜘蛛池模板: 尚志市| 松江区| 合山市| 额敏县| 镇远县| 拉孜县| 泰宁县| 施秉县| 黔江区| 高台县| 沂水县| 红河县| 顺义区| 万宁市| 朔州市| 浏阳市| 会宁县| 大悟县| 武乡县| 上饶市| 周宁县| 绥宁县| 团风县| 巴林右旗| 襄汾县| 会昌县| 崇阳县| 靖宇县| 上高县| 兴和县| 循化| 江华| 扶绥县| 蚌埠市| 宁晋县| 江孜县| 尖扎县| 松桃| 赤峰市| 葫芦岛市| 泰和县|