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

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).
主站蜘蛛池模板: 杨浦区| 彭州市| 凤阳县| 台中市| 依兰县| 苗栗县| 宝鸡市| 崇明县| 尼玛县| 井陉县| 称多县| 白河县| 化州市| 葫芦岛市| 拜泉县| 尼木县| 广元市| 湘西| 原阳县| 长治县| 雅江县| 怀仁县| 东阿县| 万安县| 凌云县| 班玛县| 阿勒泰市| 苏尼特右旗| 临漳县| 原平市| 武威市| 那曲县| 泰州市| 兴山县| 湘潭县| 贵州省| 南召县| 孝义市| 武功县| 鹰潭市| 和顺县|