Software testing
, May 2016 Software testing is the act of checking whether software meets its intended objectives and satisfies expectations. Software testing can provide objective, independent information about the quality of software and the risk of its failure to a user or sponsor or any other stakeholder. Software testing can determine the correctness of software for specific scenarios but cannot determine correctness for all scenarios. It cannot find all bugs. Based on the criteria for measuring correctness from an oracle, software testing employs principles and mechanisms that might recognize a problem. Examples of oracles include specifications, contracts, comparable products, past versions of the same product, inferences about intended or expected purpose, user or customer expectations, relevant standards, and applicable laws. Software testing can be functional or non-functional in nature. Software testing is often dynamic in nature: running the software to verify actual output matches...
, May 2016 Software testing is the act of checking whether software meets its intended objectives and satisfies expectations. Software testing can provide objective, independent information about the quality of software and the risk of its failure to a user or sponsor or any other stakeholder. Software testing can determine the correctness of software for specific scenarios but cannot determine correctness for all scenarios. It cannot find all bugs. Based on the criteria for measuring correctness from an oracle, software testing employs principles and mechanisms that might recognize a problem. Examples of oracles include specifications, contracts, comparable products, past versions of the same product, inferences about intended or expected purpose, user or customer expectations, relevant standards, and applicable laws. Software testing can be functional or non-functional in nature. Software testing is often dynamic in nature: running the software to verify actual output matches expected. It can also be static in nature: reviewing code and its associated documentation. Software testing is often used to answer the question: Does the software do what it is supposed to do and what it needs to do? Information learned from software testing may be used to improve the process by which software is developed. A commonly suggested approach to automated testing is the "test pyramid," wherein most of the tests are unit tests, followed by a smaller set of integration tests and finally a few end-to-end (e2e) tests. === Metamorphic testing=== Metamorphic testing (MT) is a property-based software testing technique, which can be an effective approach for addressing the test oracle problem and test case generation problem. The test oracle problem is the difficulty of determining the expected outcomes of selected test cases or to determine whether the actual outputs agree with the expected outcomes. ====Test plan==== A test plan is a document detailing the approach that will be taken for intended test activities. The plan may include aspects such as objectives, scope, processes and procedures, personnel requirements, and contingency plans. The test plan could come in the form of a single plan that includes all test types (like an acceptance or system test plan) and planning considerations, or it may be issued as a master test plan that provides an overview of more than one detailed test plan (a plan of a plan). A test plan can be, in some cases, part of a wide "test strategy" which documents overall testing approaches, which may itself be a master test plan or even a separate artifact. ====Traceability matrix==== ====Test case==== A test case normally consists of a unique identifier, requirement references from a design specification, preconditions, events, a series of steps (also known as actions) to follow, input, output, expected result, and the actual result. Clinically defined, a test case is an input and an expected result. This can be as terse as "for condition x your derived result is y", although normally test cases describe in more detail the input scenario and what results might be expected. It can occasionally be a series of steps (but often steps are contained in a separate test procedure that can be exercised against multiple test cases, as a matter of economy) but with one expected result or expected outcome. The optional fields are a test case ID, test step, or order of execution number, related requirement(s), depth, test category, author, and check boxes for whether the test is automatable and has been automated. Larger test cases may also contain prerequisite states or steps, and descriptions. A test case should also contain a place for the actual result. These steps can be stored in a word processor document, spreadsheet, database, or other common repositories. In a database system, you may also be able to see past test results, who generated the results, and what system configuration was used to generate those results. These past results would usually be stored in a separate table. ====Test script==== A test script is a procedure or programming code that replicates user actions. Initially, the term was derived from the product of work created by automated regression test tools. A test case will be a baseline to create test scripts using a tool or a program. ====Test suite==== ====Test fixture or test data==== In most cases, multiple sets of values or data are used to test the same functionality of a particular feature. All the test values and changeable environmental components are collected in separate files and stored as test data. It is also useful to provide this data to the client and with the product or a project. There are techniques to generate Test data. ====Test harness==== The software, tools, samples of data input and output, and configurations are all referred to collectively as a test harness. ====Test run==== A test run is a collection of test cases or test suites that the user is executing and comparing the expected with the actual results. Once complete, a report or all executed tests may be generated.
References
- ^ "Certified Tester Foundation Level Syllabus" (PDF) . International Software Testing Qualifications Board . July 1, 2005. Principle 2, Section 1.3. Archived from the original (PDF) on December 17, 2008 . Retrieved December 15, 2017 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Ramler, Rudolf; Kopetzky, Theodorich; Platz, Wolfgang (April 17, 2012). Combinatorial Test Design in the TOSCA Testsuite: Lessons Learned and Practical Implications . IEEE Fifth International Conference on Software Testing and Validation (ICST). Montreal, QC, Canada. doi : 10.1109/ICST.2012.142 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Kaner, Cem; Bach, James; Pettichord, Bret (2001). Lessons Learned in Software Testing: A Context-Driven Approach . Wiley. pp. 31 –43. ISBN 978-0-471-08112-8 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Kolawa, Adam; Huizinga, Dorota (2007). Automated Defect Prevention: Best Practices in Software Management . Wiley-IEEE Computer Society Press. p. 74. ISBN 978-0-470-04212-0 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ O’Connor, Rory V.; Akkaya, Mariye Umay; Kemaneci, Kerem; Yilmaz, Murat; Poth, Alexander; Messnarz, Richard (October 15, 2015). Systems, Software and Services Process Improvement: 22nd European Conference, EuroSPI 2015, Ankara, Turkey, September 30 -- October 2, 2015. Proceedings . Springer. ISBN 978-3-319-24647-5 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Lee, D.; Netravali, A.N.; Sabnani, K.K.; Sugla, B.; John, A. (1997). "Passive testing and applications to network management". Proceedings 1997 International Conference on Network Protocols . IEEE Comput. Soc. pp. 113– 122. doi : 10.1109/icnp.1997.643699 . ISBN 978-0-8186-8061-8 . S2CID 42596126 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Cem Kaner, " A Tutorial in Exploratory Testing Archived 2013-06-12 at the Wayback Machine ", p.2 Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Cem Kaner, A Tutorial in Exploratory Testing Archived 2013-06-12 at the Wayback Machine , p. 36. Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Lee, D.; Yannakakis, M. (1996). "Principles and methods of testing finite state machines-a survey" . Proceedings of the IEEE . 84 (8): 1090– 1123. Bibcode : 1996IEEEP..84.1090L . doi : 10.1109/5.533956 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Petrenko, A.; Yevtushenko, N. (2011). "Adaptive testing of deterministic implementations specified by nondeterministic FSMs" . In Testing Software and Systems: 23rd IFIP WG 6.1 International Conference, ICTSS 2011, Paris, France, November 7-10 . Lecture Notes in Computer Science. Vol. 7019. Springer Berlin Heidelberg. pp. 162– 178. doi : 10.1007/978-3-642-24580-0_12 . ISBN 978-3-642-24579-4 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Petrenko, A.; Yevtushenko, N. (2014). "Adaptive testing of nondeterministic systems with FSM". In 2014 IEEE 15th International Symposium on High-Assurance Systems Engineering . IEEE. pp. 224– 228. doi : 10.1109/HASE.2014.39 . ISBN 978-1-4799-3466-9 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ As a simple example, the C function int f ( int x ){ return x * x -6 * x + 8 ;} consists of only one statement. All tests against a specification f ( x ) >= 0 will succeed, except if x = 3 happens to be chosen. Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Leitner, Andreas; Ciupa, Ilinca; Oriol, Manuel; Meyer, Bertrand ; Fiva, Arno (September 2007). Contract Driven Development = Test Driven Development – Writing Test Cases (PDF) . ESEC/FSE'07: European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering 2007. Dubrovnik, Croatia . Retrieved December 8, 2017 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ 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 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Bach, James (June 1999). "Risk and Requirements-Based Testing" (PDF) . Computer . 32 (6): 113– 114 . Retrieved August 19, 2008 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Lönnberg, Jan (October 7, 2003). Visual testing of software (PDF) (MSc thesis). Helsinki University of Technology . Retrieved January 13, 2012 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Chima, Raspal. "Visual testing" . TEST Magazine . Archived from the original on July 24, 2012 . Retrieved January 13, 2012 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Kaner, Cem; Falk, Jack; Nguyen, Hung Q. (1999). Testing Computer Software (2nd ed.). Wiley. ISBN 0471358460 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Ammann, Paul; Offutt, Jeff (January 28, 2008). Introduction to Software Testing . Cambridge University Press . p. 215. ISBN 978-0-521-88038-1 . Retrieved November 29, 2017 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Liskin, Olga; Herrmann, Christoph; Knauss, Eric; Kurpick, Thomas; Rumpe, Bernhard; Schneider, Kurt (2012). "Supporting Acceptance Testing in Distributed Software Projects with Integrated Feedback Systems: Experiences and Requirements". 2012 IEEE Seventh International Conference on Global Software Engineering . pp. 84– 93. arXiv : 1409.0402 . doi : 10.1109/ICGSE.2012.34 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Woods, Anthony J. (June 5, 2015). "Operational Acceptance – an application of the ISO 29119 Software Testing standard" (Whitepaper). Capgemini Australia . Retrieved January 9, 2018 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ "Standard Glossary of Terms used in Software Testing" (PDF) . Version 3.1. International Software Testing Qualifications Board . Retrieved January 9, 2018 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Cohn, Mike (2009). Succeeding with Agile: Software Development Using Scrum . Addison-Wesley Professional. ISBN 978-0321579362 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ O'Reilly, Tim (September 30, 2005). "What is Web 2.0" . O'Reilly Media. Section 4. End of the Software Release Cycle . Retrieved January 11, 2018 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Miller, Barton P.; Fredriksen, Lars; So, Bryan (1990). "An empirical study of the reliability of UNIX utilities". Communications of the ACM . 33 (12): 32– 44. doi : 10.1145/96267.96279 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Taqi, Farwa; Batool, Syeda Hina; Arshad, Alia (May 23, 2024). "Development and Validation of Cloud Applications Usability Development Scale" . International Journal of Human–Computer Interaction . 41 (7): 4376– 4391. doi : 10.1080/10447318.2024.2351715 . ISSN 1044-7318 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ "Section 4.38". ISO/IEC/IEEE 29119-1:2013 – Software and Systems Engineering – Software Testing – Part 1 – Concepts and Definitions . International Organization for Standardization . Retrieved January 17, 2018 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ "Globalization Step-by-Step: The World-Ready Approach to Testing. Microsoft Developer Network" . Microsoft Developer Network. Archived from the original on June 23, 2012 . Retrieved January 13, 2012 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Claessen, Koen; Hughes, John (2000). "QuickCheck" . Proceedings of the fifth ACM SIGPLAN international conference on Functional programming . Icfp '00. pp. 268– 279. doi : 10.1145/351240.351266 . ISBN 978-1-58113-202-1 . S2CID 5668071 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Molina, Alessandro (2021). Crafting Test-Driven Software with Python: Write test suites that scale with your applications' needs and complexity using Python and PyTest . Packt Publishing. ISBN 978-1838642655 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ "What is Contract Testing and its Significance?" . BrowserStack . Retrieved November 15, 2025 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Fowler, Martin. "bliki: Contract Test" . martinfowler.com . Retrieved November 15, 2025 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Baqar, Mohammad; Khanda, Rajat (2025). Intelligent Computing . Lecture Notes in Networks and Systems. Vol. 1424. arXiv : 2409.05808 . doi : 10.1007/978-3-031-92605-1 . ISBN 978-3-031-92604-4 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Ricca, Filippo; Marchetto, Alessandro; Stocco, Andrea (August 12, 2024). "A Multi-Year Grey Literature Review on AI-assisted Test Automation". arXiv : 2408.06224 [ cs.SE ]. Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Amalfitano, Domenico; Faralli, Stefano; Hauck, Jean Carlo Rossa; Matalonga, Santiago; Distante, Damiano (2023). "Artificial Intelligence Applied to Software Testing: A Tertiary Study". ACM Computing Surveys . 56 (3): 1– 38. doi : 10.1145/3616372 . hdl : 11573/1689760 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Smith, Larry (September 2001). "Shift-Left Testing" . Dr. Dobb's Journal . 26 (9): 56–ff . Retrieved June 19, 2026 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ "Implementation of the Shift Left paradigm: impact on software quality and testing efficiency" . July 25, 2025 . Retrieved June 19, 2026 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Andriadi, Kus; Soeparno, Haryono; Gaol, Ford Lumban; Arifin, Yulyani (2023). "The Impact of Shift-Left Testing to Software Quality in Agile Methodology: A Case Study". 2023 International Conference on Information Management and Technology (ICIMTech) . pp. 259– 264. Bibcode : 2023cimt.conf...56A . doi : 10.1109/ICIMTech59029.2023.10277919 . ISBN 979-8-3503-2609-3 . S2CID 264294801 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Gelperin, David ; Hetzel, Bill (June 1, 1988). "The growth of software testing" . Communications of the ACM . 31 (6): 687– 695. doi : 10.1145/62959.62965 . S2CID 14731341 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Gregory, Janet; Crispin, Lisa (2014). More Agile Testing . Addison-Wesley Professional. pp. 23– 39. ISBN 978-0-13-374956-4 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Fernandes da Costa, Lucas (2021). Testing JavaScript Applications . Manning. ISBN 978-1617297915 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ "Software Testing Lifecycle" . etestinghub . Testing Phase in Software Testing . Retrieved January 13, 2012 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Dustin, Elfriede (2002). Effective Software Testing . Addison-Wesley Professional. p. 3. ISBN 978-0-201-79429-8 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ "Test-Driven Development and Continuous Integration for Mobile Applications" . Microsoft Developer Network . January 14, 2009 . Retrieved March 17, 2018 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Brown, Chris; Cobb, Gary; Culbertson, Robert (April 12, 2002). Introduction to Rapid Software Testing . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ IEEE (1998). IEEE standard for software test documentation . New York: IEEE. ISBN 978-0-7381-1443-9 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Pinto, Leandro Sales; Sinha, Saurabh; Orso, Alessandro (November 11, 2012). "Understanding myths and realities of test-suite evolution" . Proceedings of the ACM SIGSOFT 20th International Symposium on the Foundations of Software Engineering . Association for Computing Machinery. pp. 1– 11. doi : 10.1145/2393596.2393634 . ISBN 9781450316149 . S2CID 9072512 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Strom, David (July 1, 2009). "We're All Part of the Story" . Software Test & Performance Collaborative. Archived from the original on August 31, 2009. Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ "The Economic Impacts of Inadequate Infrastructure for Software Testing" (PDF) . National Institute of Standards and Technology . May 2002 . Retrieved December 19, 2017 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Griffiths, M. (2005). "Teaching agile project management to the PMI". Agile Development Conference (ADC'05) . ieee.org. pp. 318– 322. doi : 10.1109/ADC.2005.45 . ISBN 978-0-7695-2487-0 . S2CID 30322339 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Willison, John S. (April 2004). "Agile Software Development for an Agile Force" . CrossTalk (April 2004). STSC. Archived from the original on October 29, 2005. Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Berg, Helene; Ritschel, Jonathan D. (July 2023). "The characteristics of successful military IT projects: a cross-country empirical study" . International Journal of Information Systems and Project Management . 11 (2): 25– 44. doi : 10.12821/ijispm110202 . ISSN 2182-7788 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ An example is Mark Fewster, Dorothy Graham: Software Test Automation. Addison Wesley, 1999, ISBN 978-0-201-33140-0 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ "stop29119" . commonsensetesting.org . Archived from the original on October 2, 2014. Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Paul Krill (August 22, 2014). "Software testers balk at ISO 29119 standards proposal" . InfoWorld . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Kaner, Cem (2001). "NSF grant proposal to 'lay a foundation for significant improvements in the quality of academic and commercial courses in software testing' " (PDF) . Archived from the original (PDF) on November 27, 2009 . Retrieved October 13, 2006 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ Kaner, Cem (2003). Measuring the Effectiveness of Software Testers (PDF) . STAR East. Archived from the original (PDF) on March 26, 2010 . Retrieved January 18, 2018 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ McConnell, Steve (2004). Code Complete (2nd ed.). Microsoft Press. p. 29 . ISBN 978-0-7356-1967-8 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ a b c "ISTQB CTFL Syllabus 2018" (PDF) . ISTQB - International Software Testing Qualifications Board . Archived (PDF) from the original on March 24, 2022 . Retrieved April 11, 2022 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
- ^ a b "What is Test Driven Development (TDD)?" . Agile Alliance . December 5, 2015 . Retrieved March 17, 2018 . Wikipedia revision 1378932017, retrieved 2026-11-21 · 1795215600.0
Cite this
"Software testing". 1791324536. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1378932017