Foundations of Software Testing
Chapter 1: Preliminaries
Aditya P. Mathur
Purdue University
These slides are copyrighted. They are for use with the Foundations of Software Testing book by Aditya Mathur. Please use the slides but do not remove the copyright notice.
Last update: September 3, 2007
Learning Objectives
Errors, Testing, debugging, test process, CFG, correctness, reliability, oracles. Finite state machines
Testing techniques
© Aditya P. Mathur 2005
2
1
Errors, faults, failures
3
Errors
Errors are a part of our daily life. Humans make errors in their thoughts, actions, and in the products that might result from their actions. Errors occur wherever humans are involved in taking actions and making decisions.
These fundamental facts of human existence make testing an essential activity.
© Aditya P. Mathur 2005
4
2
Errors: Examples
© Aditya P. Mathur 2005
5
Error, faults, failures
© Aditya P. Mathur 2005
6
3
Software Quality
7
Software quality
Static quality attributes: structured, maintainable, testable code as well as the availability of correct and complete documentation. Dynamic quality attributes: software reliability, correctness, completeness, consistency, usability, and performance
© Aditya P. Mathur 2005
8
4
Software quality (contd.)
Completeness refers to the availability of all features listed in the requirements, or in the user manual. An incomplete software is one that does not fully implement all features required. Consistency refers to adherence to a common set of conventions and assumptions. For example, all buttons in the user interface might follow a common color coding convention. An example of inconsistency would be when a database application displays the date of birth of a person in the database in different formats.
© Aditya P. Mathur 2005
9
Software quality (contd.)
Usability refers to the ease with which an application... [continues]
Chapter 1: Preliminaries
Aditya P. Mathur
Purdue University
These slides are copyrighted. They are for use with the Foundations of Software Testing book by Aditya Mathur. Please use the slides but do not remove the copyright notice.
Last update: September 3, 2007
Learning Objectives
Errors, Testing, debugging, test process, CFG, correctness, reliability, oracles. Finite state machines
Testing techniques
© Aditya P. Mathur 2005
2
1
Errors, faults, failures
3
Errors
Errors are a part of our daily life. Humans make errors in their thoughts, actions, and in the products that might result from their actions. Errors occur wherever humans are involved in taking actions and making decisions.
These fundamental facts of human existence make testing an essential activity.
© Aditya P. Mathur 2005
4
2
Errors: Examples
© Aditya P. Mathur 2005
5
Error, faults, failures
© Aditya P. Mathur 2005
6
3
Software Quality
7
Software quality
Static quality attributes: structured, maintainable, testable code as well as the availability of correct and complete documentation. Dynamic quality attributes: software reliability, correctness, completeness, consistency, usability, and performance
© Aditya P. Mathur 2005
8
4
Software quality (contd.)
Completeness refers to the availability of all features listed in the requirements, or in the user manual. An incomplete software is one that does not fully implement all features required. Consistency refers to adherence to a common set of conventions and assumptions. For example, all buttons in the user interface might follow a common color coding convention. An example of inconsistency would be when a database application displays the date of birth of a person in the database in different formats.
© Aditya P. Mathur 2005
9
Software quality (contd.)
Usability refers to the ease with which an application... [continues]
Cite This Essay
- APA
-
(2011, 04). Software Testing. StudyMode.com. Retrieved 04, 2011, from http://www.studymode.com/essays/Software-Testing-652717.html
- MLA
-
"Software Testing" StudyMode.com. 04 2011. 04 2011 <http://www.studymode.com/essays/Software-Testing-652717.html>.
- CHICAGO
-
"Software Testing." StudyMode.com. 04, 2011. Accessed 04, 2011. http://www.studymode.com/essays/Software-Testing-652717.html.