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

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).
主站蜘蛛池模板: 延吉市| 镇坪县| 刚察县| 惠水县| 珲春市| 红河县| 金华市| 汝城县| 扎鲁特旗| 德庆县| 新竹市| 上栗县| 钟山县| 玛沁县| 宜川县| 临泽县| 嫩江县| 桑植县| 博兴县| 闽侯县| 宝清县| 朝阳区| 北京市| 白朗县| 广安市| 饶平县| 宁德市| 会东县| 佛山市| 龙海市| 怀来县| 高尔夫| 岑溪市| 滦南县| 惠水县| 四平市| 织金县| 乌拉特中旗| 建昌县| 邵阳县| 昌宁县|