Black-box testing

Short description: Method of software testing

Black-box testing is a method of software testing that examines the functionality of an application without peering into its internal structures or workings. This method of test can be applied virtually to every level of software testing: unit, integration, system and acceptance. It is sometimes referred to as specification-based testing.[1]

## Contents

* 1 Test procedures
* 1.1 Test cases
* 1.2 Test design techniques
* 2 Hacking
* 3 See also
* 4 References
* 5 External links

## Test procedures

Specific knowledge of the application's code, internal structure and programming knowledge in general is not required.[2] The tester is aware of what the software is supposed to do but is not aware of how it does it. For instance, the tester is aware that a particular input returns a certain, invariable output but is not aware of how the software produces the output in the first place.[3]

### Test cases

Test cases are built around specifications and requirements, i.e., what the application is supposed to do. Test cases are generally derived from external descriptions of the software, including specifications, requirements and design parameters. Although the tests used are primarily functional in nature, non-functional tests may also be used. The test designer selects both valid and invalid inputs and determines the correct output, often with the help of a test oracle or a previous result that is known to be good, without any knowledge of the test object's internal structure.

### Test design techniques

Typical black-box test design techniques include:[4]

* Decision table testing
* All-pairs testing
* Equivalence partitioning
* Boundary value analysis
* Cause–effect graph
* Error guessing
* State transition testing
* Use case testing
* User story testing
* Domain analysis
* Syntax testing
* Combining technique

## Hacking

In penetration testing, black-box testing refers to a method where an ethical hacker has no knowledge of the system being attacked. The goal of a black-box penetration test is to simulate an external hacking or cyber warfare attack.

## See also

* ABX test
* Acceptance testing
* Blind experiment
* Boundary testing
* Fuzz testing
* Gray box testing
* Metasploit Project
* Sanity testing
* Smoke testing
* Software performance testing
* Software testing
* Stress testing
* Test automation
* Unit testing
* Web application security scanner
* White hat hacker
* White-box testing

## References

1. ↑ Jerry Gao; H.-S. J. Tsao; Ye Wu (2003). Testing and Quality Assurance for Component-based Software. Artech House. pp. 170–. ISBN 978-1-58053-735-3. https://books.google.com/books?id=VoCX09hOsCoC&pg=PA170.
2. ↑ Milind G. Limaye (2009). Software Testing. Tata McGraw-Hill Education. pp. 216. ISBN 978-0-07-013990-9. https://books.google.com/books?id=zUm8My7SiakC&pg=PA216.
3. ↑ Patton, Ron (2005). Software Testing (2nd ed.). Indianapolis: Sams Publishing. ISBN 978-0672327988. https://archive.org/details/softwaretesting0000patt.
4. ↑ Forgács, István; Kovács, Attila (2019). Practical Test Design: Selection of Traditional and Automated Test Design Techniques. ISBN 1780174721.

## External links

* BCS SIGIST (British Computer Society Specialist Interest Group in Software Testing): Standard for Software Component Testing, Working Draft 3.4, 27. April 2001.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Black-box testing. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Black-box_testing&oldid=3292139"