Black-box testing

Black box systems
System
Black box, Oracle machine
Methods and techniques
Black-box testing, Blackboxing
Related techniques
Feed forward, Obfuscation, Pattern recognition, White box, White-box testing, Gray-box testing, System identification
Fundamentals
A priori information, Control systems, Open systems, Operations research, Thermodynamic systems

Black-box testing, sometimes referred to as specification-based testing,[1] 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. Black-box testing is also used as a method in penetration testing, where an ethical hacker simulates an external hacking or cyber warfare attack with no knowledge of the system being attacked.

Test procedures

Specification-based testing aims to test the functionality of software according to the applicable requirements.[2] This level of testing usually requires thorough test cases to be provided to the tester, who then can simply verify that for a given input, the output value (or behavior), either "is" or "is not" the same as the expected value specified in the test case.

Example of a black box model where a certain input produces a certain output

Specific knowledge of the application's code, internal structure and programming knowledge in general is not required.[3] 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.[4]

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 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, and syntax testing.[5][6]

Test coverage

Test coverage refers to the percentage of software requirements that are tested by black-box testing for a system or application.[7] This is in contrast with code coverage, which examines the inner workings of a program and measures the degree to which the source code of a program is executed when a test suite is run.[8] Measuring test coverage makes it possible to quickly detect and eliminate defects, to create a more comprehensive test suite. and to remove tests that are not relevant for the given requirements.[8][9]

Effectiveness

Black-box testing may be necessary to assure correct functionality, but it is insufficient to guard against complex or high-risk situations.[10] An advantage of the black box technique is that no programming knowledge is required. Whatever biases the programmers may have had, the tester likely has a different set and may emphasize different areas of functionality. On the other hand, black-box testing has been said to be "like a walk in a dark labyrinth without a flashlight."[11] Because they do not examine the source code, there are situations when a tester writes many test cases to check something that could have been tested by only one test case or leaves some parts of the program untested.

See also

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.
  2. ^ Laycock, Gilbert T. (1993). The Theory and Practice of Specification Based Software Testing (PDF) (dissertation thesis). Department of Computer Science, University of Sheffield. Retrieved January 2, 2018.
  3. ^ Milind G. Limaye (2009). Software Testing. Tata McGraw-Hill Education. p. 216. ISBN 978-0-07-013990-9.
  4. ^ Patton, Ron (2005). Software Testing (2nd ed.). Indianapolis: Sams Publishing. ISBN 978-0672327988.
  5. ^ Forgács, István; Kovács, Attila (2019). Practical Test Design: Selection of Traditional and Automated Test Design Techniques. ISBN 978-1780174723.
  6. ^ Black, R. (2011). Pragmatic Software Testing: Becoming an Effective and Efficient Test Professional. John Wiley & Sons. pp. 44–6. ISBN 978-1-118-07938-6.
  7. ^ IEEE Standard Glossary of Software Engineering Terminology (Technical report). IEEE. 1990. 610.12-1990.
  8. ^ a b "Code Coverage vs Test Coverage". BrowserStack. Retrieved 2024-04-13.
  9. ^ Andrades, Geosley (2023-12-16). "Top 8 Test Coverage Techniques in Software Testing". ACCELQ Inc. Retrieved 2024-04-13.
  10. ^ Bach, James (June 1999). "Risk and Requirements-Based Testing" (PDF). Computer. 32 (6): 113–114. Retrieved August 19, 2008.
  11. ^ Savenkov, Roman (2008). How to Become a Software Tester. Roman Savenkov Consulting. p. 159. ISBN 978-0-615-23372-7.

Read other articles:

Charles Rigault de GenouillyCharles Rigault de GenouillyLahir1807Rochefort, PrancisMeninggal1873Barcelona, SpanyolPengabdian PrancisDinas/cabang Angkatan Laut PrancisPangkatLaksamana PrancisPerang/pertempuranPemboman TouranePerang KrimeaPerang Candu KeduaKampanye Cochinchina Laksamana Pierre-Louis-Charles Rigault de Genouilly (12 April 1807 – 4 Mei 1873) merupakan seorang perwira angkatan laut Prancis. Dia berperang dengan istimewa dalam Perang Krimea dan Perang Candu Kedua, tetap...

 

Basilika Santa Maria dari Para MalaikatBasilika Minor Santa Maria dari Para MalaikatInggris: St Mary of the Angels Basilicacode: en is deprecated Basilika Santa Maria dari Para MalaikatBasilika Santa Maria dari Para Malaikat38°09′10″S 144°21′38″E / 38.15278°S 144.36056°E / -38.15278; 144.36056Koordinat: 38°09′10″S 144°21′38″E / 38.15278°S 144.36056°E / -38.15278; 144.36056LokasiYarra Street, Geelong, VictoriaNegara A...

 

Laomedeia (satelit) adalah satelit alami dari planet Neptunus. Neptunus memiliki empat belas bulan yang diketahui, sejauh ini yang terbesar adalah Triton, ditemukan oleh William Lassell pada tanggal 10 Oktober 1846, hanya 17 hari setelah penemuan Neptunus sendiri. Referensi http://solarsystem.nasa.gov/planets/profile.cfm?Object=Neptune&Display=Moons Diarsipkan 2007-06-09 di Wayback Machine. lbsSatelit NeptunusUmumnya diurutkan dari jarak yang terdekat dengan NeptunusReguler (dalam) Naiad...

Winnie LightnerLightner pada 1930LahirWinifred Josephine Reeves(1899-09-17)17 September 1899Greenport, New York, A.S.Meninggal5 Maret 1971(1971-03-05) (umur 71)Sherman Oaks, California, A.S.MakamSan Fernando Mission Cemetery, Mission Hills, Los Angeles County California US[1]Tahun aktif1922–1934Suami/istriGeorge HoltryJohn PatrickWilliam Harold Roy Del Ruth ​ ​(m. 1934; his death 1961)​AnakThomas Del Ruth Winnie Lightner (ne...

 

Indian Composer and Actor G. V. Prakash KumarPrakash in 2015Born (1987-06-13) 13 June 1987 (age 36)[1]Madras, Tamil Nadu, India (present-day Chennai)[2]OccupationsActorcomposerPlayback singerFilm producerSpouse Saindhavi ​(m. 2013)​Children1ParentsG. Venkatesh (father)A. R. Reihana (mother)RelativesA. R. Rahman (uncle)Bhavani Sre (sister)Musical careerGenresFilm scoreInstrument(s)Guitarkeyboardpianovocalsfolk instrumentsdrumsYears active2005...

 

Mesin Pratt & Whitney PW1000G Pratt & Whitney PW1000G adalah sebuah keluarga mesin high-bypass geared turbofan, yang saat ini dipilih sebagai mesin eksklusif untuk Airbus A220, Mitsubishi SpaceJet, dan E-Jets generasi kedua Embraer, dan sebagai opsi pada Irkut MC-21 dan Airbus A320neo. Proyek ini sebelumnya dikenal sebagai Geared Turbofan (GTF), dan awalnya Advanced Technology Fan Integrator (ATFI). Mesin tersebut diharapkan dapat mengurangi penggunaan bahan bakar dan kebisingan di da...

العلاقات المكسيكية الكازاخستانية المكسيك كازاخستان   المكسيك   كازاخستان تعديل مصدري - تعديل   العلاقات المكسيكية الكازاخستانية هي العلاقات الثنائية التي تجمع بين المكسيك وكازاخستان.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية ...

 

Statistical analysis of written publications An example of a cocitation network commonly used in bibliometrics analysis Information science General aspects Access Architecture Behavior Management Retrieval Seeking Society Knowledge organization Ontology Philosophy Science and technology studies Taxonomy Related fields and subfields Bibliometrics Categorization Censorship Classification Computer data storage Cultural studies Data modeling Informatics Information technology Intellectual freedom...

 

Untuk pemerintahan dari tahun 2004 hingga 2021, lihat Republik Islam Afganistan. Keamiran Islam Afganistanد افغانستان اسلامي امارت Də Afġānistān Islāmī Imārat (Pashtun) امارت اسلامی افغانستان Imārat-i Islāmi-yi Afghānistān (Dari) Bendera Lambang Semboyan:  Arab: لا إله إلا الله محمد رسول الله Transliterasi: Lā ilāhā illā-llāhu; muhammadun rasūlu-llāhi(Tidak ada Tuhan selain Allah; Muhammad adalah utusan Al...

Cliff Curtis al San Diego Comic-Con International nel 2016 Clifford Vivian Devon Curtis, detto Cliff (Rotorua, 27 luglio 1968), è un attore neozelandese. Indice 1 Biografia 2 Filmografia 2.1 Cinema 2.2 Televisione 3 Doppiatori italiani 4 Note 5 Altri progetti 6 Collegamenti esterni Biografia Nato e cresciuto a Rotorua, una città della Baia dell'Abbondanza (una regione neozelandese sita sull'Isola del Nord), in una famiglia numerosa d'etnia maori,[1][2] è figlio di un baller...

 

2015 studio album by The FratellisEyes Wide, Tongue TiedStudio album by The FratellisReleased21 August 2015RecordedNovember 2014GenreAlternative rockLength44:58LabelCooking VinylProducerTony HofferThe Fratellis chronology We Need Medicine(2013) Eyes Wide, Tongue Tied(2015) In Your Own Sweet Time(2018) Singles from Eyes Wide, Tongue Tied Baby Don't You Lie to MeReleased: 29 June 2015 Impostors (Little by Little)Released: 12 September 2015 Eyes Wide, Tongue Tied is the fourth album by ...

 

此條目可参照英語維基百科相應條目来扩充。 (2021年5月6日)若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记{{Translated page}}标签。 约翰斯顿环礁Kalama Atoll 美國本土外小島嶼 Johnston Atoll 旗幟颂歌:《星條旗》The Star-Spangled Banner約翰斯頓環礁...

Questa voce o sezione sull'argomento scienza è priva o carente di note e riferimenti bibliografici puntuali. Sebbene vi siano una bibliografia e/o dei collegamenti esterni, manca la contestualizzazione delle fonti con note a piè di pagina o altri riferimenti precisi che indichino puntualmente la provenienza delle informazioni. Puoi migliorare questa voce citando le fonti più precisamente. Segui i suggerimenti del progetto di riferimento. La futurologia (anche nota come futures studie...

 

Gabriel Appelt Nazionalità  Brasile Altezza 187 cm Peso 80 kg Calcio Ruolo Centrocampista Squadra  Fluminense CarrieraGiovanili ????-2008 Vasco da Gama2008-2011 Resende2011-2012 JuventusSquadre di club1 2011 Resende0 (0)[1]2011-2012 Juventus0 (0)2012-2013→  Pro Vercelli25 (1)2013-2014→  Spezia18 (0)2014-2015→  Pescara13 (0)2015→  Livorno17 (1)2015-2018 Leganés100 (17)2018-2021 Benfica39 (3)2021-2022→  A...

 

بلدة ميتز الإحداثيات 45°15′14″N 83°48′48″W / 45.253888888889°N 83.813333333333°W / 45.253888888889; -83.813333333333   [1] تقسيم إداري  البلد الولايات المتحدة[2]  التقسيم الأعلى مقاطعة بريسك  خصائص جغرافية  المساحة 35.8 ميل مربع  ارتفاع 238 متر  عدد السكان  عدد السكان 280 (1 أ...

22nd UEFA European U-21 Championship 2019 UEFA European Under-21 ChampionshipCampionato europeo di calcio Under-21 2019Tournament detailsHost countriesItalySan MarinoDates16–30 June[1]Teams12 (from 1 confederation)Venue(s)6 (in 6 host cities)Final positionsChampions Spain (5th title)Runners-up GermanyTournament statisticsMatches played21Goals scored78 (3.71 per match)Attendance214,637 (10,221 per match)Top scorer(s) Luca Waldschmidt (7 goals)Best p...

 

Cone- or frustum-shaped gears for shafts whose axes intersect This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Bevel gear – news · newspapers · books · scholar · JSTOR (January 2020) (Learn how and when to remove this message) Bevel gears are gears where the axes of the two shafts intersect and the tooth-bear...

 

Comité de liaison enseignants et astronomesCadreSigle CLEAType Organisation à but non lucratifForme juridique Association déclaréeDomaines d'activité Astronomie, formation continue d'adultesObjectif Promotion de l'enseignement de l'astronomie à tous les niveaux de l'enseignementPays  FranceOrganisationSite web www.clea-astro.euIdentifiantsRNA W913000020SIREN 411679160TVA européenne FR27411679160OpenCorporates fr/411679160modifier - modifier le code - modifier Wikidata Le Comité d...

American technology company Palo Alto Networks, Inc.Headquarters in Santa Clara, CaliforniaCompany typePublicTraded asNasdaq: PANWNasdaq-100 componentS&P 500 componentIndustryNetwork securityCybersecurity[1]Cloud Computing[2]Founded2005; 19 years ago (2005)FounderNir ZukHeadquartersSanta Clara, California, U.S.Area servedWorldwideKey peopleNikesh Arora (CEO)ProductsPA 220, 4x0, 8x0, 32x0, 34x0, 54x0, 70x0, VM, CN firewall series[3]Prisma SASE...

 

Lanskap Vinantes (2017). VinantesNegaraPrancisArondisemenMeauxKantonDammartin-en-GoëleAntarkomuneCommunauté de communes de la Plaine de FrancePemerintahan • Wali kota (2008-2014) Denis Pisowicz • Populasi1287Kode INSEE/pos77525 / 2 Population sans doubles comptes: penghitungan tunggal penduduk di komune lain (e.g. mahasiswa dan personil militer). Vinantes merupakan sebuah komune di departemen Seine-et-Marne di region Île-de-France di utara-tengah Prancis. Demog...