Foundations of Software Testing 2E ADITYA P. MATHUR d t L . t v P ) a di Part I Chapter 1 Chapter 2 n I ( y e sl r e Part II Chapter 3 Chapter 4 Chapter 5 Chapter 6 d n Ki g n rli Part III Chapter 7 Chapter 8 o D 3 1 0 2 Part IV Chapter 9 Chapter 10 Chapter 11 © t h g ri y p o C Updated: July 21, 2013 Contents Foundations of Software Testing 2E Author: Aditya P. Mathur 1 Chapter 1: Preliminaries: Software Testing d t L . t v P ) a di n I ( y e sl r e d n Ki g n rli o D 3 1 0 2 © t h g ri y p o C Updated: July 17, 2013 Contents Foundations of Software Testing 2E Author: Aditya P. Mathur 2 Learning Objectives Errors, Testing, debugging, test process, CFG, correctness, reliability, n d t L oracles. t. v P ) a di n I ( y e n Finite state machines sl r e d n Ki g n rli o D Testing techniques 3 n 1 0 2 © t h g ri y p o C Contents Foundations of Software Testing 2E Author: Aditya P. Mathur 3 d t L . t v P ) a di n I 1.1 Humans, errors and testing ( y e sl r e d n Ki g n rli o D 3 1 0 2 © t h g ri y p o C Contents Foundations of Software Testing 2E Author: Aditya P. Mathur 4 Errors Errors are a part of our daily life. d t L . Humans make errors in their thoughts, actions, and in the products that t v P ) might result from their a di n I ( y actions. e sl r e d n Ki g n Errors occur wherever humans are involved in taking actions and making orli D 3 decisions. 1 0 2 © t h g ri y p o C These fundamental facts of human existence make testing an essential activity. Contents Foundations of Software Testing 2E Author: Aditya P. Mathur 5 Errors: Examples d t L . t v P ) a di n I ( y e sl r e d n Ki g n rli o D 3 1 0 2 © t h g ri y p o C Contents Foundations of Software Testing 2E Author: Aditya P. Mathur 6 Error, faults, failures d t L . t v P ) a di n I ( y e sl r e d n Ki g n rli o D 3 1 0 2 © t h g ri y p o C Contents Foundations of Software Testing 2E Author: Aditya P. Mathur 7 d t L . t v P ) a di n I 1.2 Software Quality ( y e sl r e d n Ki g n rli o D 3 1 0 2 © t h g ri y p o C Contents Foundations of Software Testing 2E Author: Aditya P. Mathur 8 Software quality d t Static quality attributes: structured, maintainable, testable code as well as L . t v P ) the availability of correct and complete documentation. a di n I ( y e sl r e d n Ki g Dynamic quality attributes: software reliability, correctness, n rli o D 3 completeness, consistency, usability, and performance 1 0 2 © t h g ri y p o C Contents Foundations of Software Testing 2E Author: Aditya P. Mathur 9 Software quality (contd.) Completeness refers to the availability of all features listed in the requirements, d or in the user manual. An incomplete software is one that does not fully Lt . t v P implement all features required. a) di n I ( y e sl r e d n Consistency refers to adherence to a common set of conventions and Ki g n rli o assumptions. For example, all buttons in the user interface might follow a D 3 1 0 2 common color coding convention. An example of inconsistency would be when © t h g a database application displays the date of birth of a person in the database. ri y p o C Contents Foundations of Software Testing 2E Author: Aditya P. Mathur 10
Description: